« Partis politiques nationaux » : différence entre les versions

De Wikiromandie.org
Aller à la navigation Aller à la recherche
MaxiBrice (discussion | contributions)
Aucun résumé des modifications
MaxiBrice (discussion | contributions)
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 60 : Ligne 60 :


== Tableau Wikidata ==
== Tableau Wikidata ==
 
{{#invoke:WikidataTable|render|title = Partis politiques suisses|sparql = SELECT ?item ?itemLabel (SAMPLE(?image) AS ?oneImage) (SAMPLE(?logo) AS ?oneLogo) (MIN(YEAR(?fondation)) AS ?anneeFondation) (MAX(YEAR(?dissolution)) AS ?anneeDissolution) WHERE {
{{#invoke:WikidataTable|render|title = Rues biennoises|sparql = SELECT ?item ?itemLabel (SAMPLE(?image) AS ?oneImage) WHERE {
   ?item wdt:P31 wd:Q7278.
   ?item wdt:P31 wd:Q7278.
   ?item wdt:P17 wd:Q39.
   ?item wdt:P17 wd:Q39.
   OPTIONAL { ?item wdt:P18 ?image. }
   OPTIONAL { ?item wdt:P18 ?image. }
   OPTIONAL {
   OPTIONAL { ?item wdt:P154 ?logo. }
    ?item wdt:P11571 ?ESID.
  OPTIONAL { ?item wdt:P571 ?fondation. }
    wd:P11571 wdt:P1630 ?formatter.
  OPTIONAL { ?item wdt:P576 ?dissolution. }
    BIND(IRI(REPLACE(?formatter, "\\$1", STR(?ESID))) AS ?ESID_link)
  }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,de,it,en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,de,it,en". }
}
}
GROUP BY ?item ?itemLabel}}
GROUP BY ?item ?itemLabel}}
== Articles connexes ==
* Galerie Wikicommon - https://commons.wikimedia.org/wiki/Category:Political_parties_in_Switzerland

Dernière version du 7 novembre 2026 à 23:23