Question: What is the connection between Emma Stone to Greenwich Village (the one whose country is United States of America)?
Choices:
programming paradigm
twinned administrative body
location
residence
archives at
filmography
place of publication
medical condition
writing system
applies to jurisdiction
Answer: residence
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Emma Stone" . ?e_2 <pred:name> "Greenwich Village" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Emma Stone
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Greenwich Village
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4