Question: What is the connection between John Davis (the one whose date of birth is 1939-03-26) to cricket?
Choices:
doctoral advisor
honorific suffix
programming paradigm
native language
musical conductor
sexual orientation
medical condition
sport
operator
military rank
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of birth
1939-03-26
=
function: Find
inputs: cricket
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1939-03-26"^^xsd:date . ?e_2 <pred:name> "cricket" . ?e_1 ?p ?e_2 .  }
Answer: sport