Skip to content

Instantly share code, notes, and snippets.

@gpirrotta
Last active November 12, 2019 16:01
Show Gist options
  • Save gpirrotta/6256800bffd4872b4b1d64f14e05d398 to your computer and use it in GitHub Desktop.
Save gpirrotta/6256800bffd4872b4b1d64f14e05d398 to your computer and use it in GitHub Desktop.
PREFIX bio-ext: <http://dati.cdec.it/lod/bio-ext/>
PREFIX bio: <http://purl.org/vocab/bio/0.1/>
SELECT ?name ?survived
FROM <http://dati.cdec.it/lod/shoah/>
{
?uri a foaf:Person;
rdfs:label ?name.
OPTIONAL { ?uri bio-ext:shoahSurvivor ?survived }
?uri owl:sameAs ?uri_same.
FILTER(regex(str(?uri_same), "dati.camera.it" ) )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment