Question: Which has less width, Cyprus whose area is 9234 square kilometers or Ireland that is the release region of The Artist?
Choices:
Tasmania
Puerto Rico
Trinidad
Newfoundland
Guernsey
Cyprus
Hawaii
Staten Island
Ireland
Long Island
Program:
function: Find
inputs: Cyprus
function: FilterNum
dependencies: 0
inputs: area
9234 square kilometre
=
function: Find
inputs: The Artist
function: Relate
dependencies: 2
inputs: film release region
forward
function: Find
inputs: Ireland
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: width
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cyprus" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "9234"^^xsd:double . } UNION { ?e <pred:name> "Ireland" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> "The Artist" . } ?e <width> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cyprus