Home | Trees | Indices | Help |
---|
|
Closure.Core --+ | OWLRL_Semantics
OWL 2 RL Semantics class, ie, implementation of the OWL 2 RL closure graph.
Note that the module does not implement the so called Datatype entailment rules, simply because the underlying RDFLib does not implement the datatypes (ie, RDFLib will not make the literal "1.00" and "1.00000" identical, although even with all the ambiguities on datatypes, this should be made equal...). Also, the so-called extensional entailment rules (Section 7.3.1 in the RDF Semantics document) have not been implemented either.
The comments and references to the various rule follow the names as used in the OWL 2 RL document.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
|
Shorthand to get a list of values (ie, from an rdf:List structure) starting at a head
|
Remove triples with bnode predicates. The Bnodes in the graph are collected in the first cycle run.
|
Add axioms
|
Add the datatype axioms
|
Helping method to check whether a type statement is in line with a possible restriction. This method is invoked by rule "cls-avf" before setting a type on an allValuesFrom restriction. The method is a placeholder at this level. It is typically implemented by subclasses for extra checks, eg, for datatype facet checks.
|
Some of the rules in the rule set are axiomatic in nature, meaning that they really have to be added only once, there is no reason to add these in a cycle. These are performed by this method that is invoked only once at the beginning of the process. These are: cls-thing, cls-nothing1, prp-ap, dt-types1, dt-types2, dt-eq, dt-diff. Note, however, that the dt-* are executed only partially, limited by the possibilities offered by RDFLib. These may not cover all the edge cases of OWL RL. Especially, dt-not-type has not (yet?) been implemented (I wonder whether RDFLib should not raise exception for those anyway... |
Some of the rules in the rule set are axiomatic in nature, meaning that they really have to be added only once, there is no reason to add these in a cycle. These are performed by this method that is invoked only once at the beginning of the process. These are: cls-thing, cls-nothing1, prp-ap, dt-types1, dt-types2, dt-eq, dt-diff.
|
Go through the various rule groups, as defined in the OWL-RL profile text and implemented via local methods. (The calling cycle takes every tuple in the graph.)
|
Implementation of the property chain axiom, invoked from inside the property axiom handler. This is the implementation of rule prp-spo2, taken aside for an easier readability of the code. |
Table 4: Semantics of equality. Essentially, the eq-* rules.
|
Table 5: The Semantics of Axioms about Properties. Essentially, the prp-* rules.
|
Table 6: The Semantics of Classes. Essentially, the cls-* rules
|
Table 7: Class Axioms. Essentially, the cax-* rules.
|
Table 9: The Semantics of Schema Vocabulary. Essentially, the scm-* rules
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Feb 7 15:00:18 2014 | http://epydoc.sourceforge.net |