Question: Which agency owns General Dynamics Electric Boat and is the parent organization of Bath Iron Works?
Choices:
KLM
Sega
Skidmore Owings Merrill
Entertainment One
Silver Pictures
McDonald's
Pfizer
General Dynamics
Adobe Inc.
Vodafone
Answer: General Dynamics
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <owner_of> ?e_1 . ?e_1 <pred:name> "General Dynamics Electric Boat" .  ?e <subsidiary> ?e_2 . ?e_2 <pred:name> "Bath Iron Works" .  }
Program:
function: Find
inputs: General Dynamics Electric Boat
function: Relate
dependencies: 0
inputs: owner of
backward
function: FilterConcept
dependencies: 1
inputs: agent
function: Find
inputs: Bath Iron Works
function: Relate
dependencies: 3
inputs: subsidiary
backward
function: FilterConcept
dependencies: 4
inputs: agent
function: And
dependencies: 2
5
function: What
dependencies: 6