Question: Is the higher elevation in California, setting of The Fairly OddParents, or in Florida?
Choices:
New Jersey
Kansas
Colorado
Iowa
California
Illinois
New Mexico
South Carolina
Florida
Hawaii
Program:
function: Find
inputs: The Fairly OddParents
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Find
inputs: Florida
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "California" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Fairly OddParents" .   } UNION { ?e <pred:name> "Florida" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: California