Question: How is Javier Grillo-Marxuach connected to San Juan, which belongs to the USA?
Choices:
place of birth
film regional debut venue
permanent resident of
designed by
symptom of
different from
father
executive producer
office held by head of government
relative
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Javier Grillo-Marxuach" . ?e_2 <pred:name> "San Juan" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Javier Grillo-Marxuach
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: San Juan
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4