Question: Which New York City-owned organization has ICAO airport code KLGA?
Choices:
Hamburger SV
United States Department of the Air Force
Academy of Television Arts & Sciences
Vigor Shipyards
McDonald's
BBC
NBCUniversal
Pfizer
LaGuardia Airport
E. W. Scripps Company
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: owned by
backward
function: FilterConcept
dependencies: 1
inputs: organization
function: FindAll
function: FilterStr
dependencies: 3
inputs: ICAO airport code
KLGA
function: FilterConcept
dependencies: 4
inputs: organization
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" . ?e <owned_by> ?e_1 . ?e_1 <pred:name> "New York City" .  ?e <ICAO_airport_code> ?pv . ?pv <pred:value> "KLGA" .  }
Answer: LaGuardia Airport