Question: Who is taller: the Andy Williams born on 1977-09-23, or Chris Paul?
Choices:
Rahul Dev Burman
Sylvester Stallone
James E. Reilly
William Henry Harrison
Simon Cowell
Andy Williams
Richard Gere
David Byrne
Max Fleischer
Chris Paul
Answer: Chris Paul
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Andy Williams" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1977-09-23"^^xsd:date . } UNION { ?e <pred:name> "Chris Paul" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Andy Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1977-09-23
=
function: Find
inputs: Chris Paul
function: SelectBetween
dependencies: 1
2
inputs: height
greater