@Override public Stream<OWLDataPropertyDomainAxiom> dataPropertyDomainAxioms(OWLDataProperty property) { return withReadLock(() -> delegate.dataPropertyDomainAxioms(property)); }
/** * Gets the asserted domains of this property. * * @param e entity * @param ontology The ontology that should be examined for axioms which assert a domain of this * property * @return A set of {@code OWLClassExpression}s corresponding to the domains of this property * (the domain of the property is essentially the intersection of these class * expressions). */ public static Stream<OWLClassExpression> getDomains(OWLDataProperty e, OWLOntology ontology) { return Searcher.domain(ontology.dataPropertyDomainAxioms(e)); }
/** * Gets the asserted domains of this property. * * @param e entity * @param ontology The ontology that should be examined for axioms which assert a domain of this * property * @return A set of {@code OWLClassExpression}s corresponding to the domains of this property * (the domain of the property is essentially the intersection of these class * expressions). */ public static Stream<OWLClassExpression> getDomains(OWLDataProperty e, OWLOntology ontology) { return Searcher.domain(ontology.dataPropertyDomainAxioms(e)); }
/** * Gets the asserted domains of this property. * * @param e entity * @param ontology The ontology that should be examined for axioms which assert a domain of this * property * @return A set of {@code OWLClassExpression}s corresponding to the domains of this property * (the domain of the property is essentially the intersection of these class * expressions). */ public static Stream<OWLClassExpression> getDomains(OWLDataProperty e, OWLOntology ontology) { return Searcher.domain(ontology.dataPropertyDomainAxioms(e)); }
@Override public Stream<OWLDataPropertyDomainAxiom> dataPropertyDomainAxioms(OWLDataProperty property) { return withReadLock(() -> delegate.dataPropertyDomainAxioms(property)); }
@Override public Stream<OWLDataPropertyDomainAxiom> dataPropertyDomainAxioms(OWLDataProperty property) { return withReadLock(() -> delegate.dataPropertyDomainAxioms(property)); }
@Override public Stream<OWLDataPropertyDomainAxiom> dataPropertyDomainAxioms(OWLDataProperty property) { return withReadLock(() -> delegate.dataPropertyDomainAxioms(property)); }
@Override public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct) { ensurePrepared(); DefaultNodeSet<OWLClass> result = new OWLClassNodeSet(); getRootOntology().importsClosure().flatMap(o -> o.dataPropertyDomainAxioms(pe)) .forEach(ax -> addClasses(direct, result, ax.getDomain())); return result; }
@Override public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct) { ensurePrepared(); DefaultNodeSet<OWLClass> result = new OWLClassNodeSet(); getRootOntology().importsClosure().flatMap(o -> o.dataPropertyDomainAxioms(pe)) .forEach(ax -> addClasses(direct, result, ax.getDomain())); return result; }
@Override public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct) { ensurePrepared(); DefaultNodeSet<OWLClass> result = new OWLClassNodeSet(); getRootOntology().importsClosure().flatMap(o -> o.dataPropertyDomainAxioms(pe)) .forEach(ax -> addClasses(direct, result, ax.getDomain())); return result; }
@Override public NodeSet<OWLClass> getDataPropertyDomains(OWLDataProperty pe, boolean direct) { ensurePrepared(); DefaultNodeSet<OWLClass> result = new OWLClassNodeSet(); getRootOntology().importsClosure().flatMap(o -> o.dataPropertyDomainAxioms(pe)) .forEach(ax -> addClasses(direct, result, ax.getDomain())); return result; }
filtersort(o.dataPropertyDomainAxioms(property)).forEach(ax -> { domains.put(ax.getDomain(), ax); axioms.add(ax);
filtersort(o.dataPropertyDomainAxioms(property)).forEach(ax -> { domains.put(ax.getDomain(), ax); axioms.add(ax);
filtersort(o.dataPropertyDomainAxioms(property)).forEach(ax -> { domains.put(ax.getDomain(), ax); axioms.add(ax);
filtersort(o.dataPropertyDomainAxioms(property)).forEach(ax -> { domains.put(ax.getDomain(), ax); axioms.add(ax);