| com.hp.hpl.jena.reasoner.BaseInfGraph com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph com.hp.hpl.jena.reasoner.rulesys.FBRuleInfGraph com.hp.hpl.jena.reasoner.rulesys.RDFSRuleInfGraph
RDFSRuleInfGraph | public class RDFSRuleInfGraph extends FBRuleInfGraph (Code) | | Customization of the generic rule inference graph for RDFS inference.
In fact all the rule processing is unchanged, the only extenstion is
the validation support.
author: Dave Reynolds version: $Revision: 1.9 $ on $Date: 2008/01/02 12:07:47 $ |
dtRange | protected HashMap dtRange(Code) | | Optional map of property node to datatype ranges
|
RDFSRuleInfGraph | public RDFSRuleInfGraph(Reasoner reasoner, List rules, Graph schema)(Code) | | Constructor.
Parameters: reasoner - the reasoner which created this inf graph instance Parameters: rules - the rules to process Parameters: schema - the (optional) schema graph to be included |
RDFSRuleInfGraph | public RDFSRuleInfGraph(Reasoner reasoner, List rules, Graph schema, Graph data)(Code) | | Constructor.
Parameters: reasoner - the reasoner which created this inf graph instance Parameters: rules - the rules to process Parameters: schema - the (optional) schema graph to be included Parameters: data - the data graph to be processed |
checkLiteral | public ValidityReport.Report checkLiteral(Node prop, Node value)(Code) | | Check a given literal value for a property against the set of
known range constraints for it.
Parameters: prop - the property node whose range is under scrutiny Parameters: value - the literal node whose value is to be checked null if the range is legal, otherwise a ValidityReport.Reportwhich describes the problem. |
validate | public ValidityReport validate()(Code) | | Test the consistency of the bound data. For RDFS this checks that all
instances of datatype-ranged properties have correct data values.
a ValidityReport structure |
|
|