Question: What is the relationship between John Broome (whose date of birth is 1738-01-01) and Staten Island (whose local dialing code is 917)?
Choices:
general manager
country for sport
place of birth
original network
significant event
maintained by
mother
diplomatic relation
symptom of
notable people with this condition
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Broome" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1738-01-01"^^xsd:date . ?e_2 <pred:name> "Staten Island" . ?e_2 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "917" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Broome
function: FilterDate
dependencies: 0
inputs: date of birth
1738-01-01
=
function: Find
inputs: Staten Island
function: FilterStr
dependencies: 2
inputs: local dialing code
917
function: QueryRelation
dependencies: 1
3