Question: Among the United States cities that are the filming locations of Transformers (whose release region is People's Republic of China), which has the smallest area?
Choices:
Compton
Franklin
Long Beach
New Haven
Lansing
Boulder
Columbus
Los Angeles
Oakland
Waukegan
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Transformers
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: SelectAmong
dependencies: 5
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Transformers" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "People's Republic of China" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Long Beach