Package | Description |
---|---|
eu.fbk.rdfpro |
RDFpro library.
|
Modifier and Type | Method and Description |
---|---|
Rule |
Ruleset.getRule(org.openrdf.model.URI ruleID)
Returns the rule with the ID specified, or null if there is no rule for that ID.
|
Rule |
Rule.rewriteGlobalGM(org.openrdf.model.URI globalGraph)
Rewrites the rule according to the GLOBAL graph inference mode, using the global graph URI
specified.
|
Rule |
Rule.rewriteSeparateGM()
Rewrites the rule according to the SEPARATE graph inference mode.
|
Rule |
Rule.rewriteStarGM(org.openrdf.model.URI globalGraph)
Rewrites the rule according to the STAR graph inference mode, using the global graph URI
supplied.
|
Rule |
Rule.rewriteVariables(org.openrdf.query.BindingSet bindings)
Rewrites the rule by replacing selected variables with constant values as dictated by the
supplied bindings.
|
Modifier and Type | Method and Description |
---|---|
static List<Rule> |
Rule.fromDLOG(Reader reader) |
static List<Rule> |
Rule.fromRDF(Iterable<org.openrdf.model.Statement> model)
Parses all the rules contained in the supplied RDF statements.
|
Set<Rule> |
Ruleset.getRules()
Returns the rules in this ruleset.
|
static List<Rule> |
Rule.mergeSameWhereExpr(Iterable<Rule> rules)
Merges rules with the same WHERE expression, priority and fixpoint flag.
|
Modifier and Type | Method and Description |
---|---|
int |
Rule.compareTo(Rule other)
Rules with the same ID are equal.
|
Modifier and Type | Method and Description |
---|---|
static int |
Rule.evaluate(Iterable<Rule> rules,
QuadModel model,
QuadModel deltaModel,
Supplier<org.openrdf.rio.RDFHandler> deleteSink,
Supplier<org.openrdf.rio.RDFHandler> insertSink) |
static List<Rule> |
Rule.mergeSameWhereExpr(Iterable<Rule> rules)
Merges rules with the same WHERE expression, priority and fixpoint flag.
|
Constructor and Description |
---|
Ruleset(Iterable<Rule> rules,
Iterable<org.openrdf.model.URI> metaVocabularyTerms)
Creates a new ruleset with the rules and meta-vocabulary terms supplied.
|
Copyright © 2015–2016 FBK-irst. All rights reserved.