query-170fb97f35799e26722cc4a1fae8fafd

rq turtle/ttl

title:Humans with more than 150 identifiers SELECT ?item ?itemLabel ?identifiers WITH { SELECT ?item ?identifiers WHERE { ?item wikibase:identifiers ?identifiers. hint:Prior hint:rangeSafe true. FILTER(?identifiers > 150) } } AS %itemsWithManyIdentifiers WHERE { INCLUDE %itemsWithManyIdentifiers. ?item wdt:P31 wd:Q5. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY DESC(?identifiers) LIMIT 1000

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#>
#title:Humans with more than 150 identifiers
SELECT ?item ?itemLabel ?identifiers WHERE {
   {
  SELECT ?item ?identifiers WHERE {
    ?item wikibase:identifiers ?identifiers. 
    FILTER(?identifiers > 150)
  }
}
  ?item wdt:P31 wd:Q5.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?identifiers)
LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?identifiers"):::projected v2("?item"):::projected c6(["bd:serviceParam"]):::iri c4(["wd:Q5"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?identifiers > '150^^xsd:integer'"]] f0 --> v1 v2 --"wikibase:identifiers"--> v1 v2 --"wdt:P31"--> c4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end