Question: Is there a greater width in the 128 cm Melancholia or in Mona Lisa by Leonardo da Vinci?
Choices:
Paramaribo
Melancholia
New Zealand national cricket team
Andes
Megan Fox
Gertrude Stein
Hammersmith
Mona Lisa
detective
Agatha Christie
Program:
function: Find
inputs: Melancholia
function: FilterNum
dependencies: 0
inputs: width
128 centimetre
=
function: Find
inputs: Leonardo da Vinci
function: Relate
dependencies: 2
inputs: notable work
forward
function: Find
inputs: Mona Lisa
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: width
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Melancholia" . ?e <width> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "128"^^xsd:double . } UNION { ?e <pred:name> "Mona Lisa" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "Leonardo da Vinci" . } ?e <width> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Melancholia