query-38de0283d380c529bf2012e4c1e7dd52

rq turtle/ttl

Heu, je ne comprends pas bien car j'ai toujours 3 valeurs possibles pour un même aéroport (exemple Bâle sur l'année 2017) alors que j'ai spécifié un rang déprécié ]reply[10:10, 20 January 2019 (UTC)) talk (Pintoch te conviendrait ? − MINUS { ?statement wikibase:rank wikibase:DeprecatedRank }Pour ta requête SPARQL: est-ce que en français était "URL d'import", ce qui n'est pas du tout explicite, c'est dommage que ce soit resté comme ça pendant plus d'un an…(P4656)Wikimedia import URL Oui je me suis rendu compte que le label de

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel (YEAR(?time) AS ?year)
?number
WHERE {
  values ?item {wd:Q289972 wd:Q156971 wd:Q619845 wd:Q15114 wd:Q661389 wd:Q689836 wd:Q687463} .
  ?item p:P3872 ?statement.
  ?statement pq:P585 ?time.
  ?statement ps:P3872 ?number.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr". }
  MINUS { ?statement wikibase:rank wikibase:DeprecatedRank }
} 
order by ?item desc (?year)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v5("?number"):::projected v3("?statement") v4("?time"):::projected v6("?year") c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,fr"]):::literal c9(["wikibase:DeprecatedRank"]):::iri bind0[/VALUES ?item/] bind0-->v3 bind00(["wd:Q289972"]) bind00 --> bind0 bind01(["wd:Q156971"]) bind01 --> bind0 bind02(["wd:Q619845"]) bind02 --> bind0 bind03(["wd:Q15114"]) bind03 --> bind0 bind04(["wd:Q661389"]) bind04 --> bind0 bind05(["wd:Q689836"]) bind05 --> bind0 bind06(["wd:Q687463"]) bind06 --> bind0 v3 --"p:P3872"--> v3 v3 --"p:qualifier/P585"--> v4 v3 --"p:statement/P3872"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v3 --"wikibase:rank"--> c9 end bind2[/"year-from-dateTime(?time)"/] v4 --o bind2 bind2 --as--o v6