Question: What does soul music have to do with Paul Weller (who is famous for rock music)?
Choices:
language used
allegiance
conflict
famous people
worshipped by
officially opened by
licensed to broadcast to
narrative role
platform
author
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "soul music" . ?e_2 <pred:name> "Paul Weller" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "rock music" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: soul music
function: Find
inputs: rock music
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Paul Weller
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4