query-d2bf4e3c845eb66bd61bdf1fd2d54fd4
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?sitelinks ?random
WHERE
{
#Minimum sitelinks
?item wikibase:sitelinks ?sitelinks .
FILTER (?sitelinks > 20 )
#Random stuff
BIND(SHA512(CONCAT(STR(RAND()), STR(?item))) AS ?random) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE], en" . }
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?random"):::projected
v1("?sitelinks"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;, en"]):::literal
f0[["?sitelinks > '20^^xsd:integer'"]]
f0 --> v1
v2 --"wikibase:sitelinks"--> v1
bind1[/"SHA512(concat(str(RAND()),str(?item)))"/]
v2 --o bind1
bind1 --as--o v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end