hcts-hra / ziziphus

10 stars 2 forks source link

[location] - pull geo-coordinates #325

Open MatthiasArnold opened 9 years ago

MatthiasArnold commented 9 years ago

can we do the following: when a location is referenced through a repository which provides geo-coordinates (e.g. TGN), these will also be pulled into the record.

TGN uses wgs84 decimal (epsg: 4326) TGN (in rdf) can have more than one representation, e.g. for Heidelberg:

<schema:Place rdf:about="http://vocab.getty.edu/tgn/7005177-place">
    <rdf:type rdf:resource="http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing"/>
    <dct:license rdf:resource="http://opendatacommons.org/licenses/by/1.0/"/>
    <void:inDataset rdf:resource="http://vocab.getty.edu/dataset/tgn"/>
    <cc:license rdf:resource="http://opendatacommons.org/licenses/by/1.0/"/>
    <wgs:lat rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">49.416667</wgs:lat>
    <schema:geo rdf:resource="http://vocab.getty.edu/tgn/7005177-geometry"/>
    <wgs:long rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">8.7</wgs:long>
</schema:Place>
<schema:GeoCoordinates rdf:about="http://vocab.getty.edu/tgn/7005177-geometry">
    <schema:latitude rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">49.416667</schema:latitude>
    <schema:longitude rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">8.7</schema:longitude>
</schema:GeoCoordinates>

(also available in json)

zwobit commented 9 years ago

xml?