Question: What's the link between James Franco and Palo Alto, which borders Stanford?
Choices:
production designer
works in collection
located in time zone
place of birth
has dialect (DEPRECATED)
ethnic group
educated at
replaces
official symbol
terminus
Program:
function: Find
inputs: James Franco
function: Find
inputs: Stanford
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Palo Alto
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Franco" . ?e_2 <pred:name> "Palo Alto" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Stanford" . ?e_1 ?p ?e_2 .  }
Answer: place of birth