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