Question: Who is taller: Richard Rodgers, at 193 cm, or Mike Bryan?
Choices:
Mike Bryan
Paul Simon
Max Fleischer
Rahul Dev Burman
Richard Rodgers
Richard Gere
William Henry Harrison
James E. Reilly
Simon Cowell
Sylvester Stallone
Program:
function: Find
inputs: Richard Rodgers
function: FilterNum
dependencies: 0
inputs: height
193 centimetre
=
function: Find
inputs: Mike Bryan
function: SelectBetween
dependencies: 1
2
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richard Rodgers" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "193"^^xsd:double . } UNION { ?e <pred:name> "Mike Bryan" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Richard Rodgers