Question: What is the connection between John Cusack (the one whose date of birth is 1868-08-08) to politician?
Choices: foundational text
occupation
discoverer or inventor
convicted of
conferred by
ethnic group
composer
head of state
languages spoken, written or signed
subsidiary
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Cusack" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1868-08-08"^^xsd:date . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Cusack
function: FilterDate
dependencies: 0
inputs: date of birth
1868-08-08
=
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
Answer: occupation