Question: Who has less mass, Ryan Murphy (born 1993-03-31) or Chris Penn from the Chicago Bears?
Choices: James E. Reilly
Ryan Murphy
Richard Gere
Simon Cowell
Chris Penn
Paul Simon
Sylvester Stallone
William Henry Harrison
Max Fleischer
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ryan Murphy" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1993-03-31"^^xsd:date . } UNION { ?e <pred:name> "Chris Penn" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Chicago Bears" . } ?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
1993-03-31
=
function: Find
inputs: Chicago Bears
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Chris Penn
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less
Answer: Ryan Murphy