Semantic layering is a current problem in the Semantic Web. This is strange, as there are many examples of semantic layering in logical formalisms that have been around for decades. The problem is that semantic layering in the Semantic Web is a much stronger notion than what one would think it should be. Some effects of this very strong notion and how to get around them are presented.
Logic Layering | Semantic Web Layering | |
---|---|---|
Levels | Propositional Logic Description Logics Propositional Modal Logics First-Order Logic Higher-Order Logic |
XML RDF RDFS Full OWL ???? |
Syntax | Different: extensions or even just different | Same: every layer (above XML) must use RDF triples |
Semantics | Compatible: inference is preserved between levels | Same: only possible change is adding semantic constraints |
Effects | Each layer has freedom | Like working in a straightjacket |
_:r rdf:type owl:Restriction .
_:r owl:onProperty ex:friend .
_:r owl:allValuesFrom ex:Person .
_:or rdf:type ll:or .
_:or ll:arg1 raining .
_:or ll:arg2 Tuesday .
_:l rdf:first ex:one .
_:l rdf:rest rdf:nil .
ex:John ll:believes _:pa .
_:pa rdf:subject ex:ClarkKent .
_:pa rdf:predicate owl:sameIndividualAs .
_:pa rdf:object ex:SuperMan .
_:a rdf:type ll:forall .
_:a ll:variable ex:x .
_:a ll:formula _:f .
_:f rdf:subject ex:x .
...
P ∨ Q
vs P(a) ∨
Q(b)
;
different semantics - mapping from letters to truth values vs mapping
from predicates to sets of tuples; but there is an
entailment-preserving mapping
A Desirable Inference:
A Unfortunate Inference from too-strong comprehension principles: