Question: What is the connection between Frank Marshall (the one whose date of birth is 1877-08-10) to New York City?
Choices:
studies
has edition
professional or sports partner
official religion
film distribute region
place of death
author
programming language
lifestyle
patron saint
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Frank Marshall" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1877-08-10"^^xsd:date . ?e_2 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Frank Marshall
function: FilterDate
dependencies: 0
inputs: date of birth
1877-08-10
=
function: Find
inputs: New York City
function: QueryRelation
dependencies: 1
2