public class OwlClassReasoner
Reasoner to derive values based upon class queries. This class takes a
particular OwlClass, a field to query for, and a group of property
assignments. It attempts to find any OwlThings which match the queried field
for the given assignment map. This class will support additional reasoning
queries in the future.
Get the set of OwlThings which match the query field for the baseClass.
This method finds all OwlThings that can be assigned to the queried
property with the assignment map values assigned to the OwlClass.
the set of OwlThings matching the queried property field
Get the refined class for this base class and assignment map. This
method derives the refined class based upon OWL intersections of the
base class with the properties in the assignment map. If no more
specific class is found, the base class is returned.
the refined class.
public void setAssignment(java.lang.String assignment)
Set a particular assignment. This method takes a string of the form
property=ThingName, finds the OwlThing for the thing name,
and adds the property setting to the assignment map.