Question: Is Shane Smeltz or John Byrne whose date of birth is 1961-02-01 taller in height?
Choices:
Richard Gere
Max Fleischer
Simon Cowell
James E. Reilly
David Byrne
Sylvester Stallone
Rahul Dev Burman
Shane Smeltz
John Byrne
William Henry Harrison
Answer: Shane Smeltz
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shane Smeltz" . } UNION { ?e <pred:name> "John Byrne" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1961-02-01"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Shane Smeltz
function: Find
inputs: John Byrne
function: FilterDate
dependencies: 1
inputs: date of birth
1961-02-01
=
function: SelectBetween
dependencies: 0
2
inputs: height
greater