This is an archive of an inactive wiki and cannot be modified.

Neo Geo Schema as W3C Geo vocabulary qualifiers

Introduction

Outline

A basic part of the schema is shown in the figure as follows. The data of the sample (instance) has been also described at upper part of figure. geoqschema2_2

The variation of data with roughly the same meaning is shown in the figure as follows. geoqsample_1

And, in an original proposal, the enhancing notation of the point property seems not to conform to RDF/XML.

Schema described with RDF/XML

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
 xml:base="http://www.w3.org/2005/Incubator/geo/geoq#"
 xmlns:dcterms="http://purl.org/dc/terms/"
 xmlns:rss="http://purl.org/rss/1.0/"
 xmlns:owl="http://www.w3.org/2002/07/owl#"
 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:dcq="http://purl.org/dc/terms/"
 xmlns:foaf="http://xmlns.com/foaf/0.1/"
 xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
 xmlns:geoq="http://www.w3.org/2005/Incubator/geo/geoq#"
>
<!-- W3C Geo vocabulary qualifiers -->
<rdf:Description rdf:about="http://www.w3.org/2005/Incubator/geo/geoq#">
 <dc:title>W3C Geo vocabulary qualifiers</dc:title>
 <dc:date>$Date: 2010/03/31 18:15:48 $</dc:date>
 <rdfs:label>geoq</rdfs:label>
 <rdfs:comment>
 This specification is designed to harmonize with other well-known rdf vocabularies. (DC,GEO,FOAF)

 Recent changes to this schema:
 revision 1.0
 date: 2006/12/22 12:22:00;  author: Satoru Takagi;  state: Exp;
 date: 2007/2/9 ;  author: Satoru Takagi;  add geoq:elev property into example;

 </rdfs:comment>
</rdf:Description>


<!-- Example Description -->

<rdf:Description rdf:ID="thing0">
 <geoq:where rdf:resource="#thing1"/>
 <geoq:point rdf:resource="#thing1"/>
 <geoq:point>+35.135+133.248/</geoq:point>
 <geoq:elev>23</geoq:elev>
 <geoq:point geoq:radius="500" geoq:floor="2" rdf:value="+35.135+133.248/"/>
</rdf:Description>

<rdf:Description rdf:ID="thing1">
 <rdf:type rdf:resource="http://www.w3.org/2005/Incubator/geo/geoq#Point"/>
 <geo:lat>35.135</geo:lat>
 <geo:long>133.248</geo:long>
 <geoq:pos>+35.135+133.248/</geoq:pos>
 <rdf:value>+35.135+133.248/</rdf:value>
</rdf:Description>


<!-- Schema Start -->

<!-- Base and Point -->

<rdfs:Class rdf:ID="Feature">
 <rdfs:subClassOf rdf:resource="http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing"/>
</rdfs:Class>

<rdfs:Class rdf:ID="Point">
 <rdfs:subClassOf rdf:resource="#Feature"/>
 <rdfs:subClassOf rdf:resource="http://www.w3.org/2003/01/geo/wgs84_pos#Point"/>
</rdfs:Class>

<rdf:Property rdf:ID="where">
 <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/spatial"/>
 <rdfs:domain rdf:resource="http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing"/>
 <rdfs:range rdf:resource="#Feature"/>
</rdf:Property>

<rdf:Property rdf:ID="point">
 <rdfs:subPropertyOf rdf:resource="#where"/>
 <rdfs:range rdf:resource="#Point"/>
 <rdfs:range rdf:resource="http://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude#element"/>
</rdf:Property>

<rdf:Property rdf:ID="pos">
 <rdfs:subPropertyOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#value"/>
 <rdfs:domain rdf:resource="#Feature"/>
 <rdfs:range rdf:resource="http://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude#element"/>
</rdf:Property>



<!-- Comment -->
<rdf:Property rdf:about="http://xmlns.com/foaf/0.1/based_near">
 <rdfs:subPropertyOf rdf:resource="#where"/>
</rdf:Property>



<!-- More complex Spatial Things -->
<!-- Line -->
<rdf:Property rdf:ID="line">
 <rdfs:subPropertyOf rdf:resource="#where"/>
 <rdfs:range rdf:resource="#LineString"/>
 <rdfs:range rdf:resource="http://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude#sequence"/>
</rdf:Property>

<rdfs:Class rdf:ID="LineString">
 <rdfs:subClassOf rdf:resource="#Feature"/>
</rdfs:Class>

<rdf:Property rdf:ID="posList">
 <rdfs:subPropertyOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#value"/>
 <rdfs:domain rdf:resource="#LineString"/>
 <rdfs:domain rdf:resource="#LinearRing"/>
 <rdfs:range rdf:resource="http://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude#sequence"/>
</rdf:Property>


<!-- Polygon -->
<rdf:Property rdf:ID="polygon">
 <rdfs:subPropertyOf rdf:resource="#where"/>
 <rdfs:range rdf:resource="#Polygon"/>
 <rdfs:range rdf:resource="http://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude#sequence"/>
</rdf:Property>

<rdfs:Class rdf:ID="Polygon">
 <rdfs:subClassOf rdf:resource="#Feature"/>
</rdfs:Class>

<rdf:Property rdf:ID="exterior">
 <rdfs:domain rdf:resource="#Polygon"/>
 <rdfs:range rdf:resource="#LinearRing"/>
</rdf:Property>

<rdfs:Class rdf:ID="LinearRing">
 <rdfs:subClassOf rdf:resource="http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing"/>
</rdfs:Class>


<!-- Box -->
<rdf:Property rdf:ID="box">
 <rdfs:subPropertyOf rdf:resource="#where"/>
 <rdfs:range rdf:resource="#Envelope"/>
 <rdfs:range rdf:resource="http://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude#couple"/>
</rdf:Property>

<rdfs:Class rdf:ID="Envelope">
 <rdfs:subClassOf rdf:resource="#Feature"/>
</rdfs:Class>

<rdf:Property rdf:ID="lowerCorner">
 <rdfs:subPropertyOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#value"/>
 <rdfs:domain rdf:resource="#Envelope"/>
 <rdfs:range rdf:resource="http://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude#element"/>
</rdf:Property>

<rdf:Property rdf:ID="upperCorner">
 <rdfs:subPropertyOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#value"/>
 <rdfs:domain rdf:resource="#Envelope"/>
 <rdfs:range rdf:resource="http://www.w3.org/2005/Incubator/geo/Wiki/LatitudeLongitudeAltitude#element"/>
</rdf:Property>


<!-- Other properties -->
<!-- for tagging -->
<rdf:Property rdf:ID="featuretypetag">
 <rdfs:domain rdf:resource="#Feature"/>
 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</rdf:Property>

<rdf:Property rdf:ID="relationshiptag">
 <rdfs:domain rdf:resource="#Feature"/>
 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</rdf:Property>

<!-- elevation , floor , radius -->
<rdf:Property rdf:ID="elev">
 <rdfs:domain rdf:resource="#Feature"/>
 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
</rdf:Property>

<rdf:Property rdf:ID="floor">
 <rdfs:domain rdf:resource="#Feature"/>
 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
</rdf:Property>

<rdf:Property rdf:ID="radius">
 <rdfs:domain rdf:resource="#Feature"/>
 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
</rdf:Property>

</rdf:RDF>

See Also