@Override public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct) { return delegate_.getDataPropertyDomains(pe, direct); }
@Override public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct) { return delegate_.getDataPropertyDomains(pe, direct); }
public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty arg0, boolean arg1) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { return reasoner.getDataPropertyDomains(arg0, arg1); }
@Override public synchronized NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct) throws InconsistentOntologyException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { return r.getDataPropertyDomains(pe, direct); }
@Override public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct) { return delegate_.getDataPropertyDomains(pe, direct); }
/** * @param pe The property expression whose domains are to be retrieved. * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <br> * Return the result of * {@code getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with * {@code N} if {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> getDataPropertyDomains(OWLDataProperty pe) { return getDataPropertyDomains(pe, false); }
/** * @param pe The property expression whose domains are to be retrieved. * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <br> * Return the result of * {@code getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with * {@code N} if {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> getDataPropertyDomains(OWLDataProperty pe) { return getDataPropertyDomains(pe, false); }
/** * @param pe The property expression whose domains are to be retrieved. * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <br> * Return the result of * {@code getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with * {@code N} if {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> getDataPropertyDomains(OWLDataProperty pe) { return getDataPropertyDomains(pe, false); }
/** * @param pe The property expression whose domains are to be retrieved. * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <br> * Return the result of * {@code getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with * {@code N} if {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> dataPropertyDomains(OWLDataProperty pe) { return getDataPropertyDomains(pe, false).entities(); }
/** * @param pe The property expression whose domains are to be retrieved. * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <br> * Return the result of * {@code getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with * {@code N} if {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> dataPropertyDomains(OWLDataProperty pe) { return getDataPropertyDomains(pe, false).entities(); }
/** * @param pe The property expression whose domains are to be retrieved. * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <br> * Return the result of * {@code getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with * {@code N} if {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> dataPropertyDomains(OWLDataProperty pe) { return getDataPropertyDomains(pe, false).entities(); }
/** * @param pe The property expression whose domains are to be retrieved. * @param depth Specifies if the direct domains should be retrieved ( {@code DIRECT} ), or if * all domains should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <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(DataSomeValuesFrom(pe * rdfs:Literal), true)} . <br> * If {@code direct} is {@code ALL}: then the result of {@code * getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with {@code N} if * {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> getDataPropertyDomains(OWLDataProperty pe, InferenceDepth depth) { return getDataPropertyDomains(pe, depth.isDirectOnly()); }
/** * @param pe The property expression whose domains are to be retrieved. * @param depth Specifies if the direct domains should be retrieved ( {@code DIRECT} ), or if * all domains should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <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(DataSomeValuesFrom(pe * rdfs:Literal), true)} . <br> * If {@code direct} is {@code ALL}: then the result of {@code * getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with {@code N} if * {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> getDataPropertyDomains(OWLDataProperty pe, InferenceDepth depth) { return getDataPropertyDomains(pe, depth.isDirectOnly()); }
/** * @param pe The property expression whose domains are to be retrieved. * @param depth Specifies if the direct domains should be retrieved ( {@code DIRECT} ), or if * all domains should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <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(DataSomeValuesFrom(pe * rdfs:Literal), true)} . <br> * If {@code direct} is {@code ALL}: then the result of {@code * getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with {@code N} if * {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> dataPropertyDomains(OWLDataProperty pe, InferenceDepth depth) { return getDataPropertyDomains(pe, depth.isDirectOnly()).entities(); }
/** * @param pe The property expression whose domains are to be retrieved. * @param depth Specifies if the direct domains should be retrieved ( {@code DIRECT} ), or if * all domains should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <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(DataSomeValuesFrom(pe * rdfs:Literal), true)} . <br> * If {@code direct} is {@code ALL}: then the result of {@code * getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with {@code N} if * {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> dataPropertyDomains(OWLDataProperty pe, InferenceDepth depth) { return getDataPropertyDomains(pe, depth.isDirectOnly()).entities(); }
/** * @param pe The property expression whose domains are to be retrieved. * @param depth Specifies if the direct domains should be retrieved ( {@code DIRECT} ), or if * all domains should be retrieved ( {@code ALL}). * @return Let {@code N = getEquivalentClasses(DataSomeValuesFrom(pe rdfs:Literal))} . <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(DataSomeValuesFrom(pe * rdfs:Literal), true)} . <br> * If {@code direct} is {@code ALL}: then the result of {@code * getSuperClasses(DataSomeValuesFrom(pe rdfs:Literal), false)} together with {@code N} if * {@code N} is non-empty. <br> * (Note, {@code rdfs:Literal} is the top datatype). * @see OWLReasoner#getDataPropertyDomains(OWLDataProperty, boolean) Gets the named classes that * are the direct or indirect domains 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> dataPropertyDomains(OWLDataProperty pe, InferenceDepth depth) { return getDataPropertyDomains(pe, depth.isDirectOnly()).entities(); }
protected NodeSet<OWLClass> getInferredDomains() { OWLReasoner reasoner = getOWLModelManager().getReasoner(); OWLDataProperty p = getRootObject(); OWLDataFactory factory = getOWLModelManager().getOWLOntologyManager().getOWLDataFactory(); if (p.equals(factory.getOWLTopDataProperty())) { return new OWLClassNodeSet(reasoner.getTopClassNode()); } OWLClassExpression domain = factory.getOWLDataSomeValuesFrom(p, factory.getTopDatatype()); Node<OWLClass> domainNode = reasoner.getEquivalentClasses(domain); if (domainNode != null && !domainNode.getEntities().isEmpty()) { return new OWLClassNodeSet(domainNode); } else { return reasoner.getDataPropertyDomains(getRootObject(), true); } }
protected NodeSet<OWLClass> getInferredDomains() { OWLReasoner reasoner = getOWLModelManager().getReasoner(); OWLDataProperty p = getRootObject(); OWLDataFactory factory = getOWLModelManager().getOWLOntologyManager().getOWLDataFactory(); if (p.equals(factory.getOWLTopDataProperty())) { return new OWLClassNodeSet(reasoner.getTopClassNode()); } OWLClassExpression domain = factory.getOWLDataSomeValuesFrom(p, factory.getTopDatatype()); Node<OWLClass> domainNode = reasoner.getEquivalentClasses(domain); if (domainNode != null && !domainNode.getEntities().isEmpty()) { return new OWLClassNodeSet(domainNode); } else { return reasoner.getDataPropertyDomains(getRootObject(), true); } }
protected NodeSet<OWLClass> getInferredDomains() { OWLReasoner reasoner = getOWLModelManager().getReasoner(); OWLDataProperty p = getRootObject(); OWLDataFactory factory = getOWLModelManager().getOWLOntologyManager().getOWLDataFactory(); if (p.equals(factory.getOWLTopDataProperty())) { return new OWLClassNodeSet(reasoner.getTopClassNode()); } OWLClassExpression domain = factory.getOWLDataSomeValuesFrom(p, factory.getTopDatatype()); Node<OWLClass> domainNode = reasoner.getEquivalentClasses(domain); if (domainNode != null && !domainNode.getEntities().isEmpty()) { return new OWLClassNodeSet(domainNode); } else { return reasoner.getDataPropertyDomains(getRootObject(), true); } }
protected NodeSet<OWLClass> getInferredDomains() { OWLReasoner reasoner = getOWLModelManager().getReasoner(); OWLDataProperty p = getRootObject(); OWLDataFactory factory = getOWLModelManager().getOWLOntologyManager().getOWLDataFactory(); if (p.equals(factory.getOWLTopDataProperty())) { return new OWLClassNodeSet(reasoner.getTopClassNode()); } OWLClassExpression domain = factory.getOWLDataSomeValuesFrom(p, factory.getTopDatatype()); Node<OWLClass> domainNode = reasoner.getEquivalentClasses(domain); if (domainNode != null && !domainNode.getEntities().isEmpty()) { return new OWLClassNodeSet(domainNode); } else { return reasoner.getDataPropertyDomains(getRootObject(), true); } }