Question: Who has more mass, Ryan Murphy born on 1993-03-31 or Chris Carter whose mass is 195 pounds?
Choices: Richard Gere
Ryan Murphy
David Byrne
James E. Reilly
Chris Carter
Sylvester Stallone
Paul Simon
Rahul Dev Burman
Simon Cowell
Max Fleischer
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 Carter" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> "pound" . ?pv_2 <pred:value> "195"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ryan Murphy
function: FilterDate
dependencies: 0
inputs: date of birth
1993-03-31
=
function: Find
inputs: Chris Carter
function: FilterNum
dependencies: 2
inputs: mass
195 pound
=
function: SelectBetween
dependencies: 1
3
inputs: mass
greater
Answer: Chris Carter