Question: What is the connection between bagpipes to Phil Collins (the one that is a cast member of Hook)?
Choices:
office held by head of the organisation
location of formation
risk factor
famous people
taxon rank
nominated for
after a work by
designed by
conferred by
language of work or name
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "bagpipes" . ?e_2 <pred:name> "Phil Collins" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Hook" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: bagpipes
function: Find
inputs: Hook
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Phil Collins
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4