Question: Which area is smaller, Joseon or Israel (the one that is the release region of Memento)?
Choices:
Cambodia
Israel
Samoa
Weimar Republic
Kiribati
Benin
Russian Soviet Federative Socialist Republic
Switzerland
Joseon
Socialist Federal Republic of Yugoslavia
Program:
function: Find
inputs: Joseon
function: Find
inputs: Memento
function: Relate
dependencies: 1
inputs: film release region
forward
function: Find
inputs: Israel
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joseon" .  } UNION { ?e <pred:name> "Israel" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> "Memento" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Israel