Question: What is the relationship between William McKinley (the one whose date of death is 1900-01-01) and English?
Choices:
had as last meal
field of work
time period
languages spoken, written or signed
place of birth
collection
film distribute region
appointed by
basin country
filming location
Answer: languages spoken, written or signed
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William McKinley" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1900-01-01"^^xsd:date . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William McKinley
function: FilterDate
dependencies: 0
inputs: date of death
1900-01-01
=
function: Find
inputs: English
function: QueryRelation
dependencies: 1
2