Question: Who has greater mass, Chris Evans (the one whose height is 203 centimetre) or David Healy (the one that belongs to Northern Ireland)?
Choices:
David Healy
Rahul Dev Burman
Simon Cowell
James E. Reilly
Paul Simon
Sylvester Stallone
Chris Evans
Max Fleischer
David Byrne
Richard Gere
Program:
function: Find
inputs: Chris Evans
function: FilterNum
dependencies: 0
inputs: height
203 centimetre
=
function: Find
inputs: Northern Ireland
function: Relate
dependencies: 2
inputs: country for sport
backward
function: Find
inputs: David Healy
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Evans" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "203"^^xsd:double . } UNION { ?e <pred:name> "David Healy" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> "Northern Ireland" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Evans