query-5568214152a56777bbdbaa6f68346c79

rq turtle/ttl

Requête avec labels et descriptions en français pour les joueurs d'échecs (selon critères)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?itemDescription WHERE {
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE]".
    ?item schema:description ?itemDescription .
    ?item rdfs:label ?itemLabel . }
  {
    SELECT DISTINCT ?item WHERE {
      ?item p:P31 ?statement0.
      ?statement0 (ps:P31/(wdt:P279*)) wd:Q5.
      ?item p:P106 ?statement1.
      ?statement1 (ps:P106/(wdt:P279*)) wd:Q10873124.
      ?item p:P1532 ?statement2.
      ?statement2 (ps:P1532/(wdt:P279*)) wd:Q183.
      ?item p:P21 ?statement3.
      ?statement3 (ps:P21/(wdt:P279*)) wd:Q6581097.
    }
    LIMIT 10000
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?itemDescription"):::projected v3("?itemLabel"):::projected v4("?statement0") v5("?statement1") v6("?statement2") v7("?statement3") a1((" ")) a2((" ")) a3((" ")) a4((" ")) c19(["wd:Q6581097"]):::iri c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;"]):::literal c10(["wd:Q5"]):::iri c13(["wd:Q10873124"]):::iri c16(["wd:Q183"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 v1 --"schema:description"--> v2 v1 --"rdfs:label"--> v3 end v1 --"p:P31"--> v4 v4 --"p:statement/P31"--> a1 a1 --"p:direct/P279"--> c10 v1 --"p:P106"--> v5 v5 --"p:statement/P106"--> a2 a2 --"p:direct/P279"--> c13 v1 --"p:P1532"--> v6 v6 --"p:statement/P1532"--> a3 a3 --"p:direct/P279"--> c16 v1 --"p:P21"--> v7 v7 --"p:statement/P21"--> a4 a4 --"p:direct/P279"--> c19