;; Ontology 'source' in functional syntax Prefix(: = ) Prefix(xsd: = ) Prefix(rdf: = ) Prefix(rdfs: = ) Prefix(owl: = ) Ontology( Declaration(Annotation(rdfs:comment "No range so any literal is fine") DataProperty(:dp)) Declaration(NamedIndividual(:holder)) DataPropertyAssertion(:dp :holder "1"^^xsd:integer) DataPropertyAssertion(:dp :holder "6666666666"^^xsd:long) DataPropertyAssertion(:dp :holder "12.25"^^xsd:decimal) DataPropertyAssertion(:dp :holder "1"^^xsd:decimal) DataPropertyAssertion(:dp :holder "No use of rdf:test in old rdf serializations@en"^^rdf:text) DataPropertyAssertion(:dp :holder "1.1f6"^^xsd:float) DataPropertyAssertion(:dp :holder "1.1d6"^^xsd:double) DataPropertyAssertion(:dp :holder "string"^^xsd:string) DataPropertyAssertion(:dp :holder " "^^rdf:XMLLiteral) DataPropertyAssertion(:dp :holder "1/2"^^owl:rational) DataPropertyAssertion(:dp :holder "0"^^xsd:nonNegativeInteger) DataPropertyAssertion(:dp :holder "0"^^xsd:nonPositiveInteger) DataPropertyAssertion(:dp :holder "12"^^xsd:positiveInteger) DataPropertyAssertion(:dp :holder "-11"^^xsd:negativeInteger) DataPropertyAssertion(:dp :holder "13"^^xsd:int) DataPropertyAssertion(:dp :holder "14"^^xsd:short) DataPropertyAssertion(:dp :holder "15"^^xsd:byte) DataPropertyAssertion(:dp :holder "6666666666"^^xsd:unsignedLong) DataPropertyAssertion(:dp :holder "12"^^xsd:unsignedInt) DataPropertyAssertion(:dp :holder "17"^^xsd:unsignedShort) DataPropertyAssertion(:dp :holder "28"^^xsd:unsignedByte) DataPropertyAssertion(:dp :holder "true"^^xsd:boolean) DataPropertyAssertion(:dp :holder "C010"^^xsd:hexBinary) DataPropertyAssertion(:dp :holder "b3ds"^^xsd:base64Binary) DataPropertyAssertion(:dp :holder "http://www.w3.org/2007/OWL/wiki/Syntax"^^xsd:anyURI) DataPropertyAssertion(:dp :holder " There are no leading spaces in the value of this property"^^xsd:normalizedString) DataPropertyAssertion(:dp :holder "there is only one space between each word"^^xsd:token) DataPropertyAssertion(:dp :holder "en"^^xsd:language) DataPropertyAssertion(:dp :holder "_12345"^^xsd:Name) DataPropertyAssertion(:dp :holder "non-hyphenated"^^xsd:NCName) DataPropertyAssertion(:dp :holder "token token"^^xsd:NMTOKEN) DataPropertyAssertion(:dp :holder "2007-09-01T12:00:01"^^xsd:dateTime) DataPropertyAssertion(:dp :holder "2007-09-01T12:00:01-5:00"^^xsd:dateTimeStamp)) ;; Ontology 'source' parsed (ontology (:blank :ontology) (declaration (annotation !rdfs:comment "No range so any literal is fine") (dataproperty !ex:dp)) (declaration (namedindividual !ex:holder)) (datapropertyassertion !ex:dp !ex:holder (:literal "1" !xsd:integer)) (datapropertyassertion !ex:dp !ex:holder (:literal "6666666666" !xsd:long)) (datapropertyassertion !ex:dp !ex:holder (:literal "12.25" !xsd:decimal)) (datapropertyassertion !ex:dp !ex:holder (:literal "1" !xsd:decimal)) (datapropertyassertion !ex:dp !ex:holder (:literal "No use of rdf:test in old rdf serializations@en" !rdf:text)) (datapropertyassertion !ex:dp !ex:holder (:literal "1.1f6" !xsd:float)) (datapropertyassertion !ex:dp !ex:holder (:literal "1.1d6" !xsd:double)) (datapropertyassertion !ex:dp !ex:holder (:literal "string" !xsd:string)) (datapropertyassertion !ex:dp !ex:holder (:literal " " !rdf:XMLLiteral)) (datapropertyassertion !ex:dp !ex:holder (:literal "1/2" !owl:rational)) (datapropertyassertion !ex:dp !ex:holder (:literal "0" !xsd:nonNegativeInteger)) (datapropertyassertion !ex:dp !ex:holder (:literal "0" !xsd:nonPositiveInteger)) (datapropertyassertion !ex:dp !ex:holder (:literal "12" !xsd:positiveInteger)) (datapropertyassertion !ex:dp !ex:holder (:literal "-11" !xsd:negativeInteger)) (datapropertyassertion !ex:dp !ex:holder (:literal "13" !xsd:int)) (datapropertyassertion !ex:dp !ex:holder (:literal "14" !xsd:short)) (datapropertyassertion !ex:dp !ex:holder (:literal "15" !xsd:byte)) (datapropertyassertion !ex:dp !ex:holder (:literal "6666666666" !xsd:unsignedLong)) (datapropertyassertion !ex:dp !ex:holder (:literal "12" !xsd:unsignedInt)) (datapropertyassertion !ex:dp !ex:holder (:literal "17" !xsd:unsignedShort)) (datapropertyassertion !ex:dp !ex:holder (:literal "28" !xsd:unsignedByte)) (datapropertyassertion !ex:dp !ex:holder (:literal "true" !xsd:boolean)) (datapropertyassertion !ex:dp !ex:holder (:literal "C010" !xsd:hexBinary)) (datapropertyassertion !ex:dp !ex:holder (:literal "b3ds" !xsd:base64Binary)) (datapropertyassertion !ex:dp !ex:holder (:literal "http://www.w3.org/2007/OWL/wiki/Syntax" !xsd:anyURI)) (datapropertyassertion !ex:dp !ex:holder (:literal " There are no leading spaces in the value of this property" !xsd:normalizedString)) (datapropertyassertion !ex:dp !ex:holder (:literal "there is only one space between each word" !xsd:token)) (datapropertyassertion !ex:dp !ex:holder (:literal "en" !xsd:language)) (datapropertyassertion !ex:dp !ex:holder (:literal "_12345" !xsd:Name)) (datapropertyassertion !ex:dp !ex:holder (:literal "non-hyphenated" !xsd:NCName)) (datapropertyassertion !ex:dp !ex:holder (:literal "token token" !xsd:NMTOKEN)) (datapropertyassertion !ex:dp !ex:holder (:literal "2007-09-01T12:00:01" !xsd:dateTime)) (datapropertyassertion !ex:dp !ex:holder (:literal "2007-09-01T12:00:01-5:00" !xsd:dateTimeStamp))) ;; Ontology 'source' in rdf/xml 1.1f6 12 en string There are no leading spaces in the value of this property 1 No use of rdf:test in old rdf serializations -11 12 13 http://www.w3.org/2007/OWL/wiki/Syntax 1/2 there is only one space between each word 14 15 28 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:ex="http://example.com/"> <owl:Ontology/> <rdf:Description rdf:about="http://example.com/a"> <owl:differentFrom rdf:resource="http://example.com/b"/> </rdf:Description> </rdf:RDF> _12345 true 2007-09-01T12:00:01-5:00 non-hyphenated 1 0 token token 1.1d6 0 b3ds 2007-09-01T12:00:01 17 6666666666 C010 6666666666 12.25 No range so any literal is fine ;; Ontology 'source' as ntriples _:b1 . . _:b2 . _:b2 . _:b2 . _:b2 . _:b2 "No range so any literal is fine"^^ . . "1"^^ . "6666666666"^^ . "12.25"^^ . "1"^^ . "No use of rdf:test in old rdf serializations"@en . "1.1f6"^^ . "1.1d6"^^ . "string"^^ . " "^^ . "1/2"^^ . "0"^^ . "0"^^ . "12"^^ . "-11"^^ . "13"^^ . "14"^^ . "15"^^ . "6666666666"^^ . "12"^^ . "17"^^ . "28"^^ . "true"^^ . "C010"^^ . "b3ds"^^ . "http://www.w3.org/2007/OWL/wiki/Syntax"^^ . " There are no leading spaces in the value of this property"^^ . "there is only one space between each word"^^ . "en"^^ . "_12345"^^ . "non-hyphenated"^^ . "token token"^^ . "2007-09-01T12:00:01"^^ . "2007-09-01T12:00:01-5:00"^^ .