query-28c60f293bce029dacb60b6105616ed8

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?given ?givenLabel (count(?given) as ?count) 
WHERE 
{
 ?uk_article ^schema:name ?sitelink_uk . ?sitelink_uk schema:about ?item ; schema:isPartOf <https://uk.wikipedia.org/> .
 ?item wdt:P31 wd:Q5.
 ?item wdt:P735 ?given.
 optional {?given rdfs:label ?givenLabel. filter(lang(?givenLabel)="uk")}
  } group by ?given ?givenLabel order by desc(?count) limit 50

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?count") v6("?given"):::projected v2("?givenLabel"):::projected v5("?item") v3("?sitelink_uk") v4("?uk_article") c5([https://uk.wikipedia.org/]):::iri c7(["wd:Q5"]):::iri v3 --"schema:name"--> v4 v3 --"schema:about"--> v5 v3 --"schema:isPartOf"--> c5 v5 --"wdt:P31"--> c7 v5 --"wdt:P735"--> v6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v6 -."rdfs:label".-> v2 end bind1[/"count(?given)"/] v6 --o bind1 bind1 --as--o v7