Question: What is the relationship between Andy Williams (the one whose date of birth is 1962-07-29) and association football?
Choices:
home world
lifestyle
appointed by
doctoral advisor
occupant
sport
given name
permanent resident of
coextensive with
official color
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1962-07-29"^^xsd:date . ?e_2 <pred:name> "association football" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Andy Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1962-07-29
=
function: Find
inputs: association football
function: QueryRelation
dependencies: 1
2