Jump to content
Toggle sidebar
Search
English
Personal tools
Create account
Log in
Main page
About
FAQ
Data access
Search by place of residence
In-depth search
Random page
Links
Belgium WWII
State Archives
CegeSoma
WIKIBASE
Create a new Item
Merge two Items
Liste des éléments
Recent changes
Create a new Property
List of Properties
Tools
Special pages
Printable version
In other languages
Export translations
Translate
English
Language statistics
Message group statistics
Export
More
Language statistics
Message group statistics
Export
Purge
Settings
Group
About
Antwerpen
Brabant wallon
Brussels
Contact
Data
Foreign
France
Hainaut
In-depth search
Licence
Limburg
Liège
Luxembourg
Namur
Oost-Vlaanderen
Project:SPARQL/examples
Protection of privacy
Search by place of residence
Template:SPARQL
Tutorial
Vlaams-Brabant
West-Vlaanderen
Language
aa - Afar
ab - Abkhazian
abs - Ambonese Malay
ace - Achinese
ady - Adyghe
ady-cyrl - Adyghe (Cyrillic script)
aeb - Tunisian Arabic
aeb-arab - Tunisian Arabic (Arabic script)
aeb-latn - Tunisian Arabic (Latin script)
af - Afrikaans
ak - Akan
aln - Gheg Albanian
alt - Southern Altai
am - Amharic
ami - Amis
an - Aragonese
ang - Old English
anp - Angika
ar - Arabic
arc - Aramaic
arn - Mapuche
arq - Algerian Arabic
ary - Moroccan Arabic
arz - Egyptian Arabic
as - Assamese
ase - American Sign Language
ast - Asturian
atj - Atikamekw
av - Avaric
avk - Kotava
awa - Awadhi
ay - Aymara
az - Azerbaijani
azb - South Azerbaijani
ba - Bashkir
ban - Balinese
ban-bali - ᬩᬲᬩᬮᬶ
bar - Bavarian
bbc - Batak Toba
bbc-latn - Batak Toba (Latin script)
bcc - Southern Balochi
bci - Baoulé
bcl - Central Bikol
be - Belarusian
be-tarask - Belarusian (Taraškievica orthography)
bg - Bulgarian
bgn - Western Balochi
bh - Bhojpuri
bho - Bhojpuri
bi - Bislama
bjn - Banjar
blk - Pa'O
bm - Bambara
bn - Bangla
bo - Tibetan
bpy - Bishnupriya
bqi - Bakhtiari
br - Breton
brh - Brahui
bs - Bosnian
btm - Batak Mandailing
bto - Iriga Bicolano
bug - Buginese
bxr - Russia Buriat
ca - Catalan
cbk-zam - Chavacano
cdo - Min Dong Chinese
ce - Chechen
ceb - Cebuano
ch - Chamorro
cho - Choctaw
chr - Cherokee
chy - Cheyenne
ckb - Central Kurdish
co - Corsican
cps - Capiznon
cr - Cree
crh - Crimean Tatar
crh-cyrl - Crimean Tatar (Cyrillic script)
crh-latn - Crimean Tatar (Latin script)
cs - Czech
csb - Kashubian
cu - Church Slavic
cv - Chuvash
cy - Welsh
da - Danish
dag - Dagbani
de - German
de-at - Austrian German
de-ch - Swiss High German
de-formal - German (formal address)
din - Dinka
diq - Zazaki
dsb - Lower Sorbian
dtp - Central Dusun
dty - Doteli
dv - Divehi
dz - Dzongkha
ee - Ewe
egl - Emilian
el - Greek
eml - Emiliano-Romagnolo
en - English
en-ca - Canadian English
en-gb - British English
eo - Esperanto
es - Spanish
es-419 - Latin American Spanish
es-formal - Spanish (formal address)
et - Estonian
eu - Basque
ext - Extremaduran
fa - Persian
fat - Fanti
ff - Fulah
fi - Finnish
fit - Tornedalen Finnish
fj - Fijian
fo - Faroese
fon - Fon
fr - French
frc - Cajun French
frp - Arpitan
frr - Northern Frisian
fur - Friulian
fy - Western Frisian
ga - Irish
gaa - Ga
gag - Gagauz
gan - Gan Chinese
gan-hans - Gan (Simplified)
gan-hant - Gan (Traditional)
gcr - Guianan Creole
gd - Scottish Gaelic
gl - Galician
gld - Nanai
glk - Gilaki
gn - Guarani
gom - Goan Konkani
gom-deva - Goan Konkani (Devanagari script)
gom-latn - Goan Konkani (Latin script)
gor - Gorontalo
got - Gothic
gpe - Ghanaian Pidgin
grc - Ancient Greek
gsw - Swiss German
gu - Gujarati
guc - Wayuu
gur - Frafra
guw - Gun
gv - Manx
ha - Hausa
hak - Hakka Chinese
haw - Hawaiian
he - Hebrew
hi - Hindi
hif - Fiji Hindi
hif-latn - Fiji Hindi (Latin script)
hil - Hiligaynon
ho - Hiri Motu
hr - Croatian
hrx - Hunsrik
hsb - Upper Sorbian
hsn - Xiang Chinese
ht - Haitian Creole
hu - Hungarian
hu-formal - Hungarian (formal address)
hy - Armenian
hyw - Western Armenian
hz - Herero
ia - Interlingua
id - Indonesian
ie - Interlingue
ig - Igbo
ii - Sichuan Yi
ik - Inupiaq
ike-cans - Eastern Canadian (Aboriginal syllabics)
ike-latn - Eastern Canadian (Latin script)
ilo - Iloko
inh - Ingush
io - Ido
is - Icelandic
it - Italian
iu - Inuktitut
ja - Japanese
jam - Jamaican Creole English
jbo - Lojban
jut - Jutish
jv - Javanese
ka - Georgian
kaa - Kara-Kalpak
kab - Kabyle
kbd - Kabardian
kbd-cyrl - Kabardian (Cyrillic script)
kbp - Kabiye
kcg - Tyap
kea - Kabuverdianu
kg - Kongo
khw - Khowar
ki - Kikuyu
kiu - Kirmanjki
kj - Kuanyama
kjp - Eastern Pwo
kk - Kazakh
kk-arab - Kazakh (Arabic script)
kk-cn - Kazakh (China)
kk-cyrl - Kazakh (Cyrillic script)
kk-kz - Kazakh (Kazakhstan)
kk-latn - Kazakh (Latin script)
kk-tr - Kazakh (Turkey)
kl - Kalaallisut
km - Khmer
kn - Kannada
ko - Korean
ko-kp - Korean (North Korea)
koi - Komi-Permyak
kr - Kanuri
krc - Karachay-Balkar
kri - Krio
krj - Kinaray-a
krl - Karelian
ks - Kashmiri
ks-arab - Kashmiri (Arabic script)
ks-deva - Kashmiri (Devanagari script)
ksh - Colognian
ksw - S'gaw Karen
ku - Kurdish
ku-arab - Kurdish (Arabic script)
ku-latn - Kurdish (Latin script)
kum - Kumyk
kv - Komi
kw - Cornish
ky - Kyrgyz
la - Latin
lad - Ladino
lb - Luxembourgish
lbe - Lak
lez - Lezghian
lfn - Lingua Franca Nova
lg - Ganda
li - Limburgish
lij - Ligurian
liv - Livonian
lki - Laki
lld - Ladin
lmo - Lombard
ln - Lingala
lo - Lao
loz - Lozi
lrc - Northern Luri
lt - Lithuanian
ltg - Latgalian
lus - Mizo
luz - Southern Luri
lv - Latvian
lzh - Literary Chinese
lzz - Laz
mad - Madurese
mai - Maithili
map-bms - Basa Banyumasan
mdf - Moksha
mg - Malagasy
mh - Marshallese
mhr - Eastern Mari
mi - Maori
min - Minangkabau
mk - Macedonian
ml - Malayalam
mn - Mongolian
mni - Manipuri
mnw - Mon
mo - Moldovan
mos - Mossi
mr - Marathi
mrh - Mara
mrj - Western Mari
ms - Malay
ms-arab - Malay (Jawi script)
mt - Maltese
mus - Muscogee
mwl - Mirandese
my - Burmese
myv - Erzya
mzn - Mazanderani
na - Nauru
nah - Nāhuatl
nan - Min Nan Chinese
nap - Neapolitan
nb - Norwegian Bokmål
nds - Low German
nds-nl - Low Saxon
ne - Nepali
new - Newari
ng - Ndonga
nia - Nias
niu - Niuean
nl - Dutch
nl-informal - Dutch (informal address)
nmz - Nawdm
nn - Norwegian Nynorsk
no - Norwegian
nod - Northern Thai
nov - Novial
nqo - N’Ko
nrm - Norman
nso - Northern Sotho
nv - Navajo
ny - Nyanja
nyn - Nyankole
nys - Nyungar
oc - Occitan
ojb - Northwestern Ojibwe
olo - Livvi-Karelian
om - Oromo
or - Odia
os - Ossetic
pa - Punjabi
pag - Pangasinan
pam - Pampanga
pap - Papiamento
pcd - Picard
pcm - Nigerian Pidgin
pdc - Pennsylvania German
pdt - Plautdietsch
pfl - Palatine German
pi - Pali
pih - Norfuk / Pitkern
pl - Polish
pms - Piedmontese
pnb - Western Punjabi
pnt - Pontic
prg - Prussian
ps - Pashto
pt - Portuguese
pt-br - Brazilian Portuguese
pwn - Paiwan
qu - Quechua
qug - Chimborazo Highland Quichua
rgn - Romagnol
rif - Riffian
rm - Romansh
rmc - Carpathian Romani
rmy - Vlax Romani
rn - Rundi
ro - Romanian
roa-tara - Tarantino
rsk - Pannonian Rusyn
ru - Russian
rue - Rusyn
rup - Aromanian
ruq - Megleno-Romanian
ruq-cyrl - Megleno-Romanian (Cyrillic script)
ruq-latn - Megleno-Romanian (Latin script)
rw - Kinyarwanda
ryu - Okinawan
sa - Sanskrit
sah - Sakha
sat - Santali
sc - Sardinian
scn - Sicilian
sco - Scots
sd - Sindhi
sdc - Sassarese Sardinian
sdh - Southern Kurdish
se - Northern Sami
se-fi - davvisámegiella (Suoma bealde)
se-no - davvisámegiella (Norgga bealde)
se-se - davvisámegiella (Ruoŧa bealde)
sei - Seri
ses - Koyraboro Senni
sg - Sango
sgs - Samogitian
sh - Serbo-Croatian
shi - Tachelhit
shi-latn - Tachelhit (Latin script)
shi-tfng - Tachelhit (Tifinagh script)
shn - Shan
shy - Shawiya
shy-latn - Shawiya (Latin script)
si - Sinhala
simple - Simple English
sjd - Kildin Sami
sje - Pite Sami
sk - Slovak
skr - Saraiki
skr-arab - Saraiki (Arabic script)
sl - Slovenian
sli - Lower Silesian
sm - Samoan
sma - Southern Sami
smn - Inari Sami
sms - Skolt Sami
sn - Shona
so - Somali
sq - Albanian
sr - Serbian
sr-ec - Serbian (Cyrillic script)
sr-el - Serbian (Latin script)
srn - Sranan Tongo
sro - Campidanese Sardinian
ss - Swati
st - Southern Sotho
stq - Saterland Frisian
sty - Siberian Tatar
su - Sundanese
sv - Swedish
sw - Swahili
syl - ꠍꠤꠟꠐꠤ
szl - Silesian
szy - Sakizaya
ta - Tamil
tay - Tayal
tcy - Tulu
tdd - Tai Nuea
te - Telugu
tet - Tetum
tg - Tajik
tg-cyrl - Tajik (Cyrillic script)
tg-latn - Tajik (Latin script)
th - Thai
ti - Tigrinya
tk - Turkmen
tl - Tagalog
tly - Talysh
tly-cyrl - толыши
tn - Tswana
to - Tongan
tpi - Tok Pisin
tr - Turkish
tru - Turoyo
trv - Taroko
ts - Tsonga
tt - Tatar
tt-cyrl - Tatar (Cyrillic script)
tt-latn - Tatar (Latin script)
tum - Tumbuka
tw - Twi
ty - Tahitian
tyv - Tuvinian
tzm - Central Atlas Tamazight
udm - Udmurt
ug - Uyghur
ug-arab - Uyghur (Arabic script)
ug-latn - Uyghur (Latin script)
uk - Ukrainian
ur - Urdu
uz - Uzbek
uz-cyrl - Uzbek (Cyrillic script)
uz-latn - Uzbek (Latin script)
ve - Venda
vec - Venetian
vep - Veps
vi - Vietnamese
vls - West Flemish
vmf - Main-Franconian
vmw - Makhuwa
vo - Volapük
vot - Votic
vro - Võro
wa - Walloon
war - Waray
wls - Wallisian
wo - Wolof
wuu - Wu Chinese
xal - Kalmyk
xh - Xhosa
xmf - Mingrelian
xsy - Saisiyat
yi - Yiddish
yo - Yoruba
yrl - Nheengatu
yue - Cantonese
za - Zhuang
zea - Zeelandic
zgh - Standard Moroccan Tamazight
zh - Chinese
zh-cn - Chinese (China)
zh-hans - Simplified Chinese
zh-hant - Traditional Chinese
zh-hk - Chinese (Hong Kong)
zh-mo - Chinese (Macau)
zh-my - Chinese (Malaysia)
zh-sg - Chinese (Singapore)
zh-tw - Chinese (Taiwan)
zu - Zulu
Format
Export for off-line translation
Export in native format
Export in CSV format
Fetch
<div lang="en" dir="ltr" class="mw-content-ltr"> == SPARQL Query Examples == </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This page lists examples of SPARQL queries that allow for in-depth interrogation of the ''Resistance in Belgium'' data ([https://data.arch.be/wiki/Special:MyLanguage/In-depth_search see also this example page]). Each query can be executed by clicking on the "Try it!" link, which opens a dedicated query interface. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''Note''': For practical reasons, the queries have been automatically translated into English, Dutch, and German. While there may be minor inaccuracies, we prioritized making these examples available in multiple languages to ensure broad access to the data for all users. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Search for resistance members by family name ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query retrieves the list of people present in the database with a certain last name. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: Resistance fighters with a certain last name (here: Barbieux) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SELECT ?person ?personLabel ?birthDate WHERE { ?person wdt:P1 wd:Q2 . # Selects all elements thaat are (P1) persons (Q2) ?person wdt:P3 "Barbieux" . # Filters to take only persons whose last name (P3) is "Barbieux" (modify "Barbieux" as needed) ?person wdt:P67 ?birthDate . # Adds the birth date (P67) SERVICE wikibase:label { bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]". } # Retrieves the label in English } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ORDER BY ?personLabel # Sorts the results alphabetically by label }} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Search for members of a resistance organisation ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query retrieves the list of people present in the database # and known to be members of a certain resistance organisation (here: Tempo) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: Resistance fighters who are members of a resistance organisation (here: Tempo) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SELECT ?person ?surname ?firstName ?birthDate WHERE { ?person wdt:P1 wd:Q2 . # Selects all elements that are (P1) persons (Q2) ?person wdt:P52 wd:Q4367 . # Filters by membership in an organisation ("member of", P52), here "Tempo" (Q4367) (replace Q4367 with the organisation of your choice using autocomplete (Control + space)) ?person wdt:P67 ?birthDate . # Adds the birth date (P67) ?person wdt:P3 ?surname . # Retrieves the surname (P3) ?person wdt:P2 ?firstName . # Retrieves the first name (P2) SERVICE wikibase:label { bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]". } # Retrieves the label in English } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ORDER BY LCASE(?surname) LCASE(?firstName) # Sorts results by surname, then first name (case-insensitive) }} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Search by place of residence ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query retrieves the list of people present in the database # and residing in a certain municipality during/after World War II </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: Resistance fighters filtered by their residence (here: Anderlecht) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SELECT ?person ?surname ?firstName ?birthDate WHERE { ?person wdt:P1 wd:Q2 . # Selects all elements that are (P1) persons (Q2) ?person wdt:P7 wd:Q102 . # Filters by residence (P7), here Anderlecht (Q102) (replace Q102 with the (section of) municipality of your choice using autocomplete (Control + space)) ?person wdt:P67 ?birthDate . # Adds the birth date (P67) ?person wdt:P3 ?surname . # Retrieves the surname (P3) ?person wdt:P2 ?firstName . # Retrieves the first name (P2) SERVICE wikibase:label { bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]". } # Retrieves the label in English } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ORDER BY LCASE(?surname) LCASE(?firstName) # Sorts results by surname, then first name (case-insensitive) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> }} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Search by profession ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query retrieves the list of people present in the database who have a certain profession (here: hairdresser / kapper). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: Resistance fighters with a certain profession (here: hairdresser / kapper) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SELECT ?person ?surname ?firstName ?residenceLabel ?professionLabel WHERE { ?person wdt:P1 wd:Q2 . # Selects all people (P1) with the identifier "Person" (Q2) ?person wdt:P13 ?profession . # Selects their profession (P13) ?person wdt:P3 ?surname . # Retrieves the surname (P3) ?person wdt:P2 ?firstName . # Retrieves the first name (P2) FILTER (CONTAINS(str(?profession), 'coiffeu') || CONTAINS(str(?profession), 'kapper')). # Filters to select all people whose profession # contains 'coiffeu' (hairdresser in French) or 'kapper' (in Dutch) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #FILTER (CONTAINS(str(?profession), 'coiffeu')). # If you want to use only one search term: remove the '#' at the start of the line and delete the previous line OPTIONAL { ?person wdt:P7 ?residence. } # Also adds the residence (P7), if known SERVICE wikibase:label { bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]". } # Retrieves the labels in English } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ORDER BY LCASE(?surname) LCASE(?firstName) # Sorts the results by surname, then first name (case-insensitive) }} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Number of members of a resistance organisation ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= # This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query retrieves the number of members per resistance organisation and displays the results as a bubble chart. # You can click on each bubble or organisation name to access more details about the organisation in the database. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: Count of members per resistance organisation </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #defaultView:BubbleChart # Display as bubbles </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SELECT ?organisation ?organisationLabel (COUNT(?person) AS ?numberOfMembers) WHERE { ?person wdt:P1 wd:Q2 . # Selects all elements that are (P1) persons (Q2) ?person wdt:P52 ?organisation . # Filters by membership in an organisation ("member of", P52) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> FILTER EXISTS { ?organisation wdt:P1/wdt:P9* wd:Q4 # Checks if the organisation is (P1) / is a subclass (P9) of a resistance organisation (Q4) } # To filter and display only resistance networks/missions, replace Q4 with Q38. # To filter and display only armed resistance movements, replace Q4 with Q37. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Retrieves the labels in English } GROUP BY ?organisation ?organisationLabel ORDER BY DESC(?numberOfMembers) }} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Places of death during the war ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query retrieves the places of death of resistance fighters up until the end of 1945 # and displays them on a map with their names and, if available, the dates of death. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # Tip: You can click on the points on the map to view the names of the deceased individuals. # Note: Foreign locations have been "modernised" to match the current data in the Geonames database. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: Places and dates of death during the war </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #defaultView:Map{"hide":"?GPS"} # Display as a map, hide the GPS coordinates </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SELECT ?person ?personLabel ?placeOfDeath ?placeOfDeathLabel ?GPS ?dateOfDeath WHERE { ?person wdt:P1 wd:Q2 . # Selects all people (P1 = Q2) ?person wdt:P48 ?placeOfDeath . # Retrieves the places of death (P48) ?placeOfDeath wdt:P6 ?GPS . # Retrieves the GPS coordinates of the places of death (P6) OPTIONAL { ?person wdt:P68 ?dateOfDeath . # Retrieves the date of death, if available FILTER(?dateOfDeath <= "1945-12-31"^^xsd:dateTime) # Filters deaths: up until the end of 1945 } SERVICE wikibase:label { bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]". } # Retrieves the labels in English } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ORDER BY ?placeOfDeathLabel }} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== List the women who have been detained ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= # This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: Women resistance fighters who were detained SELECT DISTINCT ?person ?surname ?firstName ?startOfDetention ?endOfDetention ?professionLabel ?recognitionStatusLabel WHERE { </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ?person wdt:P1 wd:Q2 . # Selects persons (P1 = Q2) ?person wdt:P4 wd:Q6 . # Filters to select women (P4 = female Q6) ?person p:P53 ?detention_statement . # Searches for persons who were detained (P53) ?detention_statement ps:P53 ?detention . OPTIONAL { ?detention_statement pq:P23 ?startOfDetention. FILTER (datatype(?startOfDetention) = xsd:edtf ) } # Retrieves the start of detention date if available (P23) OPTIONAL { ?detention_statement pq:P25 ?endOfDetention. FILTER (datatype(?endOfDetention) = xsd:edtf ) } # Retrieves the end of detention date if available (P25) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> OPTIONAL { ?person wdt:P13 ?profession. } # Retrieves the profession if available (P13) OPTIONAL { ?person wdt:P55 ?recognitionStatus. } # Retrieves the national recognition status if obtained (P55) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ?person wdt:P3 ?surname . # Retrieves the surname (P3) ?person wdt:P2 ?firstName . # Retrieves the first name (P2) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Retrieves the labels in English </div> <div lang="en" dir="ltr" class="mw-content-ltr"> } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ORDER BY LCASE(?surname) LCASE(?firstName) # Sorts case-insensitively }} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Recognised ARA/FFC Members or Letter of Appreciation Recipients ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= # This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query retrieves the list of resistance fighters recognised as intelligence and action agents (ARA) # or who received a letter of thanks (LR) or FFC (Forces Françaises Combattantes) status, along with their residence and linked archive file. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: ARA resistance fighters (recognised or letter of thanks) or FFC </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SELECT DISTINCT ?person ?surname ?firstName ?residence ?residenceLabel ?recognisedStatusLabel ?LR ?archiveCollectionLabel ?inventoryNo WHERE { </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ?person wdt:P1 wd:Q2 . # Selects persons (P1 = Q2) ?person wdt:P3 ?surname . # Retrieves the surname (P3) ?person wdt:P2 ?firstName . # Retrieves the first name (P2) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> { ?person wdt:P55 ?recognisedStatus. FILTER(?recognisedStatus IN (wd:Q17, wd:Q4487)) } # Filters for recognised ARA statuses (Q17) or FFC (Q4487) UNION # OR { ?person p:P54 ?statement. ?statement ps:P54 wd:Q17; pq:P56 wd:Q6665. # Persons who received a letter of thanks (Q6665) BIND("letter of thanks ARA" AS ?LR)} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> OPTIONAL { ?person wdt:P7 ?residence. } # Retrieves the residence if available (P7) OPTIONAL { ?person p:P34 ?archive_statement . ?archive_statement ps:P34 ?archiveCollection ; pq:P35 ?inventoryNo.} # Reference to the archives SERVICE wikibase:label { bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]". } # Retrieves the labels in English } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ORDER BY LCASE(?surname) LCASE(?firstName) # Sorts results by surname, then first name (case-insensitive) LIMIT 100 # Limits the results to 100 to optimise performance. You can adjust or remove this limit as needed. }} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Enriching data on resistance members using external sources [federated query] ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{SPARQL|query= ## This query has been automatically translated for pragmatic reasons and due to limited resources. Please be aware that some terms may not be fully accurate. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # This query retrieves additional information about the resistance fighters in the database, thanks to Wikidata, including Wikipedia articles and external archives (ODIS, Biographie Nationale, VIAF, SNAC, etc.). </div> <div lang="en" dir="ltr" class="mw-content-ltr"> #title: Enrichment of resistance fighter data via Wikidata </div> <div lang="en" dir="ltr" class="mw-content-ltr"> PREFIX wd_wikidata: <http://www.wikidata.org/entity/> # Prefix for Wikidata PREFIX wdt_wikidata: <http://www.wikidata.org/prop/direct/> # Prefix for Wikidata direct properties </div> <div lang="en" dir="ltr" class="mw-content-ltr"> SELECT DISTINCT ?person ?surname ?firstName ?wikidata_ID ?article_en ?odisURL ?bioNationaleURL ?JusteURL ?maitronURL ?viafURL ?snacURL (GROUP_CONCAT(DISTINCT ?archivesLabel; SEPARATOR = ", ") AS ?archives) # Concatenation of found archives </div> <div lang="en" dir="ltr" class="mw-content-ltr"> WHERE { ?person wdt:P1 wd:Q2 . # Selects all persons (P1 = Q2) ?person wdt:P3 ?surname . # Retrieves the surname (P3) ?person wdt:P2 ?firstName . # Retrieves the first name (P2) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ?person wdt:P15 ?wikidataIdentifier . # Retrieves the Wikidata identifier (P15) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # Generates a link to the corresponding Wikidata entity BIND(URI(CONCAT("http://www.wikidata.org/entity/", ?wikidataIdentifier)) AS ?wikidata_ID) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # Federated query to retrieve additional information from Wikidata SERVICE <https://query.wikidata.org/sparql> { # Retrieves and generates the URLs of external identifiers OPTIONAL { ?wikidata_ID wdt_wikidata:P2372 ?odisID. # Retrieves the ODIS ID BIND(URI(CONCAT("https://www.odis.be/lnk/", STR(?odisID))) AS ?odisURL) # Generates the ODIS URL } OPTIONAL { ?wikidata_ID wdt_wikidata:P6234 ?bioNationaleID. # Biographie Nationale of Belgium ID BIND(URI(CONCAT("https://academieroyale.be/fr/la-biographie-nationale-personnalites-detail/personnalites/", STR(?bioNationaleID), "/Vrai/")) AS ?bioNationaleURL) # Generates the Biographie Nationale URL } OPTIONAL { ?wikidata_ID wdt_wikidata:P214 ?viafID. # VIAF ID BIND(URI(CONCAT("https://viaf.org/viaf/", STR(?viafID))) AS ?viafURL) # Generates the VIAF URL } OPTIONAL { ?wikidata_ID wdt_wikidata:P3430 ?snacID. # SNAC ID BIND(URI(CONCAT("https://snaccooperative.org/ark:/99166/", STR(?snacID))) AS ?snacURL) # Generates the SNAC URL } OPTIONAL { ?wikidata_ID wdt_wikidata:P4724 ?maitronID. # Maitron ID BIND(URI(CONCAT("https://maitron.fr/spip.php?article", STR(?maitronID))) AS ?maitronURL) # Generates the Maitron URL } OPTIONAL { ?wikidata_ID wdt_wikidata:P1979 ?JusteID. # Righteous Among the Nations ID BIND(URI(CONCAT("https://collections.yadvashem.org/en/righteous/", STR(?JusteID))) AS ?JusteURL) # Generates the Righteous Among the Nations URL } # Retrieves the English Wikipedia article OPTIONAL { ?article_en schema:about ?wikidata_ID ; schema:inLanguage "en" ; schema:isPartOf <https://en.wikipedia.org/> . # English Wikipedia article } # Retrieves archives linked to the person OPTIONAL { ?wikidata_ID wdt_wikidata:P485 ?archives. # Retrieves archives (P485) ?archives rdfs:label ?archivesLabel. # Retrieves archive labels FILTER(LANG(?archivesLabel) = "en") # Filters for labels in English } } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> # Retrieves labels of persons in the defined language SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } </div> <div lang="en" dir="ltr" class="mw-content-ltr"> GROUP BY ?person ?surname ?firstName ?wikidata_ID ?article_en ?odisURL ?JusteURL ?bioNationaleURL ?maitronURL ?viafURL ?snacURL </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ORDER BY LCASE(?surname) LCASE(?firstName) # Sorts results by surname, then first name (case-insensitive) }} </div>