Question: What is the connection between Chicago (the one that has John C. Reilly as a cast member) to musical film?
Choices:
organizer
genre
time period
location
has cause
award received
afflicts
geographic distribution
position held
published in
Program:
function: Find
inputs: John C. Reilly
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Chicago
function: And
dependencies: 1
2
function: Find
inputs: musical film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chicago" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "John C. Reilly" . ?e_2 <pred:name> "musical film" . ?e_1 ?p ?e_2 .  }
Answer: genre