Question: Does Larry Miller (the one whose height is 193 centimetre) or Rafael Nadal have less mass?
Choices:
James E. Reilly
Larry Miller
Max Fleischer
Richard Gere
William Henry Harrison
Sylvester Stallone
David Byrne
Simon Cowell
Rafael Nadal
Paul Simon
Program:
function: Find
inputs: Larry Miller
function: FilterNum
dependencies: 0
inputs: height
193 centimetre
=
function: Find
inputs: Rafael Nadal
function: SelectBetween
dependencies: 1
2
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Larry Miller" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "193"^^xsd:double . } UNION { ?e <pred:name> "Rafael Nadal" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rafael Nadal