Question: What is the connection between Robert Shaw (date of birth 1904-12-05) and politician?
Choices: approved by
tributary
medical treatment
part of
candidate
applies to jurisdiction
parent organization
appears in the form of
occupation
interested in
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Shaw" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1904-12-05"^^xsd:date . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robert Shaw
function: FilterDate
dependencies: 0
inputs: date of birth
1904-12-05
=
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
Answer: occupation