Question: What is the connection between Winston Churchill (the one whose date of birth is 1620-04-18) to politician?
Choices:
cast member
facet of
medical condition
occupation
manner of death
home port
talk show guest
symptoms
ancestral home
film release region
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Winston Churchill" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1620-04-18"^^xsd:date . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Winston Churchill
function: FilterDate
dependencies: 0
inputs: date of birth
1620-04-18
=
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2