3 ms·
Typically, there is no perfect data source and their applicability depends on your use cases. OpenStreetMap is first about streets, then (geometries of) buildin
by tuukkah 7y ago
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%3FschoolLabel%20%3Fwebsite%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3Fschool%20wdt%3AP31%2Fwdt%3AP279%2a%20wd%3AQ38723.%0A%20%20%3Fschool%20wdt%3AP17%20wd%3AQ142.%0A%20%20%3Fschool%20wdt%3AP856%20%3Fwebsite.%0A%7D%20%0ALIMIT%201000 https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fschool%20...
EDIT: Applied the fix by yorwba to get more results.
- yorwba 7y agoYou 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%3FschoolLabel%20%3Fwebsite%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3Fschool%20wdt%3AP31%2Fwdt%3AP279%2a%20wd%3AQ38723.%0A%20%20%3Fschool%20wdt%3AP17%20wd%3AQ142.%0A%20%20%3Fschool%20wdt%3AP856%20%3Fwebsite.%0A%7D%20%0ALIMIT%201000 https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fschool%20... Conclusion: it depends on how you count.
- tuukkah 7y agoThanks for noticing and fixing my bug!