Question: Which one, Ryan Murphy (the one whose date of birth is 1983-01-23) or Mark Williams (the one whose height is 75 inch), has less mass?
Choices:
Paul Simon
Max Fleischer
Simon Cowell
James E. Reilly
Mark Williams
David Byrne
William Henry Harrison
Richard Gere
Ryan Murphy
Sylvester Stallone
Answer: Ryan Murphy
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> "Mark Williams" . ?e <height> ?pv_2 . ?pv_2 <pred:unit> "inch" . ?pv_2 <pred:value> "75"^^xsd:double . } ?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: Mark Williams
function: FilterNum
dependencies: 2
inputs: height
75 inch
=
function: SelectBetween
dependencies: 1
3
inputs: mass
less