Question: Who is more massive, Chris Wood (born 1991-12-07) or Jeff Gordon?
Choices:
William Henry Harrison
Max Fleischer
Paul Simon
Chris Wood
Rahul Dev Burman
Jeff Gordon
James E. Reilly
Sylvester Stallone
David Byrne
Simon Cowell
Program:
function: Find
inputs: Chris Wood
function: FilterDate
dependencies: 0
inputs: date of birth
1991-12-07
=
function: Find
inputs: Jeff Gordon
function: SelectBetween
dependencies: 1
2
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Wood" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1991-12-07"^^xsd:date . } UNION { ?e <pred:name> "Jeff Gordon" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Wood