Package | Description |
---|---|
eu.fbk.rdfpro |
RDFpro library.
|
Modifier and Type | Field and Description |
---|---|
static Ruleset |
Ruleset.OWL2RL |
static Ruleset |
Ruleset.RDFS |
static Ruleset |
Ruleset.RHODF |
Modifier and Type | Method and Description |
---|---|
static Ruleset |
Ruleset.fromRDF(Iterable<org.openrdf.model.Statement> model)
Parses a ruleset from the supplied RDF statements.
|
static Ruleset |
Ruleset.fromRDF(String location)
Parses a ruleset from the RDF located at the specified location.
|
Ruleset |
Ruleset.getABoxRuleset(QuadModel tboxData)
Returns the ruleset with the ABox rules obtained from the rules of this ruleset and the
TBox data specified.
|
Ruleset |
RuleEngine.getRuleset()
Returns the ruleset applied by this engine
|
static Ruleset |
Ruleset.merge(Ruleset... rulesets)
Merges multiple rulesets in a single ruleset.
|
Ruleset |
Ruleset.mergeSameWhereExpr()
Returns the ruleset obtained by merging the rules in this ruleset with the same WHERE
expression, priority and fixpoint flag.
|
Ruleset |
Ruleset.rewriteGlobalGM(org.openrdf.model.URI globalGraph)
Returns the ruleset obtained by rewriting the rules of this ruleset according to the GLOBAL
graph inference mode, using the global graph URI specified.
|
Ruleset |
Ruleset.rewriteSeparateGM()
Returns the ruleset obtained by rewriting the rules of this ruleset according to the
SEPARATE graph inference mode.
|
Ruleset |
Ruleset.rewriteStarGM(org.openrdf.model.URI globalGraph)
Returns the ruleset obtained by rewriting the rules of this ruleset according to the STAR
graph inference mode, using the global graph URI supplied.
|
Ruleset |
Ruleset.rewriteVariables(org.openrdf.query.BindingSet bindings)
Returns the ruleset obtained by replacing selected variables in the rules of this ruleset
with the constant values dictated by the supplied bindings.
|
Modifier and Type | Method and Description |
---|---|
static RuleEngine |
RuleEngine.create(Ruleset ruleset)
Factory method for creating a new
RuleEngine using the Ruleset specified. |
static Ruleset |
Ruleset.merge(Ruleset... rulesets)
Merges multiple rulesets in a single ruleset.
|
static RDFProcessor |
RDFProcessors.rules(Ruleset ruleset,
Mapper mapper,
boolean dropBNodeTypes,
boolean deduplicate)
Returns an
RDFProcessor that applies the ruleset specified on input statements
either as a whole or partitioned based on an optional Mapper . |
static RDFProcessor |
RDFProcessors.rules(Ruleset ruleset,
Mapper mapper,
boolean dropBNodeTypes,
boolean deduplicate,
RDFSource tboxData,
boolean emitTBox,
org.openrdf.model.URI tboxContext)
Returns an
RDFProcessor that expands the ruleset based on the supplied TBox and
applies the resulting ruleset on input statements either as a whole or partitioned based on
an optional Mapper . |
Constructor and Description |
---|
RuleEngine(Ruleset ruleset)
Creates a new
RuleEngine using the Ruleset specified. |
Copyright © 2015–2016 FBK-irst. All rights reserved.