Question: How does David Bowie (the one whose genre is rock music) relate to Columbia Records ?
Choices:
godparent
architectural style
maintained by
record label
home world
operating system
head coach
creator
film regional debut venue
rector
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Bowie" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "rock music" . ?e_2 <pred:name> "Columbia Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: David Bowie
function: And
dependencies: 1
2
function: Find
inputs: Columbia Records
function: QueryRelation
dependencies: 3
4