FS2RDF-literals-ar
From OWL Test Cases
[Download OWL] | |
Test Id | FS2RDF-literals-ar |
---|---|
Description | Functional syntax to RDFXML of each type of literal |
Status | New test (no official status yet) |
Author | Alan Ruttenberg |
Original syntax | Functional |
Syntactic Species/Profile | OWL 2 DL (not EL, not QL, not RL) |
Semantics | This test is applicable under both direct and RDF-based semantics. |
Specification Reference | http://www.w3.org/TR/owl2-mapping-to-rdf/ |
Consistent ontology (download)
Convert syntax: RDF, XML, Manchester This informative conversion will be incorrect for OWL 2 Full. info.pngConversions are provided by the OWL Syntax Converter which tries to "repair" OWL 2 Full inputs to become DL. | |
Prefix(: = <http://example.org/>)
Prefix(xsd: = <http://www.w3.org/2001/XMLSchema#>) Prefix(rdf: = <http://www.w3.org/1999/02/22-rdf-syntax-ns#>) Prefix(rdfs: = <http://www.w3.org/2000/01/rdf-schema#>) Prefix(owl: = <http://www.w3.org/2002/07/owl#>) Ontology( Declaration(Annotation(rdfs:comment "No range so any literal is fine") DataProperty(:dp)) Declaration(NamedIndividual(:holder)) Declaration(DataProperty(:dp)) DataPropertyAssertion(:dp :holder "1") 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:PlainLiteral in old rdf serializations@en"^^rdf:PlainLiteral) DataPropertyAssertion(:dp :holder "1.1e6"^^xsd:float) DataPropertyAssertion(:dp :holder "1.1e6"^^xsd:double) DataPropertyAssertion(:dp :holder "string"^^xsd:string) DataPropertyAssertion(:dp :holder "<rdf:RDF xmlns:ex=\"http://example.org/\" xmlns:owl=\"http://www.w3.org/2002/07/owl#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\" > <owl:Ontology></owl:Ontology> <rdf:Description rdf:about=\"http://example.org/a\"> <owl:differentFrom rdf:resource=\"http://example.org/b\"/> </rdf:Description> </rdf:RDF> "^^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 "Normalized string can't have carriage return (#xD), line feed (#xA) or tab (#x9) characters in them"^^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"^^xsd:NMTOKEN) DataPropertyAssertion(:dp :holder "2007-09-01T12:00:01"^^xsd:dateTime) DataPropertyAssertion(:dp :holder "2007-09-01T12:00:01-05:00"^^xsd:dateTimeStamp)) | |
Imported ontologies | none |
Auxiliary syntax documents | FS2RDF-literals-ar-RDFXML |