Question: What is the connection between John Adams (the one whose date of death is 1854-09-25) to English?
Choices:
make-up artist
office held by head of state
languages spoken, written or signed
legislative body
architect
place of publication
founded by
noble title
archives at
facet of
Answer: languages spoken, written or signed
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1854-09-25"^^xsd:date . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Adams
function: FilterDate
dependencies: 0
inputs: date of death
1854-09-25
=
function: Find
inputs: English
function: QueryRelation
dependencies: 1
2