Question: Who has more mass, Chris Nurse or Ryan Adams whose height is 180.3 centimetres?
Choices:
Chris Nurse
David Byrne
William Henry Harrison
Richard Gere
James E. Reilly
Paul Simon
Simon Cowell
Rahul Dev Burman
Ryan Adams
Sylvester Stallone
Program:
function: Find
inputs: Chris Nurse
function: Find
inputs: Ryan Adams
function: FilterNum
dependencies: 1
inputs: height
180.3 centimetre
=
function: SelectBetween
dependencies: 0
2
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Nurse" . } UNION { ?e <pred:name> "Ryan Adams" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "180.3"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ryan Adams