Question: What is the connection between Mark Cuban to Dallas (the one that is the death place of Dorothy Malone)?
Choices:
theme music
business division
subsidiary
statistical leader
territory claimed by
residence
convicted of
spouse
industry
is a list of
Answer: residence
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Cuban" . ?e_2 <pred:name> "Dallas" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Dorothy Malone" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mark Cuban
function: Find
inputs: Dorothy Malone
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Dallas
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4