Package | Description |
---|---|
org.apache.jena.graph |
This package defines the Graph and Node family of classes, which
form the underlying datatypes of the Jena system.
|
org.apache.jena.graph.compose |
This package defines simple composite graphs - union, intersection,
difference, and update-tracking.
|
org.apache.jena.graph.impl |
This package provides basic implementations of Graph interfaces
such as EventManager and Capabilities.
|
org.apache.jena.mem |
Various memory-based implementations of interfaces,
specifically GraphMem for memory-based Graphs.
|
org.apache.jena.ontology |
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
|
org.apache.jena.ontology.impl |
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology package. |
org.apache.jena.rdf.model |
A package for creating and manipulating RDF graphs.
|
org.apache.jena.rdf.model.impl |
This package contains implementations of the interfaces defined
in the .model package, eg ModelCom for Model, ResourceImpl
for Resource, and so on.
|
org.apache.jena.reasoner |
The Jena2 reasoner subsystem is designed to allow a range of inference
engines to be plugged into Jena.
|
org.apache.jena.reasoner.rulesys |
Provides a selection of simple rule engines for Jena inference models.
|
org.apache.jena.reasoner.rulesys.impl |
Internal implementation objects used by the rule system interpreters
and compilers.
|
org.apache.jena.reasoner.transitiveReasoner |
This package contains a reasoner which supports transitive-reflexive closure
of subPropertyOf and subClassOf relations.
|
org.apache.jena.shared |
This package defines some classes common to the Jena API
and SPI levels, in particular the JenaException class from which
all Jena-specific exceptions hang, and the interface PrefixMapping
for translation to and from QNames.
|
org.apache.jena.util.iterator |
A package for defining useful iterators and iterator operations,
including concatenation, mapping, filtering, empty and singleton
iterators, iterator wrappers, and the
ExtendedIterator
class used in many places in Jena. |
Modifier and Type | Interface and Description |
---|---|
interface |
TripleIterator
An extended iterator that can return its next element as a Triple.
|
Modifier and Type | Field and Description |
---|---|
static ExtendedIterator<Triple> |
Triple.None
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
Graph.find(Node s,
Node p,
Node o)
Returns an iterator over Triple.
|
ExtendedIterator<Triple> |
Graph.find(Triple m)
Returns an iterator over all the Triples that match the triple pattern.
|
static ExtendedIterator<Triple> |
GraphUtil.findAll(Graph g)
Answer an iterator covering all the triples in the specified graph.
|
ExtendedIterator<String> |
GraphMaker.listGraphs()
Answer an [extended] iterator where each element is the name of a graph in
the maker, and the complete sequence exhausts the set of names.
|
static ExtendedIterator<Node> |
GraphUtil.listObjects(Graph g,
Node s,
Node p)
Return an iterator over the unique objects with a given subject and object.
|
static ExtendedIterator<Node> |
GraphUtil.listPredicates(Graph g,
Node s,
Node o)
Return an iterator over the unique predicate between s and o.
|
static ExtendedIterator<Node> |
GraphUtil.listSubjects(Graph g,
Node p,
Node o)
Return an iterator over the unique subjects with predciate p and object o.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
Difference._graphBaseFind(Triple t) |
ExtendedIterator<Triple> |
MultiUnion.graphBaseFind(Triple t)
Answer an iterator over the triples in the union of the graphs in this composition.
|
static <T> ExtendedIterator<T> |
CompositionBase.recording(ClosableIterator<T> i,
Set<T> seen)
Answer an iterator that will record every element delived by
next() in
the set seen . |
static ExtendedIterator<Triple> |
CompositionBase.rejecting(ExtendedIterator<Triple> i,
Graph seen)
Answer an iterator over the elements of
i that are not in
the graph seen . |
static ExtendedIterator<Triple> |
CompositionBase.rejecting(ExtendedIterator<Triple> i,
Set<Triple> seen)
Answer an iterator over the elements of iterator i that are not in the set
seen . |
Modifier and Type | Method and Description |
---|---|
static ExtendedIterator<Triple> |
CompositionBase.rejecting(ExtendedIterator<Triple> i,
Graph seen)
Answer an iterator over the elements of
i that are not in
the graph seen . |
static ExtendedIterator<Triple> |
CompositionBase.rejecting(ExtendedIterator<Triple> i,
Set<Triple> seen)
Answer an iterator over the elements of iterator i that are not in the set
seen . |
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
WrappedGraph.find(Node s,
Node p,
Node o) |
ExtendedIterator<Triple> |
GraphBase.find(Node s,
Node p,
Node o) |
ExtendedIterator<Triple> |
WrappedGraph.find(Triple m) |
ExtendedIterator<Triple> |
TripleStore.find(Triple t)
Answer an ExtendedIterator returning all the triples from this store that
match the pattern
m = (S, P, O) . |
ExtendedIterator<Triple> |
GraphBase.find(Triple m) |
ExtendedIterator<Triple> |
GraphBase.forTestingOnly_graphBaseFind(Triple t) |
ExtendedIterator<String> |
SimpleGraphMaker.listGraphs() |
ExtendedIterator<Node> |
TripleStore.listObjects()
Answer an setwise iterator over all the objects of triples in this store.
|
ExtendedIterator<Node> |
TripleStore.listPredicates()
Answer an iterator over all the predicates of triples in this store.
|
ExtendedIterator<Node> |
TripleStore.listSubjects()
Answer an setwise iterator over all the subjects of triples in this store.
|
static ExtendedIterator<Triple> |
SimpleEventManager.notifyingRemove(Graph g,
Iterator<Triple> i)
Answer an iterator which wraps
i to ensure that if a
.remove() is executed on it, the graph g will be notified. |
Modifier and Type | Class and Description |
---|---|
class |
ObjectIterator
Helper class for listObjects.
|
class |
StoreTripleIterator
An iterator wrapper for NodeToTriplesMap iterators which ensures that
a .remove on the base iterator is copied to the other two maps of this
GraphMem.
|
class |
TrackingTripleIterator
A WrappedIterator which remembers the last object next'ed in a
protected instance variable, so that subclasses have access to it
during .remove.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
GraphTripleStoreBase.find(Triple t)
Answer an ExtendedIterator returning all the triples from this store that
match the pattern
m = (S, P, O) . |
ExtendedIterator<Triple> |
GraphMem.graphBaseFind(Triple m)
Answer an ExtendedIterator over all the triples in this graph that match the
triple-pattern
m . |
ExtendedIterator<Triple> |
NodeToTriplesMapBase.iterateAll()
Answer an iterator over all the triples in this NTM.
|
ExtendedIterator<Triple> |
NodeToTriplesMap.iterateAll(Triple pattern) |
ExtendedIterator<Triple> |
TripleBunch.iterator()
Answer an iterator over all the triples in this bunch.
|
ExtendedIterator<Triple> |
SetBunch.iterator() |
ExtendedIterator<Triple> |
HashedTripleBunch.iterator() |
ExtendedIterator<Triple> |
ArrayBunch.iterator() |
ExtendedIterator<Triple> |
TripleBunch.iterator(HashCommon.NotifyEmpty container)
Answer an iterator over all the triples in this bunch.
|
ExtendedIterator<Triple> |
SetBunch.iterator(HashCommon.NotifyEmpty container) |
ExtendedIterator<Triple> |
HashedTripleBunch.iterator(HashCommon.NotifyEmpty container) |
ExtendedIterator<Triple> |
ArrayBunch.iterator(HashCommon.NotifyEmpty container) |
ExtendedIterator<Triple> |
NodeToTriplesMapMem.iterator(Node index,
Node n2,
Node n3)
Answer an iterator over all the triples in this NTM which match
pattern . |
abstract ExtendedIterator<Triple> |
NodeToTriplesMapBase.iterator(Node index,
Node n2,
Node n3) |
ExtendedIterator<Triple> |
NodeToTriplesMap.iterator(Node index,
Node n2,
Node n3) |
ExtendedIterator<Triple> |
NodeToTriplesMap.iterator(Object o,
HashCommon.NotifyEmpty container) |
ExtendedIterator<Object> |
WrappedHashMap.keyIterator() |
ExtendedIterator<Key> |
HashCommon.keyIterator() |
ExtendedIterator<Object> |
BunchMap.keyIterator()
Answer an iterator over all the keys in this map.
|
ExtendedIterator<Key> |
HashCommon.keyIterator(HashCommon.NotifyEmpty container) |
ExtendedIterator<Node> |
GraphTripleStoreBase.listObjects() |
ExtendedIterator<Node> |
GraphTripleStoreBase.listPredicates() |
ExtendedIterator<Node> |
GraphTripleStoreBase.listSubjects() |
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<AllDifferent> |
OntModel.listAllDifferent()
Answer an iterator that ranges over the nodes that denote pair-wise disjointness between
sets of classes.
|
ExtendedIterator<OntProperty> |
OntModel.listAllOntProperties()
Answer an iterator over all of the ontology properties in this model, including
object properties, datatype properties, annotation properties, etc.
|
ExtendedIterator<AnnotationProperty> |
OntModel.listAnnotationProperties()
Answer an iterator that ranges over the properties in this model that are declared
to be annotation properties.
|
ExtendedIterator<OntResource> |
Ontology.listBackwardCompatibleWith()
Answer an iterator over all of the resources representing
ontologies that this ontology is backwards compatible with.
|
ExtendedIterator<OntClass> |
OntModel.listClasses()
Answer an iterator that ranges over all of the various forms of class description resource
in this model.
|
ExtendedIterator<RDFNode> |
OntResource.listComments(String lang)
Answer an iterator over all of the comment literals for this resource.
|
ExtendedIterator<ComplementClass> |
OntModel.listComplementClasses()
Answer an iterator that ranges over the complement class-descriptions
in this model, i.e. the class resources specified to have a property
complementOf (or equivalent) and a list of values. |
ExtendedIterator<DataRange> |
OntModel.listDataRanges()
Answer an iterator over the DataRange objects in this ontology, if there
are any.
|
ExtendedIterator<DatatypeProperty> |
OntModel.listDatatypeProperties()
Answer an iterator that ranges over the datatype property resources in this model, i.e.
the resources with
rdf:type DatatypeProperty or equivalent. |
ExtendedIterator<OntProperty> |
OntClass.listDeclaredProperties()
Equivalent to calling
OntClass.listDeclaredProperties(boolean) with
default value direct = false . |
ExtendedIterator<OntProperty> |
OntClass.listDeclaredProperties(boolean direct)
Return an iterator over the properties associated with a frame-like
view of this class.
|
ExtendedIterator<? extends OntClass> |
OntProperty.listDeclaringClasses()
Answer an iterator of all of the classes in this ontology, such
that each returned class has this property as one of its
properties in
OntClass.listDeclaredProperties() . |
ExtendedIterator<? extends OntClass> |
OntProperty.listDeclaringClasses(boolean direct)
Answer an iterator of all of the classes in this ontology, such
that each returned class has this property as one of its
properties in
OntClass.listDeclaredProperties(boolean) . |
ExtendedIterator<? extends Resource> |
OntResource.listDifferentFrom()
Answer an iterator over all of the resources that are declared to be different from
this resource.
|
ExtendedIterator<OntClass> |
OntClass.listDisjointWith()
Answer an iterator over all of the classes that this class is declared to be disjoint with.
|
ExtendedIterator<? extends OntResource> |
AllDifferent.listDistinctMembers()
Answer an iterator over all of the individuals that are declared to be distinct by
this AllDifferent declaration.
|
ExtendedIterator<? extends OntResource> |
OntProperty.listDomain()
Answer an iterator over all of the declared domain classes of this property.
|
ExtendedIterator<EnumeratedClass> |
OntModel.listEnumeratedClasses()
Answer an iterator that ranges over the enumerated class class-descriptions
in this model, i.e. the class resources specified to have a property
oneOf (or equivalent) and a list of values. |
ExtendedIterator<OntClass> |
OntClass.listEquivalentClasses()
Answer an iterator over all of the classes that are known to be equivalent to
this class.
|
ExtendedIterator<? extends OntProperty> |
OntProperty.listEquivalentProperties()
Answer an iterator over all of the properties that are declared to be equivalent properties to
this property.
|
ExtendedIterator<FunctionalProperty> |
OntModel.listFunctionalProperties()
Answer an iterator that ranges over the functional property resources in this model, i.e.
the resources with
rdf:type FunctionalProperty or equivalent. |
ExtendedIterator<OntClass> |
OntModel.listHierarchyRootClasses()
Answer an iterator over the classes in this ontology model that represent
the uppermost nodes of the class hierarchy.
|
ExtendedIterator<OntModel> |
OntModel.listImportedModels()
Deprecated.
This method has been re-named to
listSubModels ,
but note that to obtain the same behaviour as listImportedModels
from Jena 2.4 and earlier, callers should invoke OntModel.listSubModels(boolean)
with parameter true . |
ExtendedIterator<OntResource> |
Ontology.listImports()
Answer an iterator over all of the resources representing ontologies imported by this ontology.
|
ExtendedIterator<OntResource> |
Ontology.listIncompatibleWith()
Answer an iterator over all of the resources representing
ontologies that this ontology is incompatible with.
|
ExtendedIterator<Individual> |
OntModel.listIndividuals()
Answer an iterator that ranges over the individual resources in this model, i.e.
the resources with
rdf:type corresponding to a class defined
in the ontology. |
ExtendedIterator<Individual> |
OntModel.listIndividuals(Resource cls)
Answer an iterator that ranges over the resources in this model that are
instances of the given class.
|
ExtendedIterator<? extends OntResource> |
OntClass.listInstances()
Answer an iterator over the individuals in the model that have this
class among their types.
|
ExtendedIterator<? extends OntResource> |
OntClass.listInstances(boolean direct)
Answer an iterator over the individuals in the model that have this
class among their types, optionally excluding sub-classes of this class.
|
ExtendedIterator<IntersectionClass> |
OntModel.listIntersectionClasses()
Answer an iterator that ranges over the intersection class-descriptions
in this model, i.e. the class resources specified to have a property
intersectionOf (or equivalent) and a list of values. |
ExtendedIterator<? extends OntProperty> |
OntProperty.listInverse()
Answer an iterator over the properties that are defined to be inverses of this property.
|
ExtendedIterator<InverseFunctionalProperty> |
OntModel.listInverseFunctionalProperties()
Answer an iterator that ranges over the inverse functional property resources in this model, i.e.
the resources with
rdf:type InverseFunctionalProperty or equivalent. |
ExtendedIterator<? extends OntProperty> |
OntProperty.listInverseOf()
Answer an iterator over all of the properties that this property is declared to be the inverse of.
|
ExtendedIterator<RDFNode> |
OntResource.listIsDefinedBy()
Answer an iterator over all of the resources that are declared to define
this resource.
|
ExtendedIterator<RDFNode> |
OntResource.listLabels(String lang)
Answer an iterator over all of the label literals for this resource.
|
ExtendedIterator<OntClass> |
OntModel.listNamedClasses()
Answer an iterator that ranges over the named class-descriptions
in this model, i.e. resources with
rdf:type
Class (or equivalent) and a node URI. |
ExtendedIterator<ObjectProperty> |
OntModel.listObjectProperties()
Answer an iterator that ranges over the object property resources in this model, i.e.
the resources with
rdf:type ObjectProperty or equivalent. |
ExtendedIterator<? extends OntResource> |
EnumeratedClass.listOneOf()
Answer an iterator over all of the individuals that are declared to be the class extension for
this class.
|
ExtendedIterator<Literal> |
DataRange.listOneOf()
Answer an iterator over all of the literals that are declared to be the permissible values for
this class.
|
<T extends OntClass> |
Individual.listOntClasses(boolean direct)
Answer an iterator over the ontology classes to which this individual belongs.
|
ExtendedIterator<Ontology> |
OntModel.listOntologies()
Answer an iterator that ranges over the ontology resources in this model, i.e.
the resources with
rdf:type Ontology or equivalent. |
ExtendedIterator<OntProperty> |
OntModel.listOntProperties()
Answer an iterator that ranges over the property resources in this model, i.e.
the resources with
rdf:type Property or equivalent. |
ExtendedIterator<? extends OntClass> |
BooleanClassDescription.listOperands()
Answer an iterator over all of the classes that are the operands of this
Boolean class expression.
|
ExtendedIterator<OntResource> |
Ontology.listPriorVersion()
Answer an iterator over all of the resources representing
ontologies that this ontology supercedes.
|
ExtendedIterator<? extends OntResource> |
OntProperty.listRange()
Answer an iterator over all of the declared range classes of this property.
|
ExtendedIterator<Resource> |
OntResource.listRDFTypes(boolean direct)
Answer an iterator over the RDF classes to which this resource belongs.
|
ExtendedIterator<Restriction> |
OntProperty.listReferringRestrictions()
Answer an iterator over any restrictions that mention this property as
the property that the restriction is adding some constraint to.
|
ExtendedIterator<Restriction> |
OntModel.listRestrictions()
Answer an iterator that ranges over the property restriction class-descriptions
in this model, i.e. resources with
rdf:type
Restriction (or equivalent). |
ExtendedIterator<? extends Resource> |
OntResource.listSameAs()
Answer an iterator over all of the resources that are declared to be the same as
this resource.
|
ExtendedIterator<RDFNode> |
OntResource.listSeeAlso()
Answer an iterator over all of the resources that are declared to provide additional
information about this resource.
|
ExtendedIterator<OntClass> |
OntClass.listSubClasses()
Answer an iterator over all of the classes that are declared to be sub-classes of
this class.
|
ExtendedIterator<OntClass> |
OntClass.listSubClasses(boolean direct)
Answer an iterator over the classes that are declared to be sub-classes of
this class.
|
ExtendedIterator<OntModel> |
OntModel.listSubModels()
Answer an iterator over the ontology models that are sub-models of
this model.
|
ExtendedIterator<OntModel> |
OntModel.listSubModels(boolean withImports)
Answer an iterator over the ontology models that are sub-models of
this model.
|
ExtendedIterator<? extends OntProperty> |
OntProperty.listSubProperties()
Answer an iterator over all of the properties that are declared to be sub-properties of
this property.
|
ExtendedIterator<? extends OntProperty> |
OntProperty.listSubProperties(boolean direct)
Answer an iterator over all of the properties that are declared to be sub-properties of
this property.
|
ExtendedIterator<OntClass> |
OntClass.listSuperClasses()
Answer an iterator over all of the classes that are super-classes of
this class.
|
ExtendedIterator<OntClass> |
OntClass.listSuperClasses(boolean direct)
Answer an iterator over all of the classes that are super-classes of
this class.
|
ExtendedIterator<? extends OntProperty> |
OntProperty.listSuperProperties()
Answer an iterator over all of the properties that are declared to be super-properties of
this property.
|
ExtendedIterator<? extends OntProperty> |
OntProperty.listSuperProperties(boolean direct)
Answer an iterator over all of the properties that are declared to be super-properties of
this property.
|
ExtendedIterator<SymmetricProperty> |
OntModel.listSymmetricProperties()
Answer an iterator that ranges over the symmetric property resources in this model, i.e.
the resources with
rdf:type SymmetricProperty or equivalent. |
ExtendedIterator<TransitiveProperty> |
OntModel.listTransitiveProperties()
Answer an iterator that ranges over the transitive property resources in this model, i.e.
the resources with
rdf:type TransitiveProperty or equivalent. |
ExtendedIterator<UnionClass> |
OntModel.listUnionClasses()
Answer an iterator that ranges over the union class-descriptions
in this model, i.e. the class resources specified to have a property
unionOf (or equivalent) and a list of values. |
ExtendedIterator<String> |
OntResource.listVersionInfo()
Answer an iterator over all of the version info strings for this resource.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<AllDifferent> |
OntModelImpl.listAllDifferent()
Answer an iterator that ranges over the nodes that denote pair-wise disjointness between
sets of classes.
|
ExtendedIterator<OntProperty> |
OntModelImpl.listAllOntProperties()
Answer an iterator over all of the ontology properties in this model, including
object properties, datatype properties, annotation properties, etc.
|
ExtendedIterator<AnnotationProperty> |
OntModelImpl.listAnnotationProperties()
Answer an iterator that ranges over the properties in this model that are declared
to be annotation properties.
|
ExtendedIterator<OntResource> |
OntologyImpl.listBackwardCompatibleWith()
Answer an iterator over all of the resources representing
ontologies that this ontology is backwards compatible with.
|
ExtendedIterator<OntClass> |
OntModelImpl.listClasses()
Answer an iterator that ranges over all of the various forms of class description resource
in this model.
|
ExtendedIterator<RDFNode> |
OntResourceImpl.listComments(String lang)
Answer an iterator over all of the comment literals for this resource.
|
ExtendedIterator<ComplementClass> |
OntModelImpl.listComplementClasses()
Answer an iterator that ranges over the complement class-descriptions
in this model, i.e. the class resources specified to have a property
complementOf (or equivalent) and a list of values. |
ExtendedIterator<DataRange> |
OntModelImpl.listDataRanges()
Answer an iterator over the DataRange objects in this ontology, if there
are any.
|
ExtendedIterator<DatatypeProperty> |
OntModelImpl.listDatatypeProperties()
Answer an iterator that ranges over the datatype property resources in this model, i.e.
the resources with
rdf:type DatatypeProperty or equivalent. |
ExtendedIterator<OntProperty> |
OntClassImpl.listDeclaredProperties()
Equivalent to calling
OntClassImpl.listDeclaredProperties(boolean) with
default value direct = false . |
ExtendedIterator<OntProperty> |
OntClassImpl.listDeclaredProperties(boolean direct)
Return an iterator over the properties associated with a frame-like
view of this class.
|
ExtendedIterator<OntClass> |
OntPropertyImpl.listDeclaringClasses()
Answer an iterator of all of the classes in this ontology, such
that each returned class has this property as one of its
properties in
OntClass.listDeclaredProperties() . |
ExtendedIterator<OntClass> |
OntPropertyImpl.listDeclaringClasses(boolean direct)
Answer an iterator of all of the classes in this ontology, such
that each returned class has this property as one of its
properties in
OntClass.listDeclaredProperties(boolean) . |
ExtendedIterator<OntResource> |
OntResourceImpl.listDifferentFrom()
Answer an iterator over all of the resources that are declared to be different from
this resource.
|
ExtendedIterator<OntClass> |
OntClassImpl.listDisjointWith()
Answer an iterator over all of the classes that this class is declared to be disjoint with.
|
ExtendedIterator<? extends OntResource> |
AllDifferentImpl.listDistinctMembers()
Answer an iterator over all of the individuals that are declared to be distinct by
this AllDifferent declaration.
|
ExtendedIterator<OntClass> |
OntPropertyImpl.listDomain()
Answer an iterator over all of the declared domain classes of this property.
|
ExtendedIterator<EnumeratedClass> |
OntModelImpl.listEnumeratedClasses()
Answer an iterator that ranges over the enumerated class class-descriptions
in this model, i.e. the class resources specified to have a property
oneOf (or equivalent) and a list of values. |
ExtendedIterator<OntClass> |
OntClassImpl.listEquivalentClasses()
Answer an iterator over all of the classes that are declared to be equivalent classes to
this class.
|
ExtendedIterator<OntProperty> |
OntPropertyImpl.listEquivalentProperties()
Answer an iterator over all of the properties that are declared to be equivalent properties to
this property.
|
ExtendedIterator<FunctionalProperty> |
OntModelImpl.listFunctionalProperties()
Answer an iterator that ranges over the functional property resources in this model, i.e.
the resources with
rdf:type FunctionalProperty or equivalent. |
ExtendedIterator<OntClass> |
OntModelImpl.listHierarchyRootClasses()
Answer an iterator over the classes in this ontology model that represent
the uppermost nodes of the class hierarchy.
|
ExtendedIterator<OntModel> |
OntModelImpl.listImportedModels()
Deprecated.
This method has been re-named to
listSubModels ,
but note that to obtain the same behaviour as listImportedModels
from Jena 2.4 and earlier, callers should invoke OntModelImpl.listSubModels(boolean)
with parameter true . |
ExtendedIterator<OntResource> |
OntologyImpl.listImports()
Answer an iterator over all of the resources representing ontologies imported by this ontology.
|
ExtendedIterator<OntResource> |
OntologyImpl.listIncompatibleWith()
Answer an iterator over all of the resources representing
ontologies that this ontology is incompatible with.
|
ExtendedIterator<Individual> |
OntModelImpl.listIndividuals()
Answer an iterator over the individuals in this model.
|
ExtendedIterator<Individual> |
OntModelImpl.listIndividuals(Resource cls)
Answer an iterator that ranges over the resources in this model that are
instances of the given class.
|
ExtendedIterator<Individual> |
OntClassImpl.listInstances()
Answer an iterator over the individuals in the model that have this
class among their types.
|
ExtendedIterator<Individual> |
OntClassImpl.listInstances(boolean direct)
Answer an iterator over the individuals in the model that have this
class among their types, optionally excluding sub-classes of this class.
|
ExtendedIterator<IntersectionClass> |
OntModelImpl.listIntersectionClasses()
Answer an iterator that ranges over the intersection class-descriptions
in this model, i.e. the class resources specified to have a property
intersectionOf (or equivalent) and a list of values. |
ExtendedIterator<OntProperty> |
OntPropertyImpl.listInverse()
Answer an iterator over the properties that are defined to be inverses of this property.
|
ExtendedIterator<InverseFunctionalProperty> |
OntModelImpl.listInverseFunctionalProperties()
Answer an iterator that ranges over the inverse functional property resources in this model, i.e.
the resources with
rdf:type InverseFunctionalProperty or equivalent. |
ExtendedIterator<? extends OntProperty> |
OntPropertyImpl.listInverseOf()
Answer an iterator over all of the properties that are declared to be inverse properties of
this property.
|
ExtendedIterator<? extends OntProperty> |
ObjectPropertyImpl.listInverseOf()
Answer an iterator over all of the properties that are declared to be inverse properties of
this property, ensuring that each presents the objectProperty facet.
|
ExtendedIterator<RDFNode> |
OntResourceImpl.listIsDefinedBy()
Answer an iterator over all of the resources that are declared to define
this resource.
|
ExtendedIterator<RDFNode> |
OntResourceImpl.listLabels(String lang)
Answer an iterator over all of the label literals for this resource.
|
ExtendedIterator<OntClass> |
OntModelImpl.listNamedClasses()
Answer an iterator that ranges over the named class-descriptions
in this model, i.e. resources with
rdf:type
Class (or equivalent) and a node URI. |
ExtendedIterator<ObjectProperty> |
OntModelImpl.listObjectProperties()
Answer an iterator that ranges over the object property resources in this model, i.e.
the resources with
rdf:type ObjectProperty or equivalent. |
ExtendedIterator<? extends OntResource> |
EnumeratedClassImpl.listOneOf()
Answer an iterator over all of the individuals that are declared to be the class extension for
this class.
|
ExtendedIterator<Literal> |
DataRangeImpl.listOneOf()
Answer an iterator over all of the literals that are declared to be the permissible values for
this class.
|
<T extends OntClass> |
IndividualImpl.listOntClasses(boolean direct)
Answer an iterator over the ontology classes to which this individual belongs.
|
ExtendedIterator<Ontology> |
OntModelImpl.listOntologies()
Answer an iterator that ranges over the ontology resources in this model, i.e.
the resources with
rdf:type Ontology or equivalent. |
ExtendedIterator<OntProperty> |
OntModelImpl.listOntProperties()
Answer an iterator that ranges over the property resources in this model, i.e.
the resources with
rdf:type Property or equivalent. |
ExtendedIterator<? extends OntClass> |
ComplementClassImpl.listOperands()
Answer an iterator over all of the classes that are the operands of this
Boolean class expression.
|
ExtendedIterator<? extends OntClass> |
BooleanClassDescriptionImpl.listOperands()
Answer an iterator over all of the classes that are the operands of this
Boolean class expression.
|
ExtendedIterator<OntResource> |
OntologyImpl.listPriorVersion()
Answer an iterator over all of the resources representing
ontologies that this ontology supercedes.
|
ExtendedIterator<OntClass> |
OntPropertyImpl.listRange()
Answer an iterator over all of the declared range classes of this property.
|
ExtendedIterator<Resource> |
OntResourceImpl.listRDFTypes(boolean direct)
Answer an iterator over the RDF classes to which this resource belongs.
|
ExtendedIterator<Restriction> |
OntPropertyImpl.listReferringRestrictions()
Answer an iterator over any restrictions that mention this property as
the property that the restriction is adding some constraint to.
|
ExtendedIterator<Restriction> |
OntModelImpl.listRestrictions()
Answer an iterator that ranges over the property restriction class-descriptions
in this model, i.e. resources with
rdf:type
Restriction (or equivalent). |
ExtendedIterator<OntResource> |
OntResourceImpl.listSameAs()
Answer an iterator over all of the resources that are declared to be the same as
this resource.
|
ExtendedIterator<RDFNode> |
OntResourceImpl.listSeeAlso()
Answer an iterator over all of the resources that are declared to provide addition
information about this resource.
|
ExtendedIterator<OntClass> |
OntClassImpl.listSubClasses()
Answer an iterator over all of the classes that are declared to be sub-classes of
this class.
|
ExtendedIterator<OntClass> |
OntClassImpl.listSubClasses(boolean direct)
Answer an iterator over the classes that are declared to be sub-classes of
this class.
|
ExtendedIterator<OntModel> |
OntModelImpl.listSubModels()
Answer an iterator over the ontology models that are sub-models of
this model.
|
ExtendedIterator<OntModel> |
OntModelImpl.listSubModels(boolean withImports)
Answer an iterator over the ontology models that are sub-models of
this model.
|
ExtendedIterator<OntProperty> |
OntPropertyImpl.listSubProperties()
Answer an iterator over all of the properties that are declared to be sub-properties of
this property.
|
ExtendedIterator<OntProperty> |
OntPropertyImpl.listSubProperties(boolean direct)
Answer an iterator over all of the properties that are declared to be sub-properties of
this property.
|
ExtendedIterator<OntClass> |
OntClassImpl.listSuperClasses()
Answer an iterator over all of the classes that are declared to be super-classes of
this class.
|
ExtendedIterator<OntClass> |
OntClassImpl.listSuperClasses(boolean direct)
Answer an iterator over all of the classes that are declared to be super-classes of
this class.
|
ExtendedIterator<OntProperty> |
OntPropertyImpl.listSuperProperties()
Answer an iterator over all of the properties that are declared to be super-properties of
this property.
|
ExtendedIterator<OntProperty> |
OntPropertyImpl.listSuperProperties(boolean direct)
Answer an iterator over all of the properties that are declared to be super-properties of
this property.
|
ExtendedIterator<SymmetricProperty> |
OntModelImpl.listSymmetricProperties()
Answer an iterator that ranges over the symmetric property resources in this model, i.e.
the resources with
rdf:type SymmetricProperty or equivalent. |
ExtendedIterator<TransitiveProperty> |
OntModelImpl.listTransitiveProperties()
Answer an iterator that ranges over the transitive property resources in this model, i.e.
the resources with
rdf:type TransitiveProperty or equivalent. |
ExtendedIterator<UnionClass> |
OntModelImpl.listUnionClasses()
Answer an iterator that ranges over the union class-descriptions
in this model, i.e. the class resources specified to have a property
unionOf (or equivalent) and a list of values. |
ExtendedIterator<String> |
OntResourceImpl.listVersionInfo()
Answer an iterator over all of the version info strings for this resource.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NodeIterator
An iterator which returns RDF nodes.
|
interface |
NsIterator
An iterator which returns namespace URI's.
|
interface |
ResIterator
An iterator which returns RDF Resources.
|
interface |
RSIterator
An RSIterator is a ClosableIterator (qv) which delivers only ReifedStatement's
and which has a next-method with that return type.
|
interface |
StmtIterator
An iterator which returns RDF Statements.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<RDFNode> |
RDFList.iterator()
Answer an iterator over the elements of the list.
|
ExtendedIterator<String> |
ModelMaker.listModels()
Answer an [extended] iterator where each element is the name of a model in
the maker, and the complete sequence exhausts the set of names.
|
<T> ExtendedIterator<T> |
RDFList.mapWith(Function<RDFNode,T> fn)
Answer an iterator of the elements of this list, to each of which
the given map function has been applied.
|
Modifier and Type | Class and Description |
---|---|
class |
ContNodeIteratorImpl
An internal class not normally of interest to application developers.
|
class |
NodeIteratorImpl
A NodeIterator implementation.
|
class |
NsIteratorImpl
An NsIterator implementation
|
class |
ResIteratorImpl
An implementation of ResIterator.
|
class |
RSIteratorImpl |
class |
SeqNodeIteratorImpl
An internal class not normally of interest to developers.
|
class |
StmtIteratorImpl
An implementation of StmtIterator.
|
Modifier and Type | Method and Description |
---|---|
static ExtendedIterator<Node> |
ReifierStd.allNodes(Graph graph)
return an iterator over all the nodes that are reifiying something in the
graph
|
static ExtendedIterator<Node> |
ReifierStd.allNodes(Graph graph,
Triple t)
return an iterator over all the nodes that are reifiying t in the graph
|
static ExtendedIterator<Triple> |
ReifierStd.findEither(Graph graph,
Triple match,
boolean showHidden)
Answer an iterator over the reification triples of this Reifier, or an empty
iterator - if showHidden is false, only the exposed triples, otherwise only
the concealed ones.
|
static ExtendedIterator<Triple> |
ReifierStd.findExposed(Graph graph,
Triple match)
Answer an iterator over all the reification triples that this Reifier exposes
(ie all if Standard, none otherwise) that match m.
|
ExtendedIterator<Triple> |
ModelCom.findTriplesFrom(Selector s)
Answer an [extended] iterator which returns the triples in this graph which
are selected by the (S, P, O) triple in the selector, ignoring any special
tests it may do.
|
ExtendedIterator<RDFNode> |
RDFListImpl.iterator()
Answer an iterator over the elements of the list.
|
ExtendedIterator<String> |
ModelMakerImpl.listModels() |
<T> ExtendedIterator<T> |
RDFListImpl.mapWith(Function<RDFNode,T> fn)
Answer an iterator of the elements of this list, to each of which
the given map function has been applied.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
InfGraph.find(Node subject,
Node property,
Node object,
Graph param)
An extension of the Graph.find interface which allows the caller to
encode complex expressions in RDF and then refer to those expressions
within the query triple.
|
ExtendedIterator<Triple> |
BaseInfGraph.find(Node subject,
Node property,
Node object,
Graph param)
An extension of the Graph.find interface which allows the caller to
encode complex expressions in RDF and then refer to those expressions
within the query triple.
|
ExtendedIterator<Triple> |
Finder.find(TriplePattern pattern)
Basic pattern lookup interface.
|
ExtendedIterator<Triple> |
FGraph.find(TriplePattern pattern)
Basic pattern lookup interface.
|
ExtendedIterator<Triple> |
BaseInfGraph.find(TriplePattern pattern)
Basic pattern lookup interface.
|
ExtendedIterator<Triple> |
Finder.findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator
may or may not be able to answer the complete query.
|
ExtendedIterator<Triple> |
FGraph.findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator
may or may not be able to answer the complete query.
|
abstract ExtendedIterator<Triple> |
BaseInfGraph.findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator
may or may not be able to answer the complete query.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
LPBackwardRuleInfGraph.find(TriplePattern pattern)
Basic pattern lookup interface.
|
ExtendedIterator<Triple> |
FBRuleInfGraph.find(TriplePattern pattern)
Basic pattern lookup interface.
|
ExtendedIterator<Triple> |
BasicForwardRuleInfGraph.find(TriplePattern pattern)
Basic pattern lookup interface.
|
ExtendedIterator<Triple> |
ForwardRuleInfGraphI.findDataMatches(Node subject,
Node predicate,
Node object)
Search the combination of data and deductions graphs for the given triple pattern.
|
ExtendedIterator<Triple> |
FBRuleInfGraph.findDataMatches(Node subject,
Node predicate,
Node object)
Search the combination of data and deductions graphs for the given triple pattern.
|
ExtendedIterator<Triple> |
BasicForwardRuleInfGraph.findDataMatches(Node subject,
Node predicate,
Node object)
Search the combination of data and deductions graphs for the given triple pattern.
|
ExtendedIterator<Triple> |
LPBackwardRuleInfGraph.findDataMatches(TriplePattern pattern)
Match a pattern just against the stored data (raw data, schema,
axioms) but no derivation.
|
ExtendedIterator<Triple> |
FBRuleInfGraph.findDataMatches(TriplePattern pattern)
Search the combination of data and deductions graphs for the given triple pattern.
|
ExtendedIterator<Triple> |
BackwardRuleInfGraphI.findDataMatches(TriplePattern pattern)
Match a pattern just against the stored data (raw data, schema,
axioms) but no backchaining derivation.
|
ExtendedIterator<Triple> |
FBRuleInfGraph.findFull(TriplePattern pattern)
Internal variant of find which omits the filters which block illegal RDF data.
|
ExtendedIterator<Triple> |
LPBackwardRuleInfGraph.findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator
may or may not be able to answer the complete query.
|
ExtendedIterator<Triple> |
FBRuleInfGraph.findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator
may or may not be able to answer the complete query.
|
ExtendedIterator<Triple> |
BasicForwardRuleInfGraph.findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator
may or may not be able to answer the complete query.
|
ExtendedIterator<Triple> |
LPBackwardRuleInfGraph.graphBaseFind(Node subject,
Node property,
Node object)
Returns an iterator over Triples.
|
ExtendedIterator<Triple> |
FBRuleInfGraph.graphBaseFind(Node subject,
Node property,
Node object)
Returns an iterator over Triples.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
SafeGraph.find(Node s,
Node p,
Node o) |
ExtendedIterator<Triple> |
SafeGraph.find(Triple triple) |
ExtendedIterator<Triple> |
LPBRuleEngine.find(TriplePattern goal)
Start a new interpreter running to answer a query.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
TransitiveInfGraph.find(TriplePattern pattern)
Basic pattern lookup interface.
|
ExtendedIterator<Triple> |
TransitiveGraphCache.find(TriplePattern pattern)
Basic pattern lookup interface.
|
ExtendedIterator<Triple> |
TransitiveInfGraph.findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator
may or may not be able to answer the complete query.
|
ExtendedIterator<Triple> |
TransitiveGraphCache.findWithContinuation(TriplePattern pattern,
Finder continuation)
Extended find interface used in situations where the implementator
may or may not be able to answer the complete query.
|
ExtendedIterator<Triple> |
TransitiveInfGraph.graphBaseFind(Node subject,
Node property,
Node object)
Returns an iterator over Triples.
|
ExtendedIterator<Node> |
TransitiveGraphCache.listAllSubjects()
Return an iterator over all registered subject nodes
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
RandomOrderGraph.find(Node s,
Node p,
Node o) |
ExtendedIterator<Triple> |
RandomOrderGraph.find(Triple triple) |
Modifier and Type | Class and Description |
---|---|
class |
FilterIterator<T>
Creates a sub-Iterator by filtering.
|
class |
LazyIterator<T>
An ExtendedIterator that is created lazily.
|
class |
Map1Iterator<From,To>
An iterator that consumes an underlying iterator and maps its results before
delivering them; supports remove if the underlying iterator does.
|
class |
MapFilterIterator<T,X>
A MapFilterIterator takes a MapFilter and an [Extended]Iterator and returns a new
ExtendedIterator which delivers the sequence of all non-null elements MapFilter(X)
for X from the base iterator.
|
class |
NiceIterator<T>
NiceIterator is the standard base class implementing ExtendedIterator.
|
class |
NullIterator<T>
An empty iterator.
|
class |
RandomOrderIterator<T>
RandomOrderIterator - Reorders the elements returned by an Iterator.
|
class |
SingletonIterator<T>
A ClosableIterator that contains only one element
|
class |
WrappedIterator<T>
a WrappedIterator is an ExtendedIterator wrapping around a plain (or
presented as plain) Iterator.
|
Modifier and Type | Method and Description |
---|---|
static <T> ExtendedIterator<T> |
NiceIterator.andThen(Iterator<T> a,
Iterator<? extends T> b)
concatenate two closable iterators.
|
<X extends T> |
NullIterator.andThen(Iterator<X> it) |
<X extends T> |
NiceIterator.andThen(Iterator<X> other)
make a new iterator, which is us then the other chap.
|
<X extends T> |
ExtendedIterator.andThen(Iterator<X> other)
return a new iterator which delivers all the elements of this iterator and
then all the elements of the other iterator.
|
abstract ExtendedIterator<T> |
LazyIterator.create()
The subclass must define this to return
the ExtendedIterator to invoke.
|
static <T> ExtendedIterator<T> |
WrappedIterator.create(Iterator<T> it)
Answer an ExtendedIterator returning the elements of
it . |
static <T> ExtendedIterator<T> |
WrappedIterator.createIteratorIterator(Iterator<Iterator<T>> it)
Given an Iterator that returns Iterator's, this creates an
Iterator over the next level values.
|
static <T> ExtendedIterator<T> |
NiceIterator.emptyIterator()
An iterator over no elements.
|
ExtendedIterator<T> |
ExtendedIterator.filterDrop(Predicate<T> f)
return a new iterator containing only the elements of _this_ which
are rejected by the filter _f_.
|
ExtendedIterator<T> |
Filter.filterKeep(Iterator<T> it)
Deprecated.
|
ExtendedIterator<T> |
ExtendedIterator.filterKeep(Predicate<T> f)
return a new iterator containing only the elements of _this_ which
pass the filter _f_.
|
<U> ExtendedIterator<U> |
NiceIterator.mapWith(Function<T,U> map1)
make a new iterator which is the elementwise _map1_ of the base iterator.
|
<U> ExtendedIterator<U> |
ExtendedIterator.mapWith(Function<T,U> map1)
return a new iterator where each element is the result of applying
_map1_ to the corresponding element of _this_.
|
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
NiceIterator.asList(ExtendedIterator<T> it)
Answer a list of the elements from
it , in order, consuming
that iterator. |
static <T> Set<T> |
NiceIterator.asSet(ExtendedIterator<T> it)
Answer a list of the elements of
it in order, consuming this iterator. |
Constructor and Description |
---|
MapFilterIterator(MapFilter<T,X> fl,
ExtendedIterator<T> e)
Creates a sub-Iterator.
|
Licenced under the Apache License, Version 2.0