Subject: | RDF Tagging is inconsistent between different pages |
The RDF tagging scheme for a node with geographical metadata has information under tag <geo:SpatialThing>, including the list of categories.
When there is no geodata, there is no <geo:SpatialThing> tag, but much data you would expect to find here migrates to another <rdf:Description> tag.
We need something consistent if we want to parse this usefully.
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:wiki="http://purl.org/rss/1.0/modules/wiki/"
xmlns:chefmoz="http://chefmoz.org/rdf/elements/1.0/"
xmlns:wn="http://xmlns.com/wordnet/1.6/"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:os="http://downlode.org/rdf/os/0.1/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns="http://www.w3.org/2000/10/swap/pim/contact#"
>
<rdf:Description rdf:about="">
<dc:title>The Open Guide to London: AMT Espresso</dc:title>
<dc:date>2003-12-10T09:32:37</dc:date>
<dcterms:modified>2003-12-10T09:32:37</dcterms:modified>
<dc:contributor>Kake</dc:contributor>
<dc:source rdf:resource="http://london.openguides.org/index.cgi?AMT_Espresso" />
<wiki:version>4</wiki:version>
<foaf:topic rdf:resource="#obj" />
</rdf:Description>
<rdf:Description rdf:ID="obj" dc:title="AMT Espresso">
<!-- categories -->
<dc:subject>Coffee Shops</dc:subject>
<!-- contact information -->
<foaf:homepage rdf:resource="http://www.amtespresso.co.uk/" />
<chefmoz:Hours>Various</chefmoz:Hours>
</rdf:Description>
</rdf:RDF>
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:wiki="http://purl.org/rss/1.0/modules/wiki/"
xmlns:chefmoz="http://chefmoz.org/rdf/elements/1.0/"
xmlns:wn="http://xmlns.com/wordnet/1.6/"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:os="http://downlode.org/rdf/os/0.1/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns="http://www.w3.org/2000/10/swap/pim/contact#"
>
<rdf:Description rdf:about="">
<dc:title>The Open Guide to London: Fenchurch Street Station</dc:title>
<dc:date>2005-10-14T17:16:05</dc:date>
<dcterms:modified>2005-10-14T17:16:05</dcterms:modified>
<dc:contributor>IvorW</dc:contributor>
<dc:source rdf:resource="http://london.openguides.org/index.cgi?Fenchurch_Street_Station" />
<wiki:version>8</wiki:version>
<foaf:topic rdf:resource="#obj" />
</rdf:Description>
<geo:SpatialThing rdf:ID="obj" dc:title="Fenchurch Street Station">
<dc:description>Fenchurch Street is a railway station in the City of London.</dc:description>
<!-- categories -->
<dc:subject>Rail</dc:subject>
<!-- address and geospatial data -->
<address>Fenchurch Place</address>
<city>London</city>
<postalCode>EC3M 4AJ</postalCode>
<country>United Kingdom</country>
<foaf:based_near>
<wn:Neighborhood>
<foaf:name>City of London</foaf:name>
</wn:Neighborhood>
</foaf:based_near>
<foaf:based_near>
<wn:Neighborhood>
<foaf:name>Tower Hill</foaf:name>
</wn:Neighborhood>
</foaf:based_near>
<geo:lat>51.511138</geo:lat>
<geo:long>-0.076996</geo:long>
<!-- contact information -->
<foaf:homepage rdf:resource="http://www.networkrail.co.uk/Stations/stations/FenchurchStreet/Default.aspx" />
<chefmoz:Hours>First & Last: Mon-Fr 05:10 / 00:25, Sat 05:10 / 00:40, Sun 06:40 / 00:10</chefmoz:Hours>
</geo:SpatialThing>
</rdf:RDF>