Question: What is the connection between Vincent van Gogh (the one whose location is Boston) to Cleveland?
Choices:
product or material produced
facet of
location
head of government
film release region
filmography
contains administrative territorial entity
airline alliance
film editor
office held by head of state
Answer: location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vincent van Gogh" . ?e_1 <location> ?e_3 . ?e_3 <pred:name> "Boston" . ?e_2 <pred:name> "Cleveland" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Boston
function: Relate
dependencies: 0
inputs: location
backward
function: Find
inputs: Vincent van Gogh
function: And
dependencies: 1
2
function: Find
inputs: Cleveland
function: QueryRelation
dependencies: 3
4