Question: Who weighs less: the Chris Carter born on 1987-06-14, or the Chris Evans born in Toronto?
Choices:
Richard Gere
William Henry Harrison
Max Fleischer
Chris Evans
Paul Simon
Simon Cowell
Rahul Dev Burman
David Byrne
James E. Reilly
Sylvester Stallone
Answer: Chris Evans
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Carter" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1987-06-14"^^xsd:date . } UNION { ?e <pred:name> "Chris Evans" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Toronto" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Chris Carter
function: FilterDate
dependencies: 0
inputs: date of birth
1987-06-14
=
function: Find
inputs: Toronto
function: Relate
dependencies: 2
inputs: place of birth
backward
function: Find
inputs: Chris Evans
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less