Question: How is Vincent van Gogh (the one that works in the location Dordrecht) related to art of painting ?
Choices: headquarters location
located in the administrative territorial entity
field of work
occupant
characters
studies
head coach
material used
family name
contains settlement
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vincent van Gogh" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Dordrecht" . ?e_2 <pred:name> "art of painting" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dordrecht
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Vincent van Gogh
function: And
dependencies: 1
2
function: Find
inputs: art of painting
function: QueryRelation
dependencies: 3
4
Answer: field of work