query-5d4797d4151147a50e6a5304ac090237

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 ?template ?templateLabel ?count
WHERE 
{
  {
    SELECT ?template (COUNT(?sitelink) AS ?count)
    WHERE
    {
      ?template wdt:P31 wd:Q11266439;
                ^schema:about ?sitelink.
    } GROUP BY ?template
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count"):::projected v3("?sitelink") v2("?template"):::projected c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q11266439"]):::iri v2 --"wdt:P31"--> c2 v3 --"schema:about"--> v2 bind1[/"count(?sitelink)"/] v3 --o bind1 bind1 --as--o v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end