Question: What is the association between Chris Martin (who is famous for piano) and Coldplay?
Choices:
nutrient
member of
source of income
territory overlaps
hair color
office held by head of the organisation
partially contains
winner
godparent
next higher rank
Program:
function: Find
inputs: piano
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Chris Martin
function: And
dependencies: 1
2
function: Find
inputs: Coldplay
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chris Martin" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "piano" . ?e_2 <pred:name> "Coldplay" . ?e_1 ?p ?e_2 .  }
Answer: member of