Question: What is the relationship between Michael Lerner (the one whose date of birth is 1943-01-01) to rabbi?
Choices:
sexual orientation
contains settlement
archives at
father
diplomatic relation
sport
occupation
manufacturer
draft pick from school
general manager
Program:
function: Find
inputs: Michael Lerner
function: FilterDate
dependencies: 0
inputs: date of birth
1943-01-01
=
function: Find
inputs: rabbi
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Lerner" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1943-01-01"^^xsd:date . ?e_2 <pred:name> "rabbi" . ?e_1 ?p ?e_2 .  }
Answer: occupation