Question: What is the connection between Richard Wagner (the one whose date of death is 1979-09-15) to Germany?
Choices:
properties for this type
official symbol
parent organization
soundtrack album
country of citizenship
airline hub
replaced by
sibling
musical conductor
academic degree
Program:
function: Find
inputs: Richard Wagner
function: FilterDate
dependencies: 0
inputs: date of death
1979-09-15
=
function: Find
inputs: Germany
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wagner" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1979-09-15"^^xsd:date . ?e_2 <pred:name> "Germany" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship