query-45622e1e6cdf17cf8159a163937abec8

rq turtle/ttl

Legislative session: sessions parlementaires should use properties as described below. Also see the following pages for a complete liste of the sessions parlementairesItems describing XIVe législature XVe législatureThe labels should be like: congress French legislative session (July 8th, 2019) extraordinary French legislative session (from September 10th to 27th 2019) ordinary French legislative session (from October 1st, 2019 to June 30th 2020)English: session parlementaire congrès (9 juillet 2018) en France session parlementaire extraordinaire (du 2 juillet au 1er août 2018) en France session parlementaire ordinaire (du 3 octobre 2017 au 29 juin 2018) en FranceFrench: Templates and modules. Module:Session_parlementaire in frwikiList of all legislative sessions.

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?session ?ordinal_series ?start_time ?end_time ?label ?follows ?followed_by WHERE {
   ?session wdt:P31/wdt:P279* wd:Q87337481.
   ?session wdt:P580 ?start_time.
   ?session wdt:P582 ?end_time.
   ?session wdt:P1545 ?ordinal_series. 
   OPTIONAL { ?session wdt:P155 ?follows }.
   OPTIONAL { ?session wdt:P156 ?followed_by }.
   OPTIONAL { ?session rdfs:label ?label filter (lang(?label) = "fr") .}
} ORDER BY ASC(?start_time)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?end_time"):::projected v7("?followed_by"):::projected v6("?follows"):::projected v2("?label"):::projected v5("?ordinal_series"):::projected v3("?session"):::projected v1("?start_time"):::projected a1((" ")) c4(["wd:Q87337481"]):::iri v3 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v3 --"wdt:P580"--> v1 v3 --"wdt:P582"--> v4 v3 --"wdt:P1545"--> v5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P155".-> v6 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P156".-> v7 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v3 -."rdfs:label".-> v2 end