Question: Which area is larger, Studio City or Monte Carlo (the one whose ISO 3166-2 code is MC-MC)?
Choices:
Studio City
Sherman Oaks
Monte Carlo
Encino
Woodland Hills
Astoria
Jamaica
Van Nuys
Pacific Palisades
Roxbury
Answer: Studio City
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Studio City" . } UNION { ?e <pred:name> "Monte Carlo" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "MC-MC" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Studio City
function: Find
inputs: Monte Carlo
function: FilterStr
dependencies: 1
inputs: ISO 3166-2 code
MC-MC
function: SelectBetween
dependencies: 0
2
inputs: area
greater