Question: Tell me the agent that owns the film production company that is An Inconvenient Truth's distributor.
Choices:
Comcast
Catholic Church
Sega
Philips
Viacom
House of Commons
MCA Inc.
Order of the British Empire
The Walt Disney Company
Silver Pictures
Program:
function: Find
inputs: An Inconvenient Truth
function: Relate
dependencies: 0
inputs: distributor
forward
function: FilterConcept
dependencies: 1
inputs: film production company
function: Relate
dependencies: 2
inputs: owned by
forward
function: FilterConcept
dependencies: 3
inputs: agent
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e_1 <owned_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film production company" . ?e_2 <distributor> ?e_1 . ?e_2 <pred:name> "An Inconvenient Truth" .   }
Answer: Viacom