Dirac
This user loves Wikidata.
This user has a page on Wikipedia.
This user has a page on Wikimedia Commons.
200,000+This user has made over 200,000 contributions to Wikidata.
Babel user information
fr-N Cet utilisateur a pour langue maternelle le français.
en-3 This user has advanced knowledge of English.
Users by language

Miguel Tremblay, please see my french Wikipédia user page.

Pour faire une demande de retrait pour un résumé d'édition, voir Wikidata:Oversight.

Bio edit

Français edit

Miguel contribue à l’univers Wikimédia depuis 2003 sous le pseudonyme de Dirac. Avec plus de 9000 contributions à Wikipédia et 1000 contributions à Wiki Commons, il est sur Wikidata le fondateur et animateur du Wikiproject sur les observations météorologiques. Vulgarisateur engagé, Miguel contribue fortement à documenter la pandémie de COVID-19 au Québec sur Wikipédia. Il est aussi physicien et travaille au Centre météorologique canadien, notamment sur les données ouvertes.

English edit

Miguel has been contributing to the Wikimedia universe since 2003 under the pseudonym Dirac. With more than 9000 contributions to Wikipedia et 100 contributions to Wiki Commons, he is on Wikidata the founder and animator of the Wikiproject on weather observations. As a committed popularizer, Miguel contributes strongly to documenting the COVID-19 pandemic in Quebec on Wikipedia. He is also a physicist and works at the Canadian Meteorological Centre, notably on open data.

Projets edit

Noms des partis politiques, par ordre de popularité edit

# Noms des partis politiques les plus communs
#defaultView:BubbleChart
SELECT ?itemLabel (COUNT(*) AS ?count)
WHERE
{
  ?pid wdt:P31 wd:Q7278.
  ?pid rdfs:label ?itemLabel.
  FILTER(LANG(?itemLabel) = "fr") # with French description
       
 # ?pid rdfs:label ?firstname

}
GROUP BY ?itemLabel
ORDER BY DESC(?count) ?itemLabel
LIMIT 20
Try it!

SPARQL edit

URL article Wikipédia edit

#Title: Ile sans étiquette en français avec le lien vers Wikipédia en cebuano
prefix schema: <http://schema.org/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT ?cid ?itemLabel ?article WHERE {
    ?cid wdt:P31 wd:Q23442.
  
    FILTER(NOT EXISTS {
    ?cid rdfs:label ?itemLabel.
    FILTER(LANG(?itemLabel) = "fr") # with missing French description
  })
  
    OPTIONAL {
        ?cid rdfs:label ?country filter (lang(?country) = "ceb") .
    }
    OPTIONAL {
      ?article schema:about ?cid .
      ?article schema:inLanguage "ceb" .
    }
}
Try it!

Éléments sans description edit

#Search for missing descriptions in a target language.
#Can be input for Q29032512
SELECT ?item ?itemLabel ?itemDescription WHERE {
  ?item wdt:P31 wd:Q3558970.  # instance of human
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en". }
  FILTER(NOT EXISTS {
    ?item schema:description ?itemdesc.
    FILTER(LANG(?itemdesc) = "fr") # with missing French description
  })
}
order by ?itemLabel
Try it!

Avec filtre sur une description edit

SELECT ?human ?humanLabel ?humandesc
WHERE
{
  ?human wdt:P31 wd:Q15632617;
         rdfs:label ?label.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en". }
  ?human schema:description ?humandesc.
  FILTER(LANG(?label) = "en").
  FILTER(CONTAINS(?humandesc, "character")).
}
Try it!

Gentilé (travaux en cours) edit

# Identifier les archers avec leur gentilé, accordé selon masculin/féminin (si identifié dans l'élément, sinon y aller avec masculin?)
SELECT ?item ?itemLabel ?itemDescription ?gentile WHERE {
  ?item wdt:P31 wd:Q5.  # instance of human
  ?item wdt:P106 wd:Q890527. # Archer 
  ?item wdt:P27 ?country.
  ?country wdt:P1549 ?gentile.

  FILTER (LANG(?gentile) = "fr") .
  
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en". }
  FILTER(NOT EXISTS {
    ?item schema:description ?itemdesc.
    FILTER(LANG(?itemdesc) = "fr") # with missing French description
  })
}
order by ?itemLabel
Try it!

Espèce de reptile edit

#Search for missing descriptions in a target language and match with description string
SELECT DISTINCT ?item ?itemLabel ?itemDescription WHERE {
  ?item wdt:P31 wd:Q16521.  # instance of human
  ?item wdt:P105 wd:Q7432.
  ?item wdt:P171* wd:Q10811.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en, fr". }

  ?item schema:description ?itemdesc2.
  FILTER(CONTAINS(?itemdesc2, "species of reptile")).
  
  FILTER(NOT EXISTS {
    ?item schema:description ?itemdesc.
    FILTER(LANG(?itemdesc) = "fr") # with missing French description    
  }).

}
order by ?itemLabel
Try it!

Éléments sans Label FR edit

#Search for missing label in a target language.
#Can be input for Q29032512
SELECT ?item ?itemLabel ?itemDescription WHERE {
  ?item wdt:P31 wd:Q5.  # instance of human
  ?item wdt:P27 wd:Q16.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en,de,it,es,pt,no". }
  FILTER(NOT EXISTS {
    ?item rdfs:label ?itemLabel.
    FILTER(LANG(?itemLabel) = "fr") # with missing French description
  })
}
order by ?itemLabel
Try it!

Théâtres au Canada / Theatre in Canada edit

# Theather (building) in Canada
#defaultView:Map
SELECT ?item ?itemLabel ?coord WHERE {
  ?item (wdt:P31/wdt:P279*) wd:Q24354.
  ?item wdt:P17 wd:Q16.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  OPTIONAL { ?item wdt:P625 ?coord. }
}
Try it!

Prix du Québec

Trouver des entrées sans photos autour de chez soi edit

#defaultView:Map
SELECT ?place ?placeLabel ?location
WHERE
{
  # Coordonnéer d'une entrée proche de la maison (ex: Église Saint-Vincent-Ferrier dans Villeray: Q64507299)
  wd:Q64507299 wdt:P625 ?MaisonLoc .
  SERVICE wikibase:around {
    ?place wdt:P625 ?location .
    bd:serviceParam wikibase:center ?MaisonLoc .
# À 1 km de rayon autour de l'entrée
    bd:serviceParam wikibase:radius "2" . 
  } .
  
# On filtre pour les entrées qui n'ont pas de photos
  OPTIONAL { ?place wdt:P18 ?pic }
  FILTER(# Pas de photo
    !BOUND(?pic)    
  )
     
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
  } 
}
Try it!