query-e5528a5122b899ed7c757954391b41db

rq turtle/ttl

We noticed that the degrees we added started to be used by other users, so we wrote short query to get all items listed that are using them:

Use at

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 WHERE {
  VALUES ?addedDegrees { wd:Q64869217 wd:Q64689288 wd:Q64869221 wd:Q64689298 wd:Q64689202 wd:Q64686908 wd:Q64808789 } #degrees added by us
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P512 ?addedDegrees . # has one of the degrees
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?addedDegrees") v2("?item"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?addedDegrees/] bind0-->v1 bind00(["wd:Q64869217"]) bind00 --> bind0 bind01(["wd:Q64689288"]) bind01 --> bind0 bind02(["wd:Q64869221"]) bind02 --> bind0 bind03(["wd:Q64689298"]) bind03 --> bind0 bind04(["wd:Q64689202"]) bind04 --> bind0 bind05(["wd:Q64686908"]) bind05 --> bind0 bind06(["wd:Q64808789"]) bind06 --> bind0 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v2 --"wdt:P512"--> v1