query-7c0d631cbe5845e2492bf61fae9c59ee
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?value
{
?item wdt:P1933 ?value.
FILTER(REGEX(REPLACE(STR(?value), "%20", " "), "^[1-9]\\d*$") )
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY DESC (xsd:integer(?value))
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?value"):::projected
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
f0[["regex(replace(str(?value),'%20',' '),'^#91;1-9#93;\d*$')"]]
f0 --> v1
v2 --"wdt:P1933"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end