query-47109241406df958aa52e67569feb456

rq turtle/ttl

الجمعيات حسب عدد المقاعد Assemblies by number of seats Assemblies by number of seats Parlamentní shromáždění podle počtu křesel Assemblies by number of seats Parlamente nach Zahl der Sitze Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Assemblées par nombre de sièges Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Assemblee per numero di seggi Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Volksvertegenwoordiging naar aantal plaatsen Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Assemblies by number of seats Parlament efter antalet säten Assemblies by number of seats Assemblies by number of seats Асамблеї за кількістю місць Assemblies by number of seats Assemblies by number of seats

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 ?item ?title ?seats ?jurisdiction (YEAR(?inception) AS ?start) (YEAR(?dissolution) AS ?end)
WHERE
{
  ?item wdt:P31/wdt:P279* wd:Q1752346 .
  OPTIONAL { ?item wdt:P1342 ?seats . }
  OPTIONAL {
    ?item wdt:P1001 ?j .
    ?j rdfs:label ?jurisdiction FILTER (lang(?jurisdiction) = "en") .
  }
  OPTIONAL { ?item wdt:P571 ?inception . }
  OPTIONAL { ?item wdt:P576 ?dissolution . }
  OPTIONAL { ?item rdfs:label ?title FILTER (lang(?title) = "en") . }
}
ORDER BY DESC(?seats) ?title

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?dissolution"):::projected v9("?end") v6("?inception"):::projected v4("?item"):::projected v5("?j") v3("?jurisdiction"):::projected v1("?seats"):::projected v8("?start") v2("?title"):::projected a1((" ")) c4(["wd:Q1752346"]):::iri v4 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P1342".-> v1 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P1001".-> v5 v5 --"rdfs:label"--> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P571".-> v6 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P576".-> v7 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v4 -."rdfs:label".-> v2 end bind0[/"year-from-dateTime(?inception)"/] v6 --o bind0 bind0 --as--o v8 bind1[/"year-from-dateTime(?dissolution)"/] v7 --o bind1 bind1 --as--o v9