News for hackers. Stuff that matters.
Re:Trip planning on Android phone turned off for now by jakecopp on Tuesday November 05, 2019 @03:44AM (#21450706)
> Are you aware of any open source / crowd sourced directory of physical businesses

Yep that's OpenStreetMap! You could use Pelias for geocoding, OSM for the data. Why not offer for users to add the business to OSM if it doesn't exist?

I think Foursquare also has a directory, I'm not sure what their costs are though (and closed of course).

Re:Trip planning on Android phone turned off for now by LunaSea on Tuesday November 05, 2019 @06:15AM (#21451334)
Having investigated the use of OpenStreetMap data in the past year, I have to say that it's still disappointing and not complete enough to be used as a serious solution.

If I look at university nodes that have a website in France I find 241 unique values which represents less than 10% of the total amount.

Re:Trip planning on Android phone turned off for now by yorwba on Tuesday November 05, 2019 @07:31AM (#21451769)
Are you sure there are more than 2410 universities in France? Running the SPARQL query below at https://query.wikidata.org/#SELECT%20%28count%28DISTINCT%20%... , I get 218 French universities with a Wikidata item (which usually means there's a corresponding Wikipedia article) but for "higher education institution" I get 675: https://query.wikidata.org/#SELECT%20%28count%28DISTINCT%20%...

Query:

  SELECT (count(DISTINCT ?school) AS ?count)
  WHERE
  {
    # find instances of subclasses of university Q3918 (use Q38723 for higher education institution)
    ?school wdt:P31/wdt:P279* wd:Q3918 .

    # in France
    ?school wdt:P17 wd:Q142 .
  }
Re:Trip planning on Android phone turned off for now by tuukkah on Tuesday November 05, 2019 @07:12AM (#21451655)
Typically, there is no perfect data source and their applicability depends on your use cases. OpenStreetMap is first about streets, then (geometries of) buildings, POIs etc. An attribute like website information has not been high on the use cases that the community has but I think this is getting better with more use and especially the integration with Wikidata.

In Wikidata, I can currently get 563 results for institutes of higher education in France with website information: https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fschool%20...

EDIT: Applied the fix by yorwba to get more results.

Re:Trip planning on Android phone turned off for now by yorwba on Tuesday November 05, 2019 @07:40AM (#21451825)
You need to add an asterisk after wdt:P279, otherwise the query only finds instances of direct subclasses of Q38723. On the other hand, I didn't think to filter only for those that have an associated website. (See sibling comment.)

Modifying your query, I get 563 results: https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fschool%20...

Conclusion: it depends on how you count.

Re:Trip planning on Android phone turned off for now by tuukkah on Tuesday November 05, 2019 @07:43AM (#21451838)
Thanks for noticing and fixing my bug!
Re:Trip planning on Android phone turned off for now by ocdtrekkie on Tuesday November 05, 2019 @08:21AM (#21452090)
The chicken and egg problem is that OSM will be as good as the data it gets, and the data it gets will increase as people use it as a serious solution and contribute where they find it inadequate.
Re:Trip planning on Android phone turned off for now by LunaSea on Tuesday November 05, 2019 @11:21AM (#21453761)
Sure, but companies have the money to contribute a subscription but not time, because the later is incredibly more expensive for them.

This makes OSM data a non-starter in most serious business use cases.

Re:Trip planning on Android phone turned off for now by sp332 on Tuesday November 05, 2019 @07:59AM (#21451942)
It varies a lot by location. Some places are kept up to date by contributors and some aren't.