Question: What is the connection between Richard Wagner (the one whose date of birth is 1861-10-03) to Berlin?
Choices:
successful candidate
work location
allegiance
after a work by
capital
time period
member of sports team
vehicle normally used
director/manager
owned by
Program:
function: Find
inputs: Richard Wagner
function: FilterDate
dependencies: 0
inputs: date of birth
1861-10-03
=
function: Find
inputs: Berlin
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wagner" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1861-10-03"^^xsd:date . ?e_2 <pred:name> "Berlin" . ?e_1 ?p ?e_2 .  }
Answer: work location