diff --git a/rdf/rdf12/rdf-semantics/index.html b/rdf/rdf12/rdf-semantics/index.html index 3d6ee1fc..2d285517 100644 --- a/rdf/rdf12/rdf-semantics/index.html +++ b/rdf/rdf12/rdf-semantics/index.html @@ -381,6 +381,31 @@

+
+ + literal-type: + + literal-type +
+
+
+

Literals denote instances of their datatype.

+
+
+
type
+
mf:PositiveEntailmentTest
+
approval
+
+
action
+
+ canonical-literal-control.ttl +
+
result
+
+ literal-type.ttl +
+
+
malformed-literal-control: diff --git a/rdf/rdf12/rdf-semantics/literal-type.ttl b/rdf/rdf12/rdf-semantics/literal-type.ttl new file mode 100644 index 00000000..4f56824a --- /dev/null +++ b/rdf/rdf12/rdf-semantics/literal-type.ttl @@ -0,0 +1,7 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX : + +:a :b _:x . +_:x rdf:type xsd:integer . diff --git a/rdf/rdf12/rdf-semantics/manifest.ttl b/rdf/rdf12/rdf-semantics/manifest.ttl index 159a9b76..45acbca5 100644 --- a/rdf/rdf12/rdf-semantics/manifest.ttl +++ b/rdf/rdf12/rdf-semantics/manifest.ttl @@ -49,6 +49,7 @@ trs:manifest a mf:Manifest; trs:constrained-bnodes-in-triple-term-object trs:constrained-bnodes-in-triple-term-fail trs:constrained-bnodes-on-literal + trs:literal-type trs:malformed-literal-control trs:malformed-literal trs:malformed-literal-accepted @@ -231,6 +232,16 @@ trs:triple-terms-no-spurious a mf:NegativeEntailmentTest; mf:unrecognizedDatatypes (); test:approval test:NotClassified . +trs:literal-type a mf:PositiveEntailmentTest; + rdfs:comment "Literals denote instances of their datatype."; + mf:action ; + mf:entailmentRegime "RDF"; + mf:name "literal-type"; + mf:recognizedDatatypes (xsd:integer); + mf:result ; + mf:unrecognizedDatatypes (); + test:approval test:NotClassified . + trs:malformed-literal a mf:NegativeEntailmentTest; rdfs:comment "Malformed literals are allowed when in triple terms."; mf:action ;