This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

English queries to OSM

0

I'm building a system that tries to answer geospatial English questions such as "Where is the closest restaurant" or "How many historic sites are in the east of Nantes?". The questions are then mapped to Overpass queries. To improve my system I need more English questions. Does anyone know of any place/logs etc. where I might find such a collection of questions?

asked 07 Dec '16, 07:31

carence's gravatar image

carence
10113
accept rate: 0%

I was just about to ask if you already know about http://nlmaps.cl.uni-heidelberg.de/ But of course you are since that's your thing :-D

(07 Dec '16, 19:46) tyr_asd

Yep, that's my current working model. It's great that it can get some really complex questions right but fails on other, more simpler ones such as "Where can I go canoeing close to here" because it's never seen the word "canoeing" before. That's why I'm looking for more data that maps English word to OSM structures.

(09 Dec '16, 07:20) carence

4 Answers:

3

The list of special phrases for Nominatim could help to automatically construct such queries.

answered 07 Dec '16, 09:30

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Thanks, that's a great list!

(07 Dec '16, 09:32) carence
1

It's probably worth mentioning that this list is in parts a bit outdated in that it includes some tags that are not used anymore in OSM (e.g. landuse=mine instead of landuse=quarry), see https://github.com/twain47/Nominatim/issues/103

(12 Dec '16, 09:25) tyr_asd

1

As @scai suggested the list of special phrases for Nomination is the correct way.

If still you are not able to execute then here is my suggestion. It'll be a good project the list of simple questions with overpass API syntax that are useful for many who want to use OSM but are unable to comprehend the complexities OSM overpass query language.

You can start a project on github and make a list of questions then OSM community certainly will help you to convert those queries to overpass API. Just post the github project link here once you are ready.

answered 12 Dec '16, 05:02

Gagan's gravatar image

Gagan
3053515
accept rate: 14%

1

If you're just looking for terms that translate to OSM objects (tags), you have more potential data sources:

  • There are presets lists of OSM editors, for example here's the list maintained by the iD project.
  • Another approach would be to to look at the the contents from the OSM wiki (e.g. the map features page), which can be used by using the extracts provided by the taginfo project (see downloads page).
  • Finally, you can even look at wikidata entries that have a OpenStreetMap tag or key associated with them.

answered 12 Dec '16, 09:53

tyr_asd's gravatar image

tyr_asd
1.2k51927
accept rate: 64%

0

Well, these questions are infinite in number. No one bothers to store them. I think.

answered 07 Dec '16, 07:34

Wetitpig0's gravatar image

Wetitpig0
307161928
accept rate: 10%

Source code available on GitHub .