Question: What is the connection between John Davis (the one whose date of birth is 1838-01-01) to Colorado (the one whose FIPS 10-4 (countries and regions) is US08)?
Choices:
record label
software engine
located in the administrative territorial entity
interests
signatory
lifestyle
has parts of the class
organisation directed from the office or person
place of death
operating area
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 <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "US08" . ?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: Colorado
function: FilterStr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
US08
function: QueryRelation
dependencies: 1
3