query-b28907d44403eda61507a6e0df933b76

rq turtle/ttl

as a column in the results? I tried this, but it does not work:(P1440)FIDE player ID : How to list also the MisterSynergy@ 18:07, 27 August 2018 (UTC)) talk (Steak

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?fideid (COUNT(*) AS ?elo_cnt) WHERE {
  ?item p:P1087 [] .
  OPTIONAL { ?item wdt:P1440 ?fideid . }
} GROUP BY ?item ?fideid HAVING(?elo_cnt<5)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?elo_cnt") v3("?fideid"):::projected v2("?item"):::projected a1((" ")) f0[["?elo_cnt < '5^^xsd:integer'"]] f0 --> v4 v2 --"p:P1087"--> a1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P1440".-> v3 end bind2[/"count(*)"/] bind2 --as--o v4