query-4a8abcb99668e3cc61a4936bda5c96d6

rq turtle/ttl

liste des personnes, connues de Wikidata, de sexe ou genre féminin nées ou mortes dans un périmètre géographique défini

qui sont mortes il y a plus de 70 ans (->oeuvres dans le domaine public)

avec l'affichage de l'institution qui conserve leurs archives et de leur page Wikipédia en français si elle existe

SELECT DISTINCT ?personne ?personneLabel ?personneDescription ?mort ?archives ?archivesLabel ?articleFr WHERE { ?personne wdt:P19/wdt:P131|wdt:P20/wdt:P131 wd:Q12771.#lieu de naissance ou de mort dans un périmètre défini ?personne wdt:P21 wd:Q6581072. #de sexe ou genre féminin ?personne wdt:P570 ?mort FILTER (year(?mort) < 1948).#morte avant 1948 (2019-71 ans) OPTIONAL {?personne wdt:P485 ?archives .} OPTIONAL { ?articleFr schema:about ?personne. ?articleFr schema:isPartOf https://fr.wikipedia.org/. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,en".} } ORDER BY ?mort

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# liste des personnes, connues de Wikidata, de sexe ou genre féminin nées ou mortes dans un périmètre géographique défini
# qui sont mortes il y a plus de 70 ans (->oeuvres dans le domaine public)
# avec l'affichage de l'institution qui conserve leurs archives et de leur page Wikipédia en français si elle existe
SELECT DISTINCT ?personne ?personneLabel ?personneDescription ?mort ?archives ?archivesLabel ?articleFr
WHERE 
{
  ?personne wdt:P19/wdt:P131*|wdt:P20/wdt:P131* wd:Q12771.#lieu de naissance ou de mort dans un périmètre défini
  ?personne wdt:P21 wd:Q6581072. #de sexe ou genre féminin
  ?personne wdt:P570 ?mort 
  FILTER (year(?mort) < 1948).#morte avant 1948 (2019-71 ans)
  OPTIONAL {?personne wdt:P485 ?archives .}
  OPTIONAL {
    ?articleFr schema:about ?personne.
    ?articleFr schema:isPartOf <https://fr.wikipedia.org/>.
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,en".}
}
ORDER BY ?mort

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?archives"):::projected v4("?articleFr"):::projected v1("?mort"):::projected v2("?personne"):::projected a1((" ")) a2((" ")) c12([https://fr.wikipedia.org/]):::iri c16(["#91;AUTO_LANGUAGE#93;,fr,en"]):::literal c7(["wd:Q6581072"]):::iri c4(["wd:Q12771"]):::iri c14(["bd:serviceParam"]):::iri f0[["year-from-dateTime(?mort) < '1948^^xsd:integer'"]] f0 --> v1 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P20"--> a2 a2 --"wdt:P131"--> c4 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P19"--> a1 a1 --"wdt:P131"--> c4 end union0r <== or ==> union0l end v2 --"wdt:P21"--> c7 v2 --"wdt:P570"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P485".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -."schema:about".-> v2 v4 --"schema:isPartOf"--> c12 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c14 --"wikibase:language"--> c16 end