Question: Who is taller: Ross Turnbull, at 85 kilos, or Neil Young, born on 1944-02-17?
Choices: Simon Cowell
Richard Gere
Paul Simon
Neil Young
David Byrne
Sylvester Stallone
James E. Reilly
William Henry Harrison
Ross Turnbull
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ross Turnbull" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "85"^^xsd:double . } UNION { ?e <pred:name> "Neil Young" . ?e <date_of_birth> ?pv_2 . ?pv_2 <pred:date> "1944-02-17"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ross Turnbull
function: FilterNum
dependencies: 0
inputs: mass
85 kilogram
=
function: Find
inputs: Neil Young
function: FilterDate
dependencies: 2
inputs: date of birth
1944-02-17
=
function: SelectBetween
dependencies: 1
3
inputs: height
greater
Answer: Ross Turnbull