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