Question: Which area is larger, Illinois (the one whose demonym is Illinoisian) or Virginia (the one that is the narrative location of The Vampire Diaries)?
Choices:
Illinois
California
Massachusetts
Florida
Iowa
Virginia
New Mexico
Kansas
Hawaii
Colorado
Answer: Illinois
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Illinois" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Illinoisian" . } UNION { ?e <pred:name> "Virginia" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Vampire Diaries" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Illinois
function: FilterStr
dependencies: 0
inputs: demonym
Illinoisian
function: Find
inputs: The Vampire Diaries
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: Virginia
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater