Question: What is the relation between the musical Chicago (whose librettist is Fred Ebb) and Bob Fosse?
Choices:
broadcast by
operating area
general manager
has cause
organisation directed from the office or person
famous people
geographic distribution
librettist
distribution
fictional universe described in
Answer: librettist
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chicago" . ?e_1 <librettist> ?e_3 . ?e_3 <pred:name> "Fred Ebb" . ?e_2 <pred:name> "Bob Fosse" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Fred Ebb
function: Relate
dependencies: 0
inputs: librettist
backward
function: Find
inputs: Chicago
function: And
dependencies: 1
2
function: Find
inputs: Bob Fosse
function: QueryRelation
dependencies: 3
4