Question: What is the relationship between Batman (the one whose date of birth is 1970) and detective?
Choices: occupation
is a list of
stated in
subject has role
place of origin (Switzerland)
main subject
game mode
color
designated as terrorist by
contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 1970 . ?e_2 <pred:name> "detective" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Batman
function: FilterYear
dependencies: 0
inputs: date of birth
1970
=
function: Find
inputs: detective
function: QueryRelation
dependencies: 1
2
Answer: occupation