Question: Which one is larger, Transylvania (the one that is the narrative location of Hotel Transylvania) or North America?
Choices:
Antarctica
Pacific Ocean
Caribbean
Transylvania
North America
Piedmont
Lake District
Africa
Atlantic Canada
South America
Program:
function: Find
inputs: Hotel Transylvania
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Transylvania
function: And
dependencies: 1
2
function: Find
inputs: North America
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Transylvania" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Hotel Transylvania" .   } UNION { ?e <pred:name> "North America" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: North America