18.10.2014 Views

An inference engine for RDF - Agfa

An inference engine for RDF - Agfa

An inference engine for RDF - Agfa

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>An</strong> <strong>inference</strong> <strong>engine</strong> <strong>for</strong> <strong>RDF</strong><br />

Appendix 5. A theory of graph resolution<br />

5.1. Introduction<br />

In this section I present the complete series of definitions and lemmas.<br />

5.2. Definitions<br />

A triple consists of two labeled nodes and a labeled arc.<br />

A tripleset is a set of triples.<br />

A graph is represented by a set of triplesets.<br />

A rule consists of antecedents and a consequent. The antecedents are a tripleset;<br />

the consequent is a triple.<br />

Applying a rule r to a graph G in the closure process is the process of unifying<br />

the antecedents with all possible triples of the graph G while propagating the<br />

substitutions. For each successful unification the consequents of the rule is<br />

added to the graph with its variables substituted.<br />

Applying a rule r to a subgraph g in the resolution process is the process of<br />

unifying the consequents with all possible triples of g while propagating the<br />

substitutions. For each successful unification the antecedents of the rule are<br />

added to the goallist of the resolution process (see the explanation of the<br />

resolution process).<br />

A rule r is valid with respect to the graph G if its closure G’ with respect to the<br />

graph G is a valid graph.<br />

A graph G is valid if all the elements of its representation are triples.<br />

The graph G entails the graph T using the rule R if T is a subgraph of the closure<br />

G’ of the graph G with respect to the rule R.<br />

The closure G’ of a graph G with respect to a ruleset R is the result of the<br />

application of the rules of the ruleset R to the graph G giving intermediate<br />

graphs Gi till no more new triples can be generated. A graph may not contain<br />

duplicate triples.<br />

149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!