Question: Does New Orleans (that is the narrative location of The Bad Lieutenant: Port of Call New Orleans) or Fort Worth (whose postal codes are 76126–76127) have the larger land area?
Choices:
Waukegan
Fort Worth
New Haven
Oakland
Compton
Greenville
Franklin
Boulder
Columbus
New Orleans
Answer: Fort Worth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Orleans" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Bad Lieutenant: Port of Call New Orleans" . } UNION { ?e <pred:name> "Fort Worth" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "76126–76127" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Bad Lieutenant: Port of Call New Orleans
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: New Orleans
function: And
dependencies: 1
2
function: Find
inputs: Fort Worth
function: FilterStr
dependencies: 4
inputs: postal code
76126–76127
function: SelectBetween
dependencies: 3
5
inputs: area
greater