query-7166e08c90a666c9c7cc07511db2584e

rq turtle/ttl

query Q24809945: Current PDC Order of Merit to statement ?rankingqualifier valueq:P1352 to statement ?participantvaluev:P710 to statement ?participantSentityp:P710 predicates (P1532)country for sport (P1355)number of wins (P2121)prize money (P1352)ranking (P710)participant properties (Q24809945)Current PDC Order of Merit items

Use at

PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/> 
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX q: <http://www.wikidata.org/prop/qualifier/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX prov: <http://www.w3.org/ns/prov#> 
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>

#query Q24809945: Current PDC Order of Merit
SELECT ?participant ?participantLabel ?ranking ?prize_money ?balance ?team WHERE {
  wd:Q24809945 p:P710 ?participantS.
  ?participantS v:P710 ?participant ;  #name
                q:P1352 ?ranking ;     #ranking
                q:P2121 ?prize_money . #prize money

  OPTIONAL { ?participantS q:P1355 ?balance . } #wins posistions

  OPTIONAL { ?participant wdt:P1532 ?_team .
             ?_team rdfs:label ?team filter (lang(?team) = "en") .
  }

  SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,de,en". }

}
ORDER BY DESC(?prize_money)
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?_team") v6("?balance"):::projected v4("?participant"):::projected v3("?participantS") v1("?prize_money"):::projected v5("?ranking"):::projected v2("?team"):::projected c13(["nl,de,en"]):::literal c2(["wd:Q24809945"]):::iri c11(["bd:serviceParam"]):::iri c2 --"p:P710"--> v3 v3 --"p:statement/P710"--> v4 v3 --"p:qualifier/P1352"--> v5 v3 --"p:qualifier/P2121"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."p:qualifier/P1355".-> v6 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P1532".-> v7 v7 --"rdfs:label"--> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end