query-2ad47469eadf0a7f3de1ae9b384d731c

rq turtle/ttl

: with labelswill timeout because 1 million hits the limit for the label service. Instead get all proteins ]reply[14:36, 17 August 2019 (UTC)) talk (SCIdudehits 944k objects and presumably the label service is the reason for the timeout. Optimization via subsets however is not possible because any properties are too fine-grained (e.g. "found in taxon") or cannot be partitioned (external IDs). So how do I get a full list of protein objects and their labels? --You may concider using this query : with labelswill timeout because 1 million hits the limit for the label service. Instead get all proteins : with labelswill timeout because 1 million hits the limit for the label service. Instead get all proteins : with labelswill timeout because 1 million hits the limit for the label service. Instead get all proteins TODO : with labelswill timeout because 1 million hits the limit for the label service. Instead get all proteins : with labelswill timeout because 1 million hits the limit for the label service. Instead get all proteins : with labelswill timeout because 1 million hits the limit for the label service. Instead get all proteins

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel WHERE {
  ?item wdt:P31 wd:Q8054 .
  ?item rdfs:label ?itemLabel. FILTER( LANG(?itemLabel)="en" )
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?itemLabel"):::projected c3(["wd:Q8054"]):::iri f0[["?itemLabel = 'en'"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"rdfs:label"--> v1