Question: How is Emma Stone related to Greenwich Village whose postal code is 10012?
Choices:
place of death
dedicated to
sponsor
residence
present in work
publisher
writing system
copyright holder
sibling
based on
Program:
function: Find
inputs: Emma Stone
function: Find
inputs: Greenwich Village
function: FilterStr
dependencies: 1
inputs: postal code
10012
function: QueryRelation
dependencies: 0
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Emma Stone" . ?e_2 <pred:name> "Greenwich Village" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "10012" . ?e_1 ?p ?e_2 .  }
Answer: residence