Question: What is the connection between John Davis (the one whose date of birth is 1838-01-01) to Colorado (the one that is a part of contiguous United States)?
Choices:
has cause
patron saint
discoverer or inventor
field of work
geographic distribution
original film format
eye color
theme music
place of death
architect
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1838-01-01"^^xsd:date . ?e_2 <pred:name> "Colorado" . ?e_2 <part_of> ?e_3 . ?e_3 <pred:name> "contiguous United States" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of birth
1838-01-01
=
function: Find
inputs: contiguous United States
function: Relate
dependencies: 2
inputs: part of
backward
function: Find
inputs: Colorado
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5