Question: What is the relationship between A Clockwork Orange (the one whose release region is Sweden) and Milena Canonero?
Choices:
relative
draft pick from school
has parts of the class
feast day
official symbol
currency
licensed to broadcast to
home world
costume designer
political ideology
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: A Clockwork Orange
function: And
dependencies: 1
2
function: Find
inputs: Milena Canonero
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Clockwork Orange" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Sweden" . ?e_2 <pred:name> "Milena Canonero" . ?e_1 ?p ?e_2 .  }
Answer: costume designer