Question: Which person weighs less, Ryan Murphy (the one whose date of birth is 1983-01-23) or Jim Brown (the one that is related to sport ice hockey)?
Choices: Sylvester Stallone
David Byrne
Jim Brown
Richard Gere
William Henry Harrison
James E. Reilly
Paul Simon
Rahul Dev Burman
Ryan Murphy
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ryan Murphy" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1983-01-23"^^xsd:date . } UNION { ?e <pred:name> "Jim Brown" . ?e <sport> ?e_1 . ?e_1 <pred:name> "ice hockey" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ryan Murphy
function: FilterDate
dependencies: 0
inputs: date of birth
1983-01-23
=
function: Find
inputs: ice hockey
function: Relate
dependencies: 2
inputs: sport
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less
Answer: Ryan Murphy