com.hp.hpl.jena.reasoner.transitiveReasoner |
This package contains a reasoner which supports transitive-reflexive closure
of subPropertyOf and subClassOf relations. A single tbox can optionally be
bound, which is expected to contain schema information but can contain other
information as well. A single data graph can be bound - whch is allowed to
contain schema information in which case the work of scanning the tbox is
lost and has to be redone (because the data might define sub-properties of
subPropertOf or subClassOf which were missed in the original tbox scan).
The generated InfGraph will appear to contain the union of the data graph,
the tbox graph, the reflexive-transitive closure of any subPropertyOf and
subClassOf relations together with direct versions of these.
Defects
The current implementation is flawed in its handling of multiple data
bindings - you can't actually reuse the work of tbox binding across different
data sets. This will be fixed soon.
|
Java Source File Name | Type | Comment |
TransitiveEngine.java | Class | Uses two transitive graph caches to store a subclass and a subproperty
lattice and use them within a larger inference graph. |
TransitiveGraphCache.java | Class | Datastructure used to represent a closed transitive reflexive relation.
It (mostly) incrementally maintains a transitive reduction and transitive
closure of the relationship and so queries should be faster than dynamically
computing the closed or reduced relations.
The implementation stores the reduced and closed relations as real graph
(objects linked together by pointers). |
TransitiveInfGraph.java | Class | Implementation of InfGraph used by the TransitiveReasoner.
This is returned by the TransitiveReasoner when a data graph
(together with an optional schema) has been bound.
The cached property and class graphs are calculated by the
reasoner when the schema is bound. |
TransitiveReasoner.java | Class | A simple "reasoner" used to help with API development.
This reasoner caches a transitive closure of the subClass and
subProperty graphs. |
TransitiveReasonerFactory.java | Class | Factory class for creating blank instances of the transitive reasoner. |