Question: What independent city is the headquarter location of the business that owns General Dynamics Electric Boat?
Choices:
Williamsburg
Fairfax
Lynchburg
Winchester
Hampton
Charlottesville
Suffolk
Danville
Roanoke
Falls Church
Program:
function: Find
inputs: General Dynamics Electric Boat
function: Relate
dependencies: 0
inputs: owned by
forward
function: FilterConcept
dependencies: 1
inputs: business
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: FilterConcept
dependencies: 3
inputs: independent city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "business" . ?e_2 <owned_by> ?e_1 . ?e_2 <pred:name> "General Dynamics Electric Boat" .   }
Answer: Falls Church