Wikidata Query Service: Difference between revisions
Jump to navigation
Jump to search
(Created page with "https://query.wikidata.org/ == Examples == Get all instances of an entry:<ref>Addshore on stackoverflow: https://stackoverflow.com/questions/29886388/get-all-wikidata-items-that-are-an-instance-of-a-given-item</ref> PREFIX wd: <http://www.wikidata.org/entity/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> SELECT DISTINCT ?item WHERE { ?item wdt:P31/wdt:P279* wd:Q28326730 }") |
No edit summary |
||
Line 1: | Line 1: | ||
[[wikidata:Q20950365]] | |||
[[Category:Wikidata Tool]] | |||
https://query.wikidata.org/ | https://query.wikidata.org/ | ||
Latest revision as of 10:35, 30 January 2024
Examples
Get all instances of an entry:[1]
PREFIX wd: <http://www.wikidata.org/entity/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> SELECT DISTINCT ?item WHERE { ?item wdt:P31/wdt:P279* wd:Q28326730 }
- ↑ Addshore on stackoverflow: https://stackoverflow.com/questions/29886388/get-all-wikidata-items-that-are-an-instance-of-a-given-item