query-c5a6edd8a5c2f7df9add379a3d21a397
11:59, 28 September 2016 (UTC) Jura--- Above one that shows how Q1651051 is currently used. 12:49, 28 September 2016 (UTC) dosisEpì 12:45, 28 September 2016 (UTC) Now there are the results I was looking for. --dosisEpìOK, thank you. -- 12:25, 28 September 2016 (UTC) Jura--- or items listed there. Special:WhatLinksHere/Q1651051Edgars query would show that, but it's just that there isn't much linking at 12:14, 28 September 2016 (UTC) dosisEpì. --(Q1651051)foot (P279)subclass of , where ^^^ is each item having ^^^(P31)instance of : I meant something different: all items having Jura1@ 13:12, 28 September 2016 (UTC) dosisEpì) in Edgars's query are listed twice. Would it be possible to list them only once? --(Q207686)iamb One problem: items with double instance (e.g. OK, it works. Last thing: I tried a little more complex query: 14:24, 28 September 2016 (UTC)) talk (Edgars2007Add "distinct" before "?item" in first line. --
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?itemLabel ?instanceLabel ?metricalPattern
WHERE {
?item wdt:P31/wdt:P279* wd:Q1651051 .
?item wdt:P31 ?instance .
?item wdt:P2552 ?metricalPattern .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}