Question: Who is shorter, Adam Smith (whose date of birth is 1991-04-29) or January Jones?
Choices:
David Byrne
Rahul Dev Burman
Paul Simon
January Jones
James E. Reilly
Simon Cowell
Max Fleischer
Sylvester Stallone
William Henry Harrison
Adam Smith
Answer: January Jones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Adam Smith" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1991-04-29"^^xsd:date . } UNION { ?e <pred:name> "January Jones" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Adam Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1991-04-29
=
function: Find
inputs: January Jones
function: SelectBetween
dependencies: 1
2
inputs: height
less