Question: Who has less mass, Dave Foley (whose date of birth is 1947-10-28) or Jim Taylor (whose ISNI is 0000 0000 5990 5614)?
Choices: David Byrne
James E. Reilly
Richard Gere
Paul Simon
Max Fleischer
Rahul Dev Burman
Sylvester Stallone
Simon Cowell
Jim Taylor
Dave Foley
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dave Foley" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1947-10-28"^^xsd:date . } UNION { ?e <pred:name> "Jim Taylor" . ?e <ISNI> ?pv_2 . ?pv_2 <pred:value> "0000 0000 5990 5614" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dave Foley
function: FilterDate
dependencies: 0
inputs: date of birth
1947-10-28
=
function: Find
inputs: Jim Taylor
function: FilterStr
dependencies: 2
inputs: ISNI
0000 0000 5990 5614
function: SelectBetween
dependencies: 1
3
inputs: mass
less
Answer: Jim Taylor