Skip to content

Instantly share code, notes, and snippets.

@gpirrotta
Created November 16, 2019 18:03
Show Gist options
  • Save gpirrotta/5b69407542ba868c9ed2c3935db37cc6 to your computer and use it in GitHub Desktop.
Save gpirrotta/5b69407542ba868c9ed2c3935db37cc6 to your computer and use it in GitHub Desktop.
PREFIX bio-ext: <http://dati.cdec.it/lod/bio-ext/>
PREFIX shoah: <http://dati.cdec.it/lod/shoah/>
SELECT 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').
}
ORDER BY DESC(?count)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment