Question: What is the relationship between Mona Lisa (the one that is a notable work of William S. Burroughs) and mountain?
Choices:
successful candidate
director/manager
appointed by
composer
significant person
industry
honorific suffix
programming language
depicts
ethnic group
Answer: depicts
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mona Lisa" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "William S. Burroughs" . ?e_2 <pred:name> "mountain" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William S. Burroughs
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Mona Lisa
function: And
dependencies: 1
2
function: Find
inputs: mountain
function: QueryRelation
dependencies: 3
4