Package | Description |
---|---|
com.hp.hpl.jena.assembler | |
com.hp.hpl.jena.reasoner.rulesys |
Provides a selection of simple rule engines for Jena inference models.
|
jena |
A package for some Jena command-line programs, including
copying RDF data with representation conversion, eg XML to N3
comparing two RDF files for isomorphism (extended equality)
an interface to the ARP RDF parser
access to the RDQL interpreter
a schema-to-Java generator
|
Modifier and Type | Method and Description |
---|---|
List<Rule> |
RuleSet.getRules() |
Modifier and Type | Method and Description |
---|---|
static RuleSet |
RuleSet.create(List<Rule> rules) |
Modifier and Type | Method and Description |
---|---|
Rule |
Rule.cloneRule()
Clone a rule, cloning any embedded variables.
|
Rule |
RuleDerivation.getRule() |
Rule |
RuleContext.getRule()
Returns the rule.
|
Rule |
Rule.instantiate(BindingEnvironment env)
Instantiate a rule given a variable binding environment.
|
Rule |
Rule.Parser.parseRule()
Parse a rule, terminated by a "]" or "." character.
|
static Rule |
Rule.parseRule(String source)
Parse a string as a rule.
|
Modifier and Type | Method and Description |
---|---|
List<Rule> |
FBRuleInfGraph.getBRules()
Return an ordered list of all registered backward rules.
|
List<Rule> |
RuleReasoner.getRules()
Answer the rules used by this Reasoner.
|
List<Rule> |
FBRuleInfGraph.getRules()
Return the originally supplied set of rules, may be a mix of forward
and backward rules.
|
List<Rule> |
BasicForwardRuleReasoner.getRules()
Return the this of Rules used by this reasoner
|
List<Rule> |
FBRuleReasoner.getRules()
Return the list of Rules used by this reasoner
|
List<Rule> |
LPBackwardRuleReasoner.getRules()
Return the this of Rules used by this reasoner
|
List<Rule> |
Rule.Parser.getRulesPreload()
Return the complete set of preloaded rules;
|
static List<Rule> |
RDFSForwardRuleReasoner.loadRules()
Return the RDFS rule set, loading it in if necessary
|
static List<Rule> |
OWLMiniReasoner.loadRules()
Return the rule set, loading it in if necessary
|
static List<Rule> |
OWLFBRuleReasoner.loadRules()
Return the rule set, loading it in if necessary
|
static List<Rule> |
RDFSFBRuleReasoner.loadRules()
Return the RDFS rule set, loading it in if necessary
|
static List<Rule> |
OWLMicroReasoner.loadRules()
Return the rule set, loading it in if necessary
|
static List<Rule> |
FBRuleReasoner.loadRules(String fileName)
Answer the list of rules loaded from the given filename.
|
static List<Rule> |
RDFSRuleReasoner.loadRulesLevel(String level)
Return the RDFS rule set, loading it in if necessary.
|
static List<Rule> |
Rule.parseRules(Rule.Parser parser)
Run a pre-bound rule parser to extract it's rules
|
static List<Rule> |
Rule.parseRules(String source)
Parse a string as a list a rules.
|
static List<Rule> |
Rule.rulesFromURL(String uri)
Answer the list of rules parsed from the given URL.
|
Modifier and Type | Method and Description |
---|---|
void |
FBRuleInfGraph.addBRule(Rule brule)
Adds a new Backward rule as a rusult of a forward rule process.
|
void |
BasicForwardRuleInfGraph.addBRule(Rule brule)
Adds a new Backward rule as a rules of a forward rule process.
|
void |
ForwardRuleInfGraphI.addBRule(Rule brule)
Adds a new Backward rule as a rules of a forward rule process.
|
void |
FBRuleInfGraph.addRuleDuringPrepare(Rule rule)
Add a new rule to the rule set.
|
void |
FBRuleInfGraph.deleteBRule(Rule brule)
Deletes a new Backward rule as a rules of a forward rule process.
|
void |
BasicForwardRuleInfGraph.deleteBRule(Rule brule)
Deletes a new Backward rule as a rules of a forward rule process.
|
void |
ForwardRuleInfGraphI.deleteBRule(Rule brule)
Deletes a new Backward rule as a rules of a forward rule process.
|
boolean |
BackwardRuleInfGraphI.processBuiltin(ClauseEntry clause,
Rule rule,
BindingEnvironment env)
Process a call to a builtin predicate
|
boolean |
LPBackwardRuleInfGraph.processBuiltin(ClauseEntry clause,
Rule rule,
BindingEnvironment env)
Process a call to a builtin predicate
|
boolean |
FBRuleInfGraph.processBuiltin(ClauseEntry clause,
Rule rule,
BindingEnvironment env)
Process a call to a builtin predicate
|
void |
RuleContext.setRule(Rule rule)
Sets the rule.
|
Modifier and Type | Method and Description |
---|---|
void |
FBRuleInfGraph.addBRules(List<Rule> rules)
Adds a set of new Backward rules
|
FBRuleReasoner |
FBRuleReasoner.addRules(List<Rule> rules)
Add the given rules to the current set and answer this Reasoner.
|
void |
RuleReasoner.setRules(List<Rule> rules)
Set the rules used by this reasoner.
|
void |
FBRuleReasoner.setRules(List<Rule> rules)
Set (or change) the rule set that this reasoner should execute.
|
void |
GenericRuleReasoner.setRules(List<Rule> rules)
Set (or change) the rule set that this reasoner should execute.
|
Constructor and Description |
---|
RuleDerivation(Rule rule,
Triple conclusion,
List<Triple> matches,
InfGraph infGraph)
Constructor
|
Constructor and Description |
---|
BasicForwardRuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema)
Constructor.
|
BasicForwardRuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema,
Graph data)
Constructor.
|
BasicForwardRuleReasoner(List<Rule> rules)
Constructor.
|
BasicForwardRuleReasoner(List<Rule> rules,
ReasonerFactory factory)
Constructor
|
FBRuleInfGraph.RuleStore(List<Rule> rawRules,
Object fRuleStore,
List<Rule> bRules)
Constructor.
|
FBRuleInfGraph.RuleStore(List<Rule> rawRules,
Object fRuleStore,
List<Rule> bRules)
Constructor.
|
FBRuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema)
Constructor.
|
FBRuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema,
Graph data)
Constructor.
|
FBRuleReasoner(List<Rule> rules)
Constructor.
|
FBRuleReasoner(List<Rule> rules,
ReasonerFactory factory)
Constructor
|
GenericRuleReasoner(List<Rule> rules)
Constructor.
|
GenericRuleReasoner(List<Rule> rules,
ReasonerFactory factory)
Constructor
|
LPBackwardRuleReasoner(List<Rule> rules)
Constructor.
|
LPBackwardRuleReasoner(List<Rule> rules,
ReasonerFactory factory)
Constructor
|
RDFSRuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema)
Constructor.
|
RDFSRuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema,
Graph data)
Constructor.
|
RETERuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema)
Constructor.
|
RETERuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema,
Graph data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static List<Rule> |
RuleMap.loadRules(BufferedReader src,
Map<String,String> prefixes)
Load a set of rule definitions including processing of
comment lines and any initial prefix definition lines.
|
static List<Rule> |
RuleMap.loadRules(String filename,
Map<String,String> prefixes)
Load a set of rule definitions including processing of
comment lines and any initial prefix definition lines.
|
Licenced under the Apache License, Version 2.0