query-cf8c1bb1d54a26c8ee9efb8b1d1c3876

rq turtle/ttl

List Darts players with an ID onthe Darts database

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 ?item_label ?check_url WHERE {

  ?item wdt:P641 wd:Q131471 .
  ?item ?P31 wd:Q5.
  MINUS {?item wdt:P3621 [] } .
  ?item rdfs:label ?item_label FILTER(lang(?item_label) = 'en') .

  wd:P3621 wdt:P4354 ?fmt .
  BIND(IRI(REPLACE(str(?item_label), '(^.*)', ?fmt)) AS ?check_url) .
} LIMIT 50

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?P31") v5("?check_url"):::projected v4("?fmt") v2("?item"):::projected v1("?item_label"):::projected a1((" ")) c4(["wd:Q5"]):::iri c7(["wd:P3621"]):::iri c3(["wd:Q131471"]):::iri f0[["?item_label = 'en'"]] f0 --> v1 v2 --"wdt:P641"--> c3 v2 -->v3--> c4 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P3621"--> a1 end v2 --"rdfs:label"--> v1 c7 --"wdt:P4354"--> v4 bind2[/"replace(str(?item_label),'(^.*)',?fmt)"/] v1 --o bind2 v4 --o bind2 bind2 --as--o v5