Question: Is Scott McDonald or the Oscar who measures 185 centimetres tall the more lightweight one?
Choices:
Paul Simon
Oscar
Max Fleischer
Simon Cowell
Rahul Dev Burman
Sylvester Stallone
David Byrne
Richard Gere
William Henry Harrison
Scott McDonald
Program:
function: Find
inputs: Scott McDonald
function: Find
inputs: Oscar
function: FilterNum
dependencies: 1
inputs: height
185 centimetre
=
function: SelectBetween
dependencies: 0
2
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scott McDonald" . } UNION { ?e <pred:name> "Oscar" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "185"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Scott McDonald