query-c3603c59941c1cfc61bf70aa14991ebc

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?operator ?operatorLabel ?P31 ?P31Label (count(?wiki) as ?count) WHERE {
  ?item wdt:P31/wdt:P279* wd:Q213283.
  ?item wdt:P137 wd:Q145.
  ?item wdt:P31 ?P31. 
  ?item wdt:P137 ?operator.
  ?article schema:about ?item ;
    schema:isPartOf ?wiki. 
  ?wiki wikibase:wikiGroup "wikipedia" .
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .}
} group by ?item ?itemLabel ?operator ?operatorLabel ?P31 ?P31Label

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?P31"):::projected v4("?article") v6("?count") v1("?item"):::projected v3("?operator"):::projected v5("?wiki"):::projected a1((" ")) c13(["en"]):::literal c3(["wd:Q213283"]):::iri c11(["bd:serviceParam"]):::iri c9(["wikipedia"]):::literal c5(["wd:Q145"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P137"--> c5 v1 --"wdt:P31"--> v2 v1 --"wdt:P137"--> v3 v4 --"schema:about"--> v1 v4 --"schema:isPartOf"--> v5 v5 --"wikibase:wikiGroup"--> c9 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end bind1[/"count(?wiki)"/] v5 --o bind1 bind1 --as--o v6