Question: Which sovereign state is the country of Long Island (whose area is 596.0 square kilometres) and is the filming location of Speed 2: Cruise Control?
Choices:
Samoa
People's Republic of China
Socialist Federal Republic of Yugoslavia
Benin
South Sudan
Bahamas
Cambodia
Kiribati
Russian Soviet Federative Socialist Republic
Switzerland
Program:
function: Find
inputs: Long Island
function: FilterNum
dependencies: 0
inputs: area
596.0 square kilometre
=
function: Relate
dependencies: 1
inputs: country
forward
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Find
inputs: Speed 2: Cruise Control
function: Relate
dependencies: 4
inputs: filming location
forward
function: FilterConcept
dependencies: 5
inputs: sovereign state
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <country> ?e . ?e_1 <pred:name> "Long Island" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "596.0"^^xsd:double .  ?e_2 <filming_location> ?e . ?e_2 <pred:name> "Speed 2: Cruise Control" .  }
Answer: Bahamas