3 ms·
This may just be down to wikidata's implementation, but the reliance on hardcoded unique id's everywhere is... bleh The following query uses these: Items: hos
by owyn 8y ago
This may just be down to wikidata's implementation, but the reliance on hardcoded unique id's everywhere is... bleh
The following query uses these:
Items: hospital (Q16917)
Properties: instance of (P31)
coordinate location (P625)
2 #defaultView:Map
3 SELECT * WHERE {
4 ?item wdt:P31*/wdt:P279* wd:Q16917;
5 wdt:P625 ?geo .
6 }
- mindcrime 8y agoYou always need unique identifiers for things, that's pretty much core to the whole Semantic Web idea. But what makes the Wikidata approach frustrating to me is that they use these identifiers that are totally opaque. I can sort of understand why they did it that way, but it does make for ugly queries.