Question: What is the connection between Dean Martin (the one whose date of birth is 1973) to politician?
Choices:
occupation
military conflicts
sibling
location
inspired by
production company
found
dissertation submitted to
contains settlement
affiliation
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dean Martin" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 1973 . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dean Martin
function: FilterYear
dependencies: 0
inputs: date of birth
1973
=
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2