Question: What is the connection between Richard Wright (the one whose date of birth is 1960-01-01) to Amsterdam (the one that is located in time zone Central European Time)?
Choices:
drug used for treatment
indigenous to
work location
cast member
director
given name
production company
affiliation
studies
filmography
Answer: work location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wright" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1960-01-01"^^xsd:date . ?e_2 <pred:name> "Amsterdam" . ?e_2 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> "Central European Time" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Richard Wright
function: FilterDate
dependencies: 0
inputs: date of birth
1960-01-01
=
function: Find
inputs: Central European Time
function: Relate
dependencies: 2
inputs: located in time zone
backward
function: Find
inputs: Amsterdam
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5