query-4316e5898bec1ea3faa9d6ecc7db2217
ToolsIzmantotākie apgalvojumi dažādām ierakstu klasēm ")https://lv.wikipedia.orgFILTER (SUBSTR(str(?article), 1, 24) = " Random item without instance No labels SPARQL Game Beacon2 + Beacon Tree SPARQL Names as labels Tabernacle )Latvia (To-do WDQ 2 + Autolist1 Linked items Creator Quick statements Pasleim
Use at
- https://query.wikidata.org/sparql
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 ?prop ?propLabel ?count WHERE {
{
SELECT ?p (COUNT(DISTINCT ?item) AS ?count) WHERE {
?item wdt:P31 wd:Q276; ?p [] .
?p ^wikibase:claim [] .
} GROUP BY ?p
} .
?prop wikibase:claim ?p .
SERVICE wikibase:label { bd:serviceParam wikibase:language "lv,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
v2("?item")
v3("?p")
v4("?prop"):::projected
a1((" "))
a2((" "))
c5(["bd:serviceParam"]):::iri
c7(["lv,en"]):::literal
c2(["wd:Q276"]):::iri
v2 --"wdt:P31"--> c2
v2 -->v3--> a1
a2 --"wikibase:claim"--> v3
bind1[/"count(?item)"/]
v2 --o bind1
bind1 --as--o v4
v4 --"wikibase:claim"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end