Question: What film production company is the distributor of Android (that originates in the United States of America) and is the production company of Android (whose title is Android)?
Choices:
Lucasfilm
The Weinstein Company
Touchstone Pictures
Constantin Film
Hollywood Pictures
Relativity Media
Paramount Pictures
Screen Gems
Warner Bros.
New World Pictures
Answer: New World Pictures
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film production company" . ?e_1 <distributor> ?e . ?e_1 <pred:name> "Android" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e_3 <production_company> ?e . ?e_3 <pred:name> "Android" . ?e_3 <title> ?pv . ?pv <pred:value> "Android" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Android
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: distributor
forward
function: FilterConcept
dependencies: 4
inputs: film production company
function: Find
inputs: Android
function: FilterStr
dependencies: 6
inputs: title
Android
function: Relate
dependencies: 7
inputs: production company
forward
function: FilterConcept
dependencies: 8
inputs: film production company
function: And
dependencies: 5
9
function: What
dependencies: 10