migrants/queries/step_01_1hop_example.rq

18 lines
319 B
SPARQL

PREFIX person: <http://example.org/migrants/person/>
CONSTRUCT {
?s ?p ?o .
}
WHERE {
{
# Triples about Irene Abendroth (as subject)
?s ?p ?o .
FILTER(?s = person:AbeIre-00)
}
UNION
{
# Triples from other tables referencing Irene Abendroth
?s ?p ?o .
?s ?ref person:AbeIre-00 .
}
}