query-475ab8113f6481917db7d6d6a2e40dc7

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/>
SELECT 
DISTINCT ?person ?sitelink ?randomhash 
WHERE{
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P21 wd:Q6581097 .
  ?sitelink schema:about ?person .
  ?sitelink schema:inLanguage "en" .     
  ?sitelink schema:isPartOf <https://en.wikipedia.org/> .

  BIND(SHA512(CONCAT(STR(RAND()), STR(?person))) AS ?randomhash) .
}
ORDER BY ?randomhash
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?person"):::projected v4("?randomhash"):::projected v3("?sitelink"):::projected c9([https://en.wikipedia.org/]):::iri c2(["wd:Q5"]):::iri c4(["wd:Q6581097"]):::iri c7(["en"]):::literal v2 --"wdt:P31"--> c2 v2 --"wdt:P21"--> c4 v3 --"schema:about"--> v2 v3 --"schema:inLanguage"--> c7 v3 --"schema:isPartOf"--> c9 bind0[/"SHA512(concat(str(RAND()),str(?person)))"/] v2 --o bind0 bind0 --as--o v4