RDFS Datatypes Requirements for WKT Serialization serialization=WKT

Copyright © 2012 Open Geospatial Consortium 17 an explicit spatial reference system URI. reqgeometry-extensionwkt-literal-default-srs Req 12 Coordinate tuples within geo:wktLiterals shall be interpreted using the axis order defined in the spatial reference system used. reqgeometry-extensionwkt-axis-order The example geo:wktLiteral below encodes a point geometry using the default WGS 84 geodetic longitude-latitude spatial reference system for Simple Features 1.0: Point-83.38 33.95http:www.opengis.netontgeosparqlwktLiteral A second example below encodes the same point using http:www.opengis.netdefcrsEPSG04326 : a WGS 84 geodetic latitude-longitude spatial reference system note that this spatial reference system defines a different axis order: http:www.opengis.netdefcrsEPSG04326 Point33.95 -83.38http:www.opengis.netontgeosparqlwktLiteral Req 13 An empty RDFS Literal of type geo:wktLiteral shall be interpreted as an empty geometry. reqgeometry-extensionwkt-literal-empty

8.5.2 Serialization Properties

The geo:asWKT property is defined to link a geometry with its WKT serialization. Property: geo:asWKT Req 14 Implementations shall allow the RDF property geo:asWKT to be used in SPARQL graph patterns. reqgeometry-extensiongeometry-as-wkt-literal The property geo:asWKT is used to link a geometric element with its WKT serialization. geo:asWKT a rdf:Property, 18 Copyright © 2012 Open Geospatial Consortium owl:DatatypeProperty; rdfs:subPropertyOf geo:hasSerialization; rdfs:isDefinedBy http:www.opengis.netspecgeosparql1.0; rdfs:label as WKTen; rdfs:comment The WKT serialization of a geometry.en; rdfs:domain geo:Geometry; rdfs:range geo:wktLiteral .

8.6 Requirements for GML Serialization serialization=GML

This section establishes requirements for representing geometry data in RDF based on GML as defined by Geography Markup Language Encoding Standard [OGC 07-036].

8.6.1 RDFS Datatypes

This section defines one RDFS Datatype: http:www.opengis.netontgeosparqlgmlLiteral . RDFS Datatype: geo:gmlLiteral geo:gmlLiteral a rdfs:Datatype; rdfs:isDefinedBy http:www.opengis.netspecgeosparql1.0; rdfs:label GML literalen; rdfs:comment The datatype of GML literal valuesen . Valid geo:gmlLiterals are formed by encoding geometry information as a valid element from the GML schema that implements a subtype of GM_Object . For example, in GML 3.2.1 this is every element directly or indirectly in the substitution group of the element {http:www.opengis.netontgml3.2}AbstractGeometry . In GML 3.1.1 and GML 2.1.2 this is every element directly or indirectly in the substitution group of the element {http:www.opengis.netontgml}_Geometry . Req 15 All geo:gmlLiterals shall consist of a valid element from the GML schema that implements a subtype of GM_Object as defined in [OGC 07-036]. reqgeometry-extensiongml-literal The example geo:gmlLiteral below encodes a point geometry in the WGS 84 geodetic longitude-latitude spatial reference system using GML version 3.2: gml:Point srsName=\http:www.opengis.netdefcrsOGC1.3CRS84\ xmlns:gml=\http:www.opengis.netontgml\ gml:pos-83.38 33.95gml:pos gml:Pointhttp:www.opengis.netontgeosparqlgmlLiteral