query-e1beac0b0d07f97639ca1c0fafdf8fd3
Request for example for showing all items which have a propertyHi all It would be really helpful to have an example query that would show all items which had a property. This will be useful for all items which appear and an external catalogue. Thanks ]reply[11:11, 8 June 2018 (UTC)) talk (John Cummings]reply[11:23, 8 June 2018 (UTC) Jura--- Wikidata:SPARQL_query_service/queries/examples#All_items_with_a_propertySure: , if you want all items which have a given type of identifier, it can be as easy as:John
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item WHERE {
?item wdt:P1802 [] # Every item with an EMLO Person ID
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
v1 --"wdt:P1802"--> a1