User:Owenpatel/sandbox/countries/Mexico/outline
National Outline edit
?constituencylist only includes those with an English language label
This list is periodically updated by a bot. Manual changes to the list will be removed on the next update!
WDQS | PetScan | TABernacle | Find images | Recent changes | Query:SELECT ?item ?headofgov (GROUP_CONCAT(?headofgovinstanceof; SEPARATOR = "<br />") AS ?hoginstancelist) ?legislature ?member (GROUP_CONCAT(?memberinstanceof; SEPARATOR = "<br />") AS ?memberinstancelist) ?numberconstituencies (COUNT(?constituency) AS ?countconstituencies) (GROUP_CONCAT(?constituencyLab; SEPARATOR = "<br />") AS ?constituencyList) ?constype WHERE { VALUES ?item {wd:Q96} OPTIONAL {?item wdt:P1313 ?headofgov . ?headofgov wdt:P31 ?headofgovinstanceof MINUS { ?headofgov wdt:P576 [] } } OPTIONAL {?item wdt:P194 ?legislature OPTIONAL { ?legislature wdt:P4253 ?numberconstituencies } OPTIONAL {?member wdt:P361 ?legislature . ?member wdt:P279* wd:Q4175034 . ?member wdt:P31 ?memberinstanceof MINUS {?member wdt:P576 [] } } OPTIONAL { ?statement ps:P279 wd:Q192611 ; pq:P642 ?legislature. ?constype p:P279 ?statement . ?constituency wdt:P31/wdt:P279* ?constype . MINUS { ?constituency wdt:P576 [] } OPTIONAL { ?constituency rdfs:label ?constituencyLab . FILTER(lang(?constituencyLab) IN ('en') )} } MINUS { ?legislature wdt:P576 [] } } MINUS { ?item wdt:P576 [] } } GROUP BY ?item ?headofgov ?headofgovinstanceof ?legislature ?member ?memberinstanceof ?numberconstituencies ?constype ORDER BY ?item ?constituency
?item | label/en | label/es | Population | Head of Government position | Head of Gov position is instance of | Head of Government (preferred value from WD) | ?legislature | ?member | Member position is instance of | ?numberconstituencies | ?countconstituencies | ?constituencyList | ?constype |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mexico | Mexico | México | 124777324 | President of Mexico | http://www.wikidata.org/entity/Q294414 | Andrés Manuel López Obrador | Congress of the Union | 0 |
End of automatically generated list.