Question: Which one, Paul Williams (the one whose date of birth is 1971-03-26) or Brad Jones (the one that is a member of Australia national association football team), has greater mass?
Choices:
David Byrne
Max Fleischer
Rahul Dev Burman
James E. Reilly
Paul Williams
Paul Simon
Simon Cowell
Brad Jones
William Henry Harrison
Sylvester Stallone
Program:
function: Find
inputs: Paul Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1971-03-26
=
function: Find
inputs: Australia national association football team
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Brad Jones
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paul Williams" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1971-03-26"^^xsd:date . } UNION { ?e <pred:name> "Brad Jones" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Australia national association football team" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Paul Williams