public final class Searcher extends Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.stream.Stream<OWLAnnotation> |
annotationObject(OWLAnnotationAssertionAxiom axiom,
OWLAnnotationProperty p)
Retrieve the annotation from an annotation assertion axiom.
|
static java.util.stream.Stream<OWLAnnotation> |
annotationObjects(java.util.stream.Stream<OWLAnnotationAssertionAxiom> axioms)
Retrieve annotations from a collection of annotation assertion axioms.
|
static java.util.stream.Stream<OWLAnnotation> |
annotationObjects(java.util.stream.Stream<OWLAnnotationAssertionAxiom> axioms,
OWLAnnotationProperty p)
Retrieve annotations from a collection of annotation assertion axioms.
|
static java.util.stream.Stream<OWLAnnotation> |
annotations(OWLAxiom axiom,
OWLAnnotationProperty p)
Retrieve annotations from an axiom.
|
static java.util.stream.Stream<OWLAnnotation> |
annotations(java.util.stream.Stream<? extends OWLAxiom> axioms)
Retrieve annotations from a collection of axioms.
|
static java.util.stream.Stream<OWLAnnotation> |
annotations(java.util.stream.Stream<? extends OWLAxiom> axioms,
OWLAnnotationProperty p)
Retrieve annotations from a collection of axioms.
|
static <C extends OWLObject> |
different(OWLAxiom axiom)
Retrieve disjoint entities from an axiom, including individuals from
differentFrom axioms.
|
static <C extends OWLObject> |
different(OWLAxiom axiom,
Class<C> type)
Retrieve disjoint entities from an axiom, including individuals from
differentFrom axioms.
|
static <C extends OWLObject> |
different(java.util.stream.Stream<? extends OWLAxiom> axioms)
Retrieve disjoint entities from axioms, including individuals from
differentFrom axioms.
|
static <C extends OWLObject> |
different(java.util.stream.Stream<? extends OWLAxiom> axioms,
Class<C> type)
Retrieve disjoint entities from axioms, including individuals from
differentFrom axioms.
|
static <C extends OWLObject> |
domain(OWLAxiom axiom)
Retrieve the domains from domain axioms.
|
static <C extends OWLObject> |
domain(OWLAxiom axiom,
Class<C> type)
Retrieve the domains from domain axioms.
|
static <C extends OWLObject> |
domain(java.util.stream.Stream<? extends OWLAxiom> axioms)
Retrieve the domains from domain axioms.
|
static <C extends OWLObject> |
domain(java.util.stream.Stream<? extends OWLAxiom> axioms,
Class<C> type)
Retrieve the domains from domain axioms.
|
static <C extends OWLObject> |
equivalent(OWLAxiom axiom)
Retrieve equivalent entities from an axiom, including individuals from
sameAs axioms.
|
static <C extends OWLObject> |
equivalent(OWLAxiom axiom,
Class<C> type)
Retrieve equivalent entities from an axiom, including individuals from
sameAs axioms.
|
static <C extends OWLObject> |
equivalent(java.util.stream.Stream<? extends OWLAxiom> axioms)
Retrieve equivalent entities from axioms, including individuals from
sameAs axioms.
|
static <C extends OWLObject> |
equivalent(java.util.stream.Stream<? extends OWLAxiom> axioms,
Class<C> type)
Retrieve equivalent entities from axioms, including individuals from
sameAs axioms.
|
static java.util.stream.Stream<OWLIndividual> |
instances(java.util.stream.Stream<OWLClassAssertionAxiom> axioms)
Retrieve individuals from class assertions.
|
static java.util.stream.Stream<OWLObjectPropertyExpression> |
inverse(java.util.stream.Stream<OWLInverseObjectPropertiesAxiom> axioms,
OWLObjectPropertyExpression p)
Retrieve inverses from a collection of inverse axioms.
|
static java.util.stream.Stream<OWLLiteral> |
negValues(java.util.stream.Stream<OWLNegativeDataPropertyAssertionAxiom> axioms,
OWLDataPropertyExpression p)
Retrieve literals from a collection of negative assertions.
|
static java.util.stream.Stream<OWLIndividual> |
negValues(java.util.stream.Stream<OWLNegativeObjectPropertyAssertionAxiom> axioms,
OWLObjectPropertyExpression p)
Retrieve objects from a collection of negative assertions.
|
static java.util.stream.Stream<IRI> |
ontologiesIRIs(java.util.stream.Stream<OWLOntology> ontologies)
Transform a collection of ontologies to a collection of IRIs of those
ontologies.
|
static java.util.stream.Stream<IRI> |
ontologyIRIs(java.util.stream.Stream<OWLOntologyID> ids)
Transform a collection of ontology ids to a collection of IRIs of those
ontology ids.
|
static <C extends OWLObject> |
range(OWLAxiom axiom)
Retrieve the ranges from a range axiom.
|
static <C extends OWLObject> |
range(OWLAxiom axiom,
Class<C> type)
Retrieve the ranges from a range axiom.
|
static <C extends OWLObject> |
range(java.util.stream.Stream<? extends OWLAxiom> axioms)
Retrieve the ranges from range axioms.
|
static <C extends OWLObject> |
range(java.util.stream.Stream<? extends OWLAxiom> axioms,
Class<C> type)
Retrieve the ranges from range axioms.
|
static <C extends OWLObject> |
sub(OWLAxiom axiom)
Retrieve the sub part of an axiom, i.e., subclass or subproperty.
|
static <C extends OWLObject> |
sub(OWLAxiom axiom,
Class<C> type)
Retrieve the sub part of an axiom, i.e., subclass or subproperty.
|
static <C extends OWLObject> |
sub(java.util.stream.Stream<? extends OWLAxiom> axioms)
Retrieve the sub part of axioms, i.e., subclass or subproperty.
|
static <C extends OWLObject> |
sub(java.util.stream.Stream<? extends OWLAxiom> axioms,
Class<C> type)
Retrieve the sub part of axioms, i.e., subclass or subproperty.
|
static <C extends OWLObject> |
sup(OWLAxiom axiom)
Retrieve the super part of an axiom, i.e., superclass or superproperty.
|
static <C extends OWLObject> |
sup(OWLAxiom axiom,
Class<C> type)
Retrieve the super part of an axiom, i.e., superclass or superproperty.
|
static <C extends OWLObject> |
sup(java.util.stream.Stream<? extends OWLAxiom> axioms)
Retrieve the super part of axioms, i.e., superclass or superproperty.
|
static <C extends OWLObject> |
sup(java.util.stream.Stream<? extends OWLAxiom> axioms,
Class<C> type)
Retrieve the super part of axioms, i.e., superclass or superproperty.
|
static java.util.stream.Stream<OWLClassExpression> |
types(java.util.stream.Stream<OWLClassAssertionAxiom> axioms)
Retrieve classes from class assertions.
|
static java.util.stream.Stream<OWLAnnotationValue> |
values(java.util.stream.Stream<OWLAnnotation> annotations)
Retrieve annotation values from annotations.
|
static java.util.stream.Stream<OWLAnnotationValue> |
values(java.util.stream.Stream<OWLAnnotation> annotations,
OWLAnnotationProperty p)
Retrieve annotation values from annotations.
|
static java.util.stream.Stream<OWLLiteral> |
values(java.util.stream.Stream<OWLDataPropertyAssertionAxiom> axioms,
OWLDataPropertyExpression p)
Retrieve literals from a collection of assertions.
|
static java.util.stream.Stream<OWLIndividual> |
values(java.util.stream.Stream<OWLObjectPropertyAssertionAxiom> axioms,
OWLObjectPropertyExpression p)
Retrieve objects from a collection of assertions.
|
public static java.util.stream.Stream<OWLLiteral> values(java.util.stream.Stream<OWLDataPropertyAssertionAxiom> axioms, @Nullable OWLDataPropertyExpression p)
axioms - axiomsp - optional property to match. Null means all.public static java.util.stream.Stream<OWLIndividual> values(java.util.stream.Stream<OWLObjectPropertyAssertionAxiom> axioms, @Nullable OWLObjectPropertyExpression p)
axioms - axiomsp - optional property to match. Null means all.public static java.util.stream.Stream<OWLLiteral> negValues(java.util.stream.Stream<OWLNegativeDataPropertyAssertionAxiom> axioms, @Nullable OWLDataPropertyExpression p)
axioms - axiomsp - optional property to match. Null means all.public static java.util.stream.Stream<OWLIndividual> negValues(java.util.stream.Stream<OWLNegativeObjectPropertyAssertionAxiom> axioms, @Nullable OWLObjectPropertyExpression p)
axioms - axiomsp - optional property to match. Null means all.public static java.util.stream.Stream<OWLClassExpression> types(java.util.stream.Stream<OWLClassAssertionAxiom> axioms)
axioms - axiomspublic static java.util.stream.Stream<OWLIndividual> instances(java.util.stream.Stream<OWLClassAssertionAxiom> axioms)
axioms - axiomspublic static java.util.stream.Stream<OWLObjectPropertyExpression> inverse(java.util.stream.Stream<OWLInverseObjectPropertiesAxiom> axioms, OWLObjectPropertyExpression p)
axioms - axioms to checkp - property to match; not returned in the setpublic static java.util.stream.Stream<OWLAnnotationValue> values(java.util.stream.Stream<OWLAnnotation> annotations)
annotations - annotationspublic static java.util.stream.Stream<OWLAnnotationValue> values(java.util.stream.Stream<OWLAnnotation> annotations, @Nullable OWLAnnotationProperty p)
annotations - annotationsp - optional annotation property to filter. Null means all.public static java.util.stream.Stream<OWLAnnotation> annotations(java.util.stream.Stream<? extends OWLAxiom> axioms)
axioms - axiomspublic static java.util.stream.Stream<OWLAnnotation> annotationObjects(java.util.stream.Stream<OWLAnnotationAssertionAxiom> axioms, @Nullable OWLAnnotationProperty p)
axioms - axiomsp - optional annotation property to filter. Null means all.public static java.util.stream.Stream<OWLAnnotation> annotationObject(OWLAnnotationAssertionAxiom axiom, @Nullable OWLAnnotationProperty p)
axiom - axiomp - optional annotation property to filter. Null means all.public static java.util.stream.Stream<OWLAnnotation> annotationObjects(java.util.stream.Stream<OWLAnnotationAssertionAxiom> axioms)
axioms - axiomspublic static java.util.stream.Stream<OWLAnnotation> annotations(java.util.stream.Stream<? extends OWLAxiom> axioms, @Nullable OWLAnnotationProperty p)
axioms - axiomsp - optional annotation property to filter. Null means all.public static java.util.stream.Stream<OWLAnnotation> annotations(OWLAxiom axiom, @Nullable OWLAnnotationProperty p)
axiom - axiomp - optional annotation property to filter. Null means all.public static <C extends OWLObject> java.util.stream.Stream<C> equivalent(java.util.stream.Stream<? extends OWLAxiom> axioms)
C - returned typeaxioms - axiomspublic static <C extends OWLObject> java.util.stream.Stream<C> equivalent(java.util.stream.Stream<? extends OWLAxiom> axioms, Class<C> type)
C - returned typeaxioms - axiomstype - type contained in the returned collectionpublic static <C extends OWLObject> java.util.stream.Stream<C> equivalent(OWLAxiom axiom)
C - type contained in the returned collectionaxiom - axiompublic static <C extends OWLObject> java.util.stream.Stream<C> equivalent(OWLAxiom axiom, Class<C> type)
C - type contained in the returned collectionaxiom - axiomtype - type returnedpublic static <C extends OWLObject> java.util.stream.Stream<C> different(java.util.stream.Stream<? extends OWLAxiom> axioms)
C - returned typeaxioms - axiomspublic static <C extends OWLObject> java.util.stream.Stream<C> different(java.util.stream.Stream<? extends OWLAxiom> axioms, Class<C> type)
C - returned typeaxioms - axiomstype - type contained in the returned collectionpublic static <C extends OWLObject> java.util.stream.Stream<C> different(OWLAxiom axiom)
C - returned typeaxiom - axiompublic static <C extends OWLObject> java.util.stream.Stream<C> different(OWLAxiom axiom, Class<C> type)
C - returned typeaxiom - axiomtype - witness for returned typepublic static <C extends OWLObject> java.util.stream.Stream<C> sub(java.util.stream.Stream<? extends OWLAxiom> axioms)
C - returned typeaxioms - axiomspublic static <C extends OWLObject> java.util.stream.Stream<C> sub(java.util.stream.Stream<? extends OWLAxiom> axioms, Class<C> type)
C - returned typeaxioms - axiomstype - type contained in the returned collectionpublic static <C extends OWLObject> C sub(OWLAxiom axiom)
C - returned typeaxiom - axiompublic static <C extends OWLObject> C sub(OWLAxiom axiom, Class<C> type)
C - returned typeaxiom - axiomtype - witness for returned typepublic static <C extends OWLObject> java.util.stream.Stream<C> sup(java.util.stream.Stream<? extends OWLAxiom> axioms, Class<C> type)
C - returned typeaxioms - axiomstype - type contained in the returned collectionpublic static <C extends OWLObject> java.util.stream.Stream<C> sup(java.util.stream.Stream<? extends OWLAxiom> axioms)
C - returned typeaxioms - axiomspublic static <C extends OWLObject> C sup(OWLAxiom axiom)
C - returned typeaxiom - axiompublic static <C extends OWLObject> C sup(OWLAxiom axiom, Class<C> type)
C - returned typeaxiom - axiomtype - witness for returned typepublic static <C extends OWLObject> java.util.stream.Stream<C> domain(java.util.stream.Stream<? extends OWLAxiom> axioms)
C - returned typeaxioms - axiomspublic static <C extends OWLObject> java.util.stream.Stream<C> domain(java.util.stream.Stream<? extends OWLAxiom> axioms, Class<C> type)
C - returned typeaxioms - axiomstype - type contained in the returned collectionpublic static <C extends OWLObject> C domain(OWLAxiom axiom)
C - returned typeaxiom - axiompublic static <C extends OWLObject> C domain(OWLAxiom axiom, Class<C> type)
C - returned typeaxiom - axiomtype - witness for returned typepublic static <C extends OWLObject> java.util.stream.Stream<C> range(java.util.stream.Stream<? extends OWLAxiom> axioms)
C - returned typeaxioms - axiomspublic static <C extends OWLObject> java.util.stream.Stream<C> range(java.util.stream.Stream<? extends OWLAxiom> axioms, Class<C> type)
C - returned typeaxioms - axiomstype - type contained in the returned collectionpublic static <C extends OWLObject> C range(OWLAxiom axiom)
C - returned typeaxiom - axiompublic static <C extends OWLObject> C range(OWLAxiom axiom, Class<C> type)
C - returned typeaxiom - axiomtype - witness for returned typepublic static java.util.stream.Stream<IRI> ontologiesIRIs(java.util.stream.Stream<OWLOntology> ontologies)
ontologies - ontologies to transformpublic static java.util.stream.Stream<IRI> ontologyIRIs(java.util.stream.Stream<OWLOntologyID> ids)
ids - ontology ids to transformCopyright © 2017 The University of Manchester. All Rights Reserved.