Question: Tell me the relationship between Peter Jackson (who was born on 1964-10-22) to table tennis
Choices:
depicted by
shares border with
newspaper format
cast member
has contributing factor
parent organization
educated at
sport
place of burial
instrument
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Jackson" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1964-10-22"^^xsd:date . ?e_2 <pred:name> "table tennis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Peter Jackson
function: FilterDate
dependencies: 0
inputs: date of birth
1964-10-22
=
function: Find
inputs: table tennis
function: QueryRelation
dependencies: 1
2