use of uk.ac.manchester.cs.owl.owlapi.OWLSubClassOfAxiomImpl in project graal by graphik-team.
the class OWLAxiomParser method visit.
@Override
public Iterable<? extends Object> visit(OWLObjectPropertyRangeAxiom arg) {
OWLClassExpression subClass = new OWLObjectSomeValuesFromImpl(arg.getProperty().getInverseProperty(), DF.getOWLThing());
OWLClassExpression superClass = arg.getRange();
return new OWLSubClassOfAxiomImpl(subClass, superClass, emptyAnno).accept(this);
}
use of uk.ac.manchester.cs.owl.owlapi.OWLSubClassOfAxiomImpl in project graal by graphik-team.
the class OWLAxiomParser method visit.
@Override
public Iterable<? extends Object> visit(OWLDataPropertyDomainAxiom arg) {
OWLClassExpression subClass = new OWLDataSomeValuesFromImpl(arg.getProperty(), DF.getTopDatatype());
OWLClassExpression superClass = arg.getDomain();
return new OWLSubClassOfAxiomImpl(subClass, superClass, emptyAnno).accept(this);
}
Aggregations