Question: What is the relationship between Sting (the one that is famous for lute) and guitarist?
Choices:
occupation
vehicle normally used
after a work by
affiliation
donated by
student of
replaces
located on astronomical location
official color
substitute/deputy/replacement of office/officeholder
Program:
function: Find
inputs: lute
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Sting
function: And
dependencies: 1
2
function: Find
inputs: guitarist
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sting" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "lute" . ?e_2 <pred:name> "guitarist" . ?e_1 ?p ?e_2 .  }
Answer: occupation