public NodeSet<OWLClass> getObjectPropertyRanges(OWLObjectPropertyExpression arg0, boolean arg1) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { return reasoner.getObjectPropertyRanges(arg0, arg1); }
@Override public NodeSet<OWLClass> getObjectPropertyRanges( OWLObjectPropertyExpression pe, boolean direct) { return delegate_.getObjectPropertyRanges(pe, direct); }
@Override public NodeSet<OWLClass> getObjectPropertyRanges( OWLObjectPropertyExpression pe, boolean direct) { return delegate_.getObjectPropertyRanges(pe, direct); }
@Override public NodeSet<OWLClass> getObjectPropertyRanges( OWLObjectPropertyExpression pe, boolean direct) { return delegate_.getObjectPropertyRanges(pe, direct); }
@Override public synchronized NodeSet<OWLClass> getObjectPropertyRanges(OWLObjectPropertyExpression pe, boolean direct) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { return r.getObjectPropertyRanges(pe, direct); }
/** * @param pe The property expression whose ranges are to be retrieved. * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * Return the result of {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @throws InconsistentOntologyException if the imports closure of the root ontology is * inconsistent * @throws FreshEntitiesException if the signature of the object property expression is not * contained within the signature of the imports closure of the root ontology and the * undeclared entity policy of this reasoner is set to * {@link FreshEntityPolicy#DISALLOW}. * @throws ReasonerInterruptedException if the reasoning process was interrupted for any * particular reason (for example if reasoning was cancelled by a client process) * @throws TimeOutException if the reasoner timed out during a basic reasoning operation. See * {@link #getTimeOut()}. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default NodeSet<OWLClass> getObjectPropertyRanges(OWLObjectPropertyExpression pe) { return getObjectPropertyRanges(pe, false); }
/** * @param pe The property expression whose ranges are to be retrieved. * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * Return the result of {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @throws InconsistentOntologyException if the imports closure of the root ontology is * inconsistent * @throws FreshEntitiesException if the signature of the object property expression is not * contained within the signature of the imports closure of the root ontology and the * undeclared entity policy of this reasoner is set to * {@link FreshEntityPolicy#DISALLOW}. * @throws ReasonerInterruptedException if the reasoning process was interrupted for any * particular reason (for example if reasoning was cancelled by a client process) * @throws TimeOutException if the reasoner timed out during a basic reasoning operation. See * {@link #getTimeOut()}. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default NodeSet<OWLClass> getObjectPropertyRanges(OWLObjectPropertyExpression pe) { return getObjectPropertyRanges(pe, false); }
/** * @param pe The property expression whose ranges are to be retrieved. * @param depth Specifies if the direct ranges should be retrieved ( {@code DIRECT} ), or if all * ranges should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * If {@code depth} is {@code DIRECT}: then if {@code N} is not empty then the return * value is {@code N}, else the return value is the result of {@code * getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) owl:Thing), true)} . <br> * If {@code * depth} is {@code ALL}: then the result of * {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default Stream<OWLClass> objectPropertyRanges(OWLObjectPropertyExpression pe, InferenceDepth depth) { return getObjectPropertyRanges(pe, depth).entities(); }
/** * @param pe The property expression whose ranges are to be retrieved. * @param depth Specifies if the direct ranges should be retrieved ( {@code DIRECT} ), or if all * ranges should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * If {@code depth} is {@code DIRECT}: then if {@code N} is not empty then the return * value is {@code N}, else the return value is the result of {@code * getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) owl:Thing), true)} . <br> * If {@code * depth} is {@code ALL}: then the result of * {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default NodeSet<OWLClass> getObjectPropertyRanges(OWLObjectPropertyExpression pe, InferenceDepth depth) { return getObjectPropertyRanges(pe, depth.isDirectOnly()); }
/** * @param pe The property expression whose ranges are to be retrieved. * @param depth Specifies if the direct ranges should be retrieved ( {@code DIRECT} ), or if all * ranges should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * If {@code depth} is {@code DIRECT}: then if {@code N} is not empty then the return * value is {@code N}, else the return value is the result of {@code * getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) owl:Thing), true)} . <br> * If {@code * depth} is {@code ALL}: then the result of * {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default Stream<OWLClass> objectPropertyRanges(OWLObjectPropertyExpression pe, InferenceDepth depth) { return getObjectPropertyRanges(pe, depth).entities(); }
/** * @param pe The property expression whose ranges are to be retrieved. * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * Return the result of {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @throws InconsistentOntologyException if the imports closure of the root ontology is * inconsistent * @throws FreshEntitiesException if the signature of the object property expression is not * contained within the signature of the imports closure of the root ontology and the * undeclared entity policy of this reasoner is set to * {@link FreshEntityPolicy#DISALLOW}. * @throws ReasonerInterruptedException if the reasoning process was interrupted for any * particular reason (for example if reasoning was cancelled by a client process) * @throws TimeOutException if the reasoner timed out during a basic reasoning operation. See * {@link #getTimeOut()}. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default Stream<OWLClass> objectPropertyRanges(OWLObjectPropertyExpression pe) { return getObjectPropertyRanges(pe, false).entities(); }
/** * @param pe The property expression whose ranges are to be retrieved. * @param depth Specifies if the direct ranges should be retrieved ( {@code DIRECT} ), or if all * ranges should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * If {@code depth} is {@code DIRECT}: then if {@code N} is not empty then the return * value is {@code N}, else the return value is the result of {@code * getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) owl:Thing), true)} . <br> * If {@code * depth} is {@code ALL}: then the result of * {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default NodeSet<OWLClass> getObjectPropertyRanges(OWLObjectPropertyExpression pe, InferenceDepth depth) { return getObjectPropertyRanges(pe, depth.isDirectOnly()); }
/** * @param pe The property expression whose ranges are to be retrieved. * @param depth Specifies if the direct ranges should be retrieved ( {@code DIRECT} ), or if all * ranges should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * If {@code depth} is {@code DIRECT}: then if {@code N} is not empty then the return * value is {@code N}, else the return value is the result of {@code * getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) owl:Thing), true)} . <br> * If {@code * depth} is {@code ALL}: then the result of * {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default Stream<OWLClass> objectPropertyRanges(OWLObjectPropertyExpression pe, InferenceDepth depth) { return getObjectPropertyRanges(pe, depth).entities(); }
/** * @param pe The property expression whose ranges are to be retrieved. * @param depth Specifies if the direct ranges should be retrieved ( {@code DIRECT} ), or if all * ranges should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * If {@code depth} is {@code DIRECT}: then if {@code N} is not empty then the return * value is {@code N}, else the return value is the result of {@code * getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) owl:Thing), true)} . <br> * If {@code * depth} is {@code ALL}: then the result of * {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default NodeSet<OWLClass> getObjectPropertyRanges(OWLObjectPropertyExpression pe, InferenceDepth depth) { return getObjectPropertyRanges(pe, depth.isDirectOnly()); }
/** * @param pe The property expression whose ranges are to be retrieved. * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * Return the result of {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @throws InconsistentOntologyException if the imports closure of the root ontology is * inconsistent * @throws FreshEntitiesException if the signature of the object property expression is not * contained within the signature of the imports closure of the root ontology and the * undeclared entity policy of this reasoner is set to * {@link FreshEntityPolicy#DISALLOW}. * @throws ReasonerInterruptedException if the reasoning process was interrupted for any * particular reason (for example if reasoning was cancelled by a client process) * @throws TimeOutException if the reasoner timed out during a basic reasoning operation. See * {@link #getTimeOut()}. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default Stream<OWLClass> objectPropertyRanges(OWLObjectPropertyExpression pe) { return getObjectPropertyRanges(pe, false).entities(); }
/** * @param pe The property expression whose ranges are to be retrieved. * @return Let {@code N = getEquivalentClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing))} . <br> * Return the result of {@code getSuperClasses(ObjectSomeValuesFrom(ObjectInverseOf(pe) * owl:Thing), false)} together with {@code N} if {@code N} is non-empty. * @throws InconsistentOntologyException if the imports closure of the root ontology is * inconsistent * @throws FreshEntitiesException if the signature of the object property expression is not * contained within the signature of the imports closure of the root ontology and the * undeclared entity policy of this reasoner is set to * {@link FreshEntityPolicy#DISALLOW}. * @throws ReasonerInterruptedException if the reasoning process was interrupted for any * particular reason (for example if reasoning was cancelled by a client process) * @throws TimeOutException if the reasoner timed out during a basic reasoning operation. See * {@link #getTimeOut()}. * @see OWLReasoner#getObjectPropertyRanges(OWLObjectPropertyExpression, boolean) Gets the named * classes that are the direct or indirect ranges of this property with respect to the * imports closure of the root ontology. The classes are returned as a * {@link org.semanticweb.owlapi.reasoner.NodeSet} . */ default Stream<OWLClass> objectPropertyRanges(OWLObjectPropertyExpression pe) { return getObjectPropertyRanges(pe, false).entities(); }
private Set<OWLClassExpression> getInferredRanges() { return new HashSet<>(getOWLModelManager().getReasoner().getObjectPropertyRanges(getRootObject(), true).getFlattened()); }
private Set<OWLClassExpression> getInferredRanges() { return new HashSet<>(getOWLModelManager().getReasoner().getObjectPropertyRanges(getRootObject(), true).getFlattened()); }
private Set<OWLClassExpression> getInferredRanges() { return new HashSet<OWLClassExpression>(getOWLModelManager().getReasoner().getObjectPropertyRanges(getRootObject(), true).getFlattened()); }
private Set<OWLClassExpression> getInferredRanges() { return new HashSet<OWLClassExpression>(getOWLModelManager().getReasoner().getObjectPropertyRanges(getRootObject(), true).getFlattened()); }