Question: How is the portrait painter Vincent van Gogh related to Dordrecht?
Choices:
appointed by
natural product of taxon
had as last meal
history of topic
Wikidata property
board member
work location
owner of
programming paradigm
present in work
Answer: work location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vincent van Gogh" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "portrait" . ?e_2 <pred:name> "Dordrecht" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: portrait
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Vincent van Gogh
function: And
dependencies: 1
2
function: Find
inputs: Dordrecht
function: QueryRelation
dependencies: 3
4