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