Question: Who weighs more, Chris Martin (the one whose date of birth is 1988-11-04) or Ryan Murphy (the one whose mass is 90 kilogram)?
Choices:
William Henry Harrison
Ryan Murphy
Simon Cowell
Max Fleischer
David Byrne
Sylvester Stallone
James E. Reilly
Paul Simon
Rahul Dev Burman
Richard Gere
Answer: Ryan Murphy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Martin" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1988-11-04"^^xsd:date . } UNION { ?e <pred:name> "Ryan Murphy" . ?e <mass> ?pv_2 . ?pv_2 <pred:unit> "kilogram" . ?pv_2 <pred:value> "90"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chris Martin
function: FilterDate
dependencies: 0
inputs: date of birth
1988-11-04
=
function: Find
inputs: Ryan Murphy
function: FilterNum
dependencies: 2
inputs: mass
90 kilogram
=
function: SelectBetween
dependencies: 1
3
inputs: mass
greater