[OSM-talk] OSM-WIKI: reducing redundancy, less redundant and standardized data exchange

Karl Guggisberg karl.guggisberg at guggis.ch
Sun Jan 11 09:11:10 GMT 2009

Hi Denny

yes, we made some progress, see [1] (there is also another proposal User:Ck3d is actively working on, see [2])

Actually, I'd like to have a semantically enabled copy of OSM available for testing. I got in touch with
User:Firefishy [3], the OSM wiki admin, but he seems to be offline since ~ two weeks. Meanwhile, other OSM users 
and myself have run some tests in the SMW sandbox [4]. I'd be glad if we had an SMW instance *including* a snapshot
of the current OSM wiki around for further tests. Any help would be appreciated!


[1] http://wiki.openstreetmap.org/wiki/Machine-readable_Map_Feature_list#Using_Semantic_MediaWiki_in_the_future
[2] http://wiki.openstreetmap.org/wiki/User:Ck3d/Ontology_Proposal
[3] http://wiki.openstreetmap.org/wiki/User:Firefishy
[4] http://sandbox.semantic-mediawiki.org/wiki/OSM_Wiki_Sandbox

-----Ursprüngliche Nachricht-----
Von: Denny Vrandecic [mailto:dvr at aifb.uni-karlsruhe.de] 
Gesendet: Freitag, 9. Januar 2009 18:29
An: karl.guggisberg at guggis.ch
Cc: talk at openstreetmap.orgy; Yaron Koren
Betreff: Re: AW: [OSM-talk] OSM-WIKI: reducing redundancy, less redundant and standardized data exchange

Hi Karl, Hi Yoren,

I am not sure if this continued. Yaron offers hosting of Semantic MediaWikis, and I wanted to connect you in case that makes sense and if you need help or a place to run a semantically enabled copy of OSM for testing purposes.

Could make a lot of sense :)

If you have more questions, feel free to ask us. If there's something I could do I could take a look at it (just my time is quite constrained, as I am currently in thesis-writing-mode)


Karl Guggisberg wrote:
> Hi denny
> I had a second look at the documentation and I now understand how Semantic MediaWiki can help us.
> Assume map features were described by three attributes: a key, a value and a description, like 
>     {MapFeature  key="foo" value="bar" description="desc"}
> Then we would create a Wiki page [[Tag:foo=bar]] (as we do today):
> ----------- beginwiki of [[Tag:foo=bar]] bla bla bla
> <!-- the properties of Semantic MediaWiki --> [[key::foo]] 
> [[value::bar]] [[description::desc]]
> ----------- endwiki
> On the [[Map Features]] page we could ask for this data (the following 
> example automatically creates a table, we have full control over 
> rendering using wiki templates, if we want to)
> ----------- #beginwiki of [[Map Features]]
> {{#ask: [[Tag:foo=bar]]
> | ?key = Key
> | ?value = Value
> | ?description = Description
> }}
> ----------- #endwiki
> On yet another page we could include information about the map feature:
> -----------  #beginwiki of [[Yet another page]] The map feature 
> [[Tag:foo=bar]] is described as follows:
> * Key:         {{#show: Tag:foo=bar | ?key}}
> * Value:       {{#show: Tag:foo=bar | ?value}}
> * Description: {{#show: Tag:foo=bar | ?description}}
> ----------- #endwiki
> I'd like to use SemanticWiki for the OSM wiki. This will bring us a step further to managing map feature data.
> I'd like to have a kind of sandbox to work on this. Could somebody provide an installation of MediaWiki including SemanticWiki and a copy of the current OSM Wiki content on a test server?  
> -- Karl
> -----Urspr ngliche Nachricht-----
> Von: Denny Vrandecic [mailto:dvr at aifb.uni-karlsruhe.de]
> Gesendet: Mittwoch, 24. Dezember 2008 10:07
> An: talk at openstreetmap.org; karl.guggisberg at guggis.ch
> Betreff: [OSM-talk] OSM-WIKI: reducing redundancy, less redundant and 
> standardized data exchange
> (Karl, since the list is probably closed for outside postings, can you 
> please forward this answer to the list?)
> I stumbled on this thread via Google Alert, so excuse me for not being 
> much knowledgeable about the OpenStreetMaps wiki (I'm a big fan of 
> OSM,
> though!) -- but I know a little bit about Semantic MediaWiki.
> So one of the major ideas is indeed to be able to declare a piece of information on one page, and then reuse the data in other places, especially summary sites.
> Example: on the "Statue of Liberty" page you would say "Tourist attraction=major" and "located in=New York, NY" and on then, in other places, you could create queries to summarize such data from the wiki, i.e.
> List of all major tourist attractions:
> {{#ask:[[Torist attraction::Major]]}}
> or
> List of all tourist attractions in New York, NY:
> {{#ask:[[Tourist attraction::+]] [[located in::New York, NY]]}} etc.
> If you want, keep me in the loop for this thread, and I will answer question. I'd be very happy to see the OSM wiki use SMW, if it makes sense.
> Cheers,
> denny
> Original message:
> Hi there,
> In [2] we see that there are partially redundante declarations of map 
> features (descriptions of keys or key/value-pairs for tagging OSM
> primitives) in the wiki. The major reason for redundant is, that they appear both on individual pages (like [[Key:heighway]] or [[Tag:highway=primary]]) and on summary pages (like [[Map Features]]). So far we didn't come up with an approach to *declare* a map feature only once on the Wiki (i.e. by instantiating a suitable template) and to *use* this declaration both in indvidual pages and in summary pages.
> I don't see yet how Semantic MediaWiki could help use here because the limited templating approach seems to remain unchanged. An example on how Semantic MediaWiki could help to declare, say, the data for the key/value-pari highway=primary would be very appreciated. Perhaps on the talk page of [2]?
> -- Karl

More information about the talk mailing list