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