query-0c89530152187a72867b41ffc1f979fb

rq turtle/ttl

title: Entitites studied by invasion biology SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P2579 wd:Q42985020 . BIND(xsd:integer(STRAFTER(STR(?item), 'Q')) as ?qid) SERVICE wikibase:label { bd:serviceParam wikibase:language "en" .} } ORDER BY ASC(?qid )

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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: Entitites studied by invasion biology
SELECT DISTINCT ?item ?itemLabel
WHERE {
  ?item wdt:P2579 wd:Q42985020 .
  BIND(xsd:integer(STRAFTER(STR(?item), 'Q')) as ?qid)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" .}
}
ORDER BY ASC(?qid )

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v3("?qid") c4(["bd:serviceParam"]):::iri c2(["wd:Q42985020"]):::iri c6(["en"]):::literal v2 --"wdt:P2579"--> c2 bind0[/"http://www.w3.org/2001/XMLSchema#integer(substring-after(str(?item),'Q'))"/] v2 --o bind0 bind0 --as--o v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end