public Node<OWLObjectProperty> getTopObjectPropertyNode() { return objectPropertyHierarchyInfo.getEquivalents(getDataFactory().getOWLTopObjectProperty()); }
public NodeSet<OWLObjectPropertyExpression> getSubObjectProperties(OWLObjectPropertyExpression pe, boolean direct) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { OWLObjectPropertyNodeSet ns = new OWLObjectPropertyNodeSet(); ensurePrepared(); return objectPropertyHierarchyInfo.getNodeHierarchyChildren(pe, direct, ns); }
public NodeSet<OWLObjectPropertyExpression> getSuperObjectProperties(OWLObjectPropertyExpression pe, boolean direct) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { OWLObjectPropertyNodeSet ns = new OWLObjectPropertyNodeSet(); ensurePrepared(); return objectPropertyHierarchyInfo.getNodeHierarchyParents(pe, direct, ns); }
/** * Processes the specified signature that represents the signature of potential changes * @param signature The signature */ @Override public void processChanges(Set<OWLObjectPropertyExpression> signature, Set<OWLAxiom> added, Set<OWLAxiom> removed) { boolean rebuild = false; for (OWLAxiom ax : added) { if(ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } if(!rebuild) { for(OWLAxiom ax : removed) { if(ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } } if(rebuild) { ((RawObjectPropertyHierarchyProvider) getRawParentChildProvider()).rebuild(); } super.processChanges(signature, added, removed); } }
@Override public void processChanges(Set<OWLObjectPropertyExpression> signature, Set<OWLAxiom> added, Set<OWLAxiom> removed) { boolean rebuild = false; for (OWLAxiom ax : added) { if (ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } if (!rebuild) { for (OWLAxiom ax : removed) { if (ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } } if (rebuild) { ((RawObjectPropertyHierarchyProvider) getRawParentChildProvider()).rebuild(); } super.processChanges(signature, added, removed); } }
@Override public void processChanges(Set<OWLObjectPropertyExpression> signature, Set<OWLAxiom> added, Set<OWLAxiom> removed) { boolean rebuild = false; for (OWLAxiom ax : added) { if (ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } if (!rebuild) { for (OWLAxiom ax : removed) { if (ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } } if (rebuild) { ((RawObjectPropertyHierarchyProvider) getRawParentChildProvider()).rebuild(); } super.processChanges(signature, added, removed); } }
@Override public void processChanges(Set<OWLObjectPropertyExpression> signature, Set<OWLAxiom> added, Set<OWLAxiom> removed) { boolean rebuild = false; for (OWLAxiom ax : added) { if (ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } if (!rebuild) { for (OWLAxiom ax : removed) { if (ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } } if (rebuild) { ((RawObjectPropertyHierarchyProvider) getRawParentChildProvider()).rebuild(); } super.processChanges(signature, added, removed); } }
@Override public void processChanges(Set<OWLObjectPropertyExpression> signature, Set<OWLAxiom> added, Set<OWLAxiom> removed) { boolean rebuild = false; for (OWLAxiom ax : added) { if (ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } if (!rebuild) { for (OWLAxiom ax : removed) { if (ax instanceof OWLObjectPropertyAxiom) { rebuild = true; break; } } } if (rebuild) { ((RawObjectPropertyHierarchyProvider) getRawParentChildProvider()).rebuild(); } super.processChanges(signature, added, removed); } }
public Node<OWLObjectProperty> getBottomObjectPropertyNode() { return objectPropertyHierarchyInfo.getEquivalents(getDataFactory().getOWLBottomObjectProperty()); }
public Node<OWLObjectPropertyExpression> getTopObjectPropertyNode() { ensurePrepared(); return objectPropertyHierarchyInfo.getEquivalents(getDataFactory().getOWLTopObjectProperty()); }
public Node<OWLObjectPropertyExpression> getBottomObjectPropertyNode() { ensurePrepared(); return objectPropertyHierarchyInfo.getEquivalents(getDataFactory().getOWLBottomObjectProperty()); }
public Node<OWLObjectPropertyExpression> getEquivalentObjectProperties(OWLObjectPropertyExpression pe) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { // OWLObjectPropertyNode nd = new OWLObjectPropertyNode(); ensurePrepared(); return objectPropertyHierarchyInfo.getEquivalents(pe); }
/** * @throws ReasonerInterruptedException on interruption * @throws TimeOutException on timeout */ public void prepareReasoner() throws ReasonerInterruptedException, TimeOutException { classHierarchyInfo.computeHierarchy(); objectPropertyHierarchyInfo.computeHierarchy(); dataPropertyHierarchyInfo.computeHierarchy(); prepared = true; } @SuppressWarnings("unused")
/** * @throws ReasonerInterruptedException on interruption * @throws TimeOutException on timeout */ public final void prepareReasoner() { classHierarchyInfo.computeHierarchy(); objectPropertyHierarchyInfo.computeHierarchy(); dataPropertyHierarchyInfo.computeHierarchy(); prepared = true; }
@Override public NodeSet<OWLObjectPropertyExpression> getSuperObjectProperties( OWLObjectPropertyExpression pe, boolean direct) { OWLObjectPropertyNodeSet ns = new OWLObjectPropertyNodeSet(); ensurePrepared(); return objectPropertyHierarchyInfo.getNodeHierarchyParents(pe, direct, ns); }
@Override public NodeSet<OWLObjectPropertyExpression> getSuperObjectProperties( OWLObjectPropertyExpression pe, boolean direct) { OWLObjectPropertyNodeSet ns = new OWLObjectPropertyNodeSet(); ensurePrepared(); return objectPropertyHierarchyInfo.getNodeHierarchyParents(pe, direct, ns); }
@Override public Node<OWLObjectPropertyExpression> getBottomObjectPropertyNode() { ensurePrepared(); return objectPropertyHierarchyInfo .getEquivalents(getDataFactory().getOWLBottomObjectProperty()); }
@Override public Node<OWLObjectPropertyExpression> getBottomObjectPropertyNode() { ensurePrepared(); return objectPropertyHierarchyInfo .getEquivalents(getDataFactory().getOWLBottomObjectProperty()); }
@Override public NodeSet<OWLObjectPropertyExpression> getSubObjectProperties( OWLObjectPropertyExpression pe, boolean direct) { OWLObjectPropertyNodeSet ns = new OWLObjectPropertyNodeSet(); ensurePrepared(); return objectPropertyHierarchyInfo.getNodeHierarchyChildren(pe, direct, ns); }
@Override public Node<OWLObjectPropertyExpression> getTopObjectPropertyNode() { ensurePrepared(); return objectPropertyHierarchyInfo .getEquivalents(getDataFactory().getOWLTopObjectProperty()); }