Question: Who has more mass, David Healy born on 1979-08-05 or Mark Bresciano?
Choices:
Richard Gere
Mark Bresciano
Max Fleischer
William Henry Harrison
Paul Simon
James E. Reilly
David Byrne
Simon Cowell
David Healy
Rahul Dev Burman
Program:
function: Find
inputs: David Healy
function: FilterDate
dependencies: 0
inputs: date of birth
1979-08-05
=
function: Find
inputs: Mark Bresciano
function: SelectBetween
dependencies: 1
2
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Healy" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1979-08-05"^^xsd:date . } UNION { ?e <pred:name> "Mark Bresciano" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mark Bresciano