Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

LinkedGeoData URIs equivalents for OSM tags

45 views
Skip to first unread message

kontob...@gmail.com

unread,
Feb 10, 2015, 1:55:57 PM2/10/15
to linked-...@googlegroups.com
Hi,
I would like to ask you for your help about mapping OSM tags to Linkedgeodata URIs.

I use mapping tables at https://github.com/GeoKnow/LinkedGeoData/blob/master/linkedgeodata-core/src/main/resources/org/aksw/linkedgeodata/sql/Mappings.sql .

Usually there is no problem, OSM tag has own URI, but in some case URI is missing or it has different name. f.e. :
a. for http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dmonastery I found only http://linkedgeodata.org/ontology/BuildingMonastery
b. for http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplanetarium I found http://linkedgeodata.org/ontology/ManMadeObservatory
c. for http://wiki.openstreetmap.org/wiki/Tag:man_made%3Dtower I found http://linkedgeodata.org/ontology/LookoutTower

Are these examples mapped correctly please?

examples of missing URIs for tags:
d. http://wiki.openstreetmap.org/wiki/Tag:building%3Dtemple
e. http://wiki.openstreetmap.org/wiki/Tag:building%3Dcathedral and
f. http://wiki.openstreetmap.org/wiki/Tag:building%3Dsynagogue

For some types of buildings there is additional information, f.e. "der burg" has main tag:
http://wiki.openstreetmap.org/wiki/Tag:historic%3Dcastle
and additional tag:
http://wiki.openstreetmap.org/wiki/Tag:castle_type%3Ddefensive

How can I map tags with URIs for these buildings please? Is there a URI or a property for the castle types?

Thank you very much for your help

petr

Claus Stadler

unread,
Mar 30, 2015, 7:53:27 AM3/30/15
to kontob...@gmail.com, linked-...@googlegroups.com, Jens Lehmann
Hi,

I made changes according to your suggestions / requests:

https://github.com/GeoKnow/LinkedGeoData/commit/ba60b5b180e88023f82c7bc211c787c2f83c0437

I still need to deploy the changes to the database, but this will happen today.
If you need additional mappings, I suggest to make a pull request with your mappings on github.


a. There already is lgdo:Monastery
In the mapping file, although there is a mapping (building, monastery) -> (rdf:type, lgdo:BuildingMonastery), this mapping is overridden, as building

(building, *) -> lgdo:Building
(building, yes) -> lgdo:UnclassifiedBuilding  ("Use this value where it is not possible to determine a more specific value." ~ http://wiki.openstreetmap.org/wiki/Tag:building%3Dyes)
(building, house) -> lgdo:House

b. Added (amenity, planetarium) -> lgdo:Planetarium

c. There already is (man_made, tower) -> lgdo:Tower

d. Added (building, temple) -> lgdo:Temple

e. Added (building, cathedral) -> lgdo:Cathedral

f. Added property lgdo:castleType values are just strings for now according to http://wiki.openstreetmap.org/wiki/Key:castle_type


Cheers,
Claus
--
You received this message because you are subscribed to the Google Groups "Linked Geo Data" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linked-geo-da...@googlegroups.com.
To post to this group, send email to linked-...@googlegroups.com.
Visit this group at http://groups.google.com/group/linked-geo-data.
For more options, visit https://groups.google.com/d/optout.

-- 
Dipl. Inf. Claus Stadler
Department of Computer Science, University of Leipzig
Research Group: http://aksw.org/
Workpage & WebID: http://aksw.org/ClausStadler
Phone: +49 341 97-32260

Melvin Carvalho

unread,
Mar 30, 2015, 8:30:28 AM3/30/15
to linked-...@googlegroups.com, kontob...@gmail.com, Jens Lehmann
On 30 March 2015 at 13:53, Claus Stadler <csta...@informatik.uni-leipzig.de> wrote:
Hi,

I made changes according to your suggestions / requests:

https://github.com/GeoKnow/LinkedGeoData/commit/ba60b5b180e88023f82c7bc211c787c2f83c0437

I still need to deploy the changes to the database, but this will happen today.
If you need additional mappings, I suggest to make a pull request with your mappings on github.


a. There already is lgdo:Monastery
In the mapping file, although there is a mapping (building, monastery) -> (rdf:type, lgdo:BuildingMonastery), this mapping is overridden, as building

(building, *) -> lgdo:Building
(building, yes) -> lgdo:UnclassifiedBuilding  ("Use this value where it is not possible to determine a more specific value." ~ http://wiki.openstreetmap.org/wiki/Tag:building%3Dyes)
(building, house) -> lgdo:House

b. Added (amenity, planetarium) -> lgdo:Planetarium

c. There already is (man_made, tower) -> lgdo:Tower

d. Added (building, temple) -> lgdo:Temple

e. Added (building, cathedral) -> lgdo:Cathedral

f. Added property lgdo:castleType values are just strings for now according to http://wiki.openstreetmap.org/wiki/Key:castle_type

Great to see this activity.  One of my all time favourite linked data projects :)

kontob...@gmail.com

unread,
Apr 2, 2015, 6:54:21 AM4/2/15
to linked-...@googlegroups.com, kontob...@gmail.com, leh...@informatik.uni-leipzig.de
Many thanks!

Petr

Dne pondělí 30. března 2015 13:53:27 UTC+2 Claus Stadler napsal(a):
Reply all
Reply to author
Forward
0 new messages