Question: What's the title of the visual artwork produced by Amazon, headquartered in Seattle?
Choices:
Six Degrees of Separation
Super 8
Zero Dark Thirty
Evil Angels
Mumford
Star Wars: Episode II – Attack of the Clones
Lantana
Little Miss Sunshine
Women in Love
Out of Africa
Program:
function: Find
inputs: Seattle
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: Find
inputs: Amazon
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: production company
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttr
dependencies: 5
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Amazon" . ?e_1 <headquarters_location> ?e_2 . ?e_2 <pred:name> "Seattle" .  ?e <title> ?pv .  }
Answer: Zero Dark Thirty