Question: What is the relationship between John Broome (the one whose date of birth is 1738-01-01) and politician?
Choices:
distribution
approved by
eye color
capital of
family name
production company
partner
occupation
child
location
Program:
function: Find
inputs: John Broome
function: FilterDate
dependencies: 0
inputs: date of birth
1738-01-01
=
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Broome" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1738-01-01"^^xsd:date . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation