query-051470e3b4623c1194f5e6367ba8b3ed

rq turtle/ttl

Русские имена на латинице SELECT DISTINCT ?name ?nameLabel (COUNT(DISTINCT ?item) AS ?cnt) WHERE { ?name wdt:P31 wd:Q11879590. ?name wdt:P407 wd:Q7737. ?name wdt:P282 wd:Q8229. ?item wdt:P735 ?name. SERVICE wikibase:label { bd:serviceParam wikibase:language "ru". } } GROUP BY ?name ?nameLabel ORDER BY DESC(?cnt)

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 ?name ?nameLabel (COUNT(DISTINCT ?item) AS ?cnt) WHERE {
  ?name wdt:P31 wd:Q11879590.
  ?name wdt:P407 wd:Q7737.
  ?name wdt:P282 wd:Q8229.
  ?item wdt:P735 ?name.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "ru". }
}
GROUP BY ?name ?nameLabel
ORDER BY DESC(?cnt)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?cnt") v3("?item"):::projected v2("?name"):::projected c9(["bd:serviceParam"]):::iri c11(["ru"]):::literal c2(["wd:Q11879590"]):::iri c6(["wd:Q8229"]):::iri c4(["wd:Q7737"]):::iri v2 --"wdt:P31"--> c2 v2 --"wdt:P407"--> c4 v2 --"wdt:P282"--> c6 v3 --"wdt:P735"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end bind1[/"count(?item)"/] v3 --o bind1 bind1 --as--o v4