Last active
November 13, 2019 20:53
-
-
Save gpirrotta/d7075b96e697211a36bfdb80000df79d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX bio-ext: <http://dati.cdec.it/lod/bio-ext/> | |
PREFIX shoah: <http://dati.cdec.it/lod/shoah/> | |
SELECT DISTINCT ?country count(?country) as ?count | |
FROM <http://dati.cdec.it/lod/shoah/> | |
WHERE { | |
?IRI a foaf:Person; | |
bio-ext:birthPlace ?birth. | |
?birth foaf:country ?country. | |
FILTER(?country != 'Italia'). | |
} | |
GROUP BY ?country | |
ORDER BY DESC(?count) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment