query-0c6481164a341b4dcd055c1d0140c796

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?instanceLabel ?year ?BNF ?editorLabel WHERE {
  ?item wdt:P50 wd:Q3439595 .
  optional { ?item wdt:P31 ?instance }
  optional { ?item wdt:P577 ?date . bind (year(?date) as ?year ) }
  optional { ?item wdt:P268 ?BNF }
  optional { ?item wdt:P123 ?editor }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
} order by ?year

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?BNF"):::projected v4("?date") v6("?editor") v3("?instance") v2("?item"):::projected v5("?year"):::projected c8(["bd:serviceParam"]):::iri c2(["wd:Q3439595"]):::iri c10(["fr"]):::literal v2 --"wdt:P50"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P31".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P577".-> v4 bind0[/"year-from-dateTime(?date)"/] v4 --o bind0 bind0 --as--o v5 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P268".-> v5 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P123".-> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end