Question: What is the relationship between Shame written by Ingmar Bergman, and black and white!
Choices:
interests
notable people with this condition
has effect
geography of topic
takes place in fictional universe
color
position held
narrative role
symptom of
archives at
Program:
function: Find
inputs: Ingmar Bergman
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Shame
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shame" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Ingmar Bergman" . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Answer: color