Question: What does Carrie (whose color is black-and-white) have to do with Chicago (the working location of Billy Corgan)?
Choices:
narrative location
public holiday
record label
use
illustrator
business division
musical conductor
sports season of league or competition
noble title
original network
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: Billy Corgan
function: Relate
dependencies: 4
inputs: work location
forward
function: Find
inputs: Chicago
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carrie" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "Chicago" . ?e_4 <work_location> ?e_2 . ?e_4 <pred:name> "Billy Corgan" . ?e_1 ?p ?e_2 .  }
Answer: narrative location