Question: What is the connection between The Decemberists to Portland (the one that is the residence of Gus Van Sant)?
Choices:
airline hub
location of formation
after a work by
stated in
sidekick of
official symbol
original film format
sibling
appointed by
programming language
Answer: location of formation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Decemberists" . ?e_2 <pred:name> "Portland" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Gus Van Sant" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Decemberists
function: Find
inputs: Gus Van Sant
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Portland
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4