Question: What is the connection between Dick Clark (the one whose date of birth is 1933-05-09) to politician?
Choices:
had as last meal
copyright holder
occupation
substitute/deputy/replacement of office/officeholder
costume designer
home port
has immediate cause
performer
works in collection
domain of saint or deity
Program:
function: Find
inputs: Dick Clark
function: FilterDate
dependencies: 0
inputs: date of birth
1933-05-09
=
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dick Clark" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1933-05-09"^^xsd:date . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation