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