Question: Who is heavier in weight: Fred Williamson or Ron Howard, born 1982-11-14?
Choices:
Richard Gere
James E. Reilly
William Henry Harrison
Fred Williamson
Rahul Dev Burman
Max Fleischer
David Byrne
Paul Simon
Sylvester Stallone
Ron Howard
Answer: Fred Williamson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fred Williamson" . } UNION { ?e <pred:name> "Ron Howard" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1982-11-14"^^xsd:date . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fred Williamson
function: Find
inputs: Ron Howard
function: FilterDate
dependencies: 1
inputs: date of birth
1982-11-14
=
function: SelectBetween
dependencies: 0
2
inputs: mass
greater