<p>Sounds interesting. Anyone ever thought of installing Semantic MediaWiki? This would be a great use for it, among other things.<br>
-Josh</p>
<div class="gmail_quote">On Sep 1, 2011 3:22 PM, "Stefan Keller" <<a href="mailto:sfkeller@gmail.com">sfkeller@gmail.com</a>> wrote:<br type="attribution">> We are currently experimenting with our TagFinder<br>
> (<a href="http://152.96.56.32/poiservice/tagfinder">http://152.96.56.32/poiservice/tagfinder</a> ) and want to improve the<br>> search for OSM tags.<br>> <br>> One of the crucial point there is that synonyms and related terms are<br>
> found (term being one ore more words). Example: A search for "church"<br>> will show "amenity=place_of_worship".<br>> <br>> In order to achieve this a controlled word list (a thesaurus) becomes<br>
> necessary. This is a list of terms where some are OpenStreetMap<br>> specific. This can not be found in a general purpose thesaurus.<br>> <br>> => Because of this, I propose to capture in the OSM wiki so-called<br>
> "related terms". They can be kept up to date by the community (while I<br>> would like to set a good example).<br>> <br>> Of course it would be more precise to introduce also synonyms and<br>> broader/narrower terms. But that seems too complicated for many users.<br>
> <br>> => In order to store related terms I propose to use wiki templates.<br>> That would look like this on a OSM wiki page (eg.<br>> <a href="http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship">http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship</a> ):<br>
> <br>> {{RelatedTerm|place of worship}}<br>> {{RelatedTerm|church}}<br>> {{RelatedTerm|mosque}}<br>> {{RelatedTerm|synagogue}}<br>> {{RelatedTerm|en_GB|devotion building}}<br>> {{RelatedTerm|en_US|prayer house}}<br>
> <br>> The related terms are parsed from the Wiki pages by Taginfo during the<br>> update process and stored in Taginfo database (as it's already doing<br>> for the "tag" template). The terms lists are then passed over to the<br>
> Taginfo API. BTW: The "preferred term" ("Preferred tag") can be<br>> estimated by the tag statistics API of Taginfo.<br>> <br>> Theoretically parts of this code could be ported over to the search<br>
> Taginfo (the Taginfo API is already used now by our TagFinder).<br>> <br>> => What do you think?<br>> <br>> Yours, Stefan<br>> <br>> _______________________________________________<br>> dev mailing list<br>
> <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>> <a href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a><br></div>