Skip to content

Instantly share code, notes, and snippets.

@gpirrotta
Last active November 14, 2019 18:22
Show Gist options
  • Save gpirrotta/f45c6491052c29bd82f799bf66aa47e9 to your computer and use it in GitHub Desktop.
Save gpirrotta/f45c6491052c29bd82f799bf66aa47e9 to your computer and use it in GitHub Desktop.
PREFIX shoah: <http://dati.cdec.it/lod/shoah/>
PREFIX bio-ext: <http://dati.cdec.it/lod/bio-ext/>
SELECT DISTINCT ?name ?birthPlace ?arrestPlace ?raccolta
FROM <http://dati.cdec.it/lod/shoah/>
WHERE
{ ?uri a foaf:Person;
rdfs:label ?name;
bio-ext:birthPlace ?birth.
?birth rdfs:label ?birthPlace.
?uri shoah:persecution ?pers.
OPTIONAL{
?pers shoah:arrestPlace ?arr.
?arr rdfs:label ?arrestPlace.
}
OPTIONAL{
?pers shoah:convoyDeparturePlace ?racc.
?racc rdfs:label ?raccolta.
}
} ORDER BY ?name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment