Question: What is the connection between viola to Johann Sebastian Bach (the one that has the occupation of musician)?
Choices:
exclave of
child
license
writing system
famous people
participant of
voice type
health specialty
vehicle normally used
collection
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "viola" . ?e_2 <pred:name> "Johann Sebastian Bach" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "musician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: viola
function: Find
inputs: musician
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Johann Sebastian Bach
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4