Question: Which has less mass, Alan Ball of Dallas the Cowboys or Chris Cooper born on 1977-12-27?
Choices:
James E. Reilly
William Henry Harrison
Rahul Dev Burman
Richard Gere
Alan Ball
Max Fleischer
Simon Cowell
Sylvester Stallone
Chris Cooper
David Byrne
Answer: Alan Ball
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alan Ball" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Dallas Cowboys" . } UNION { ?e <pred:name> "Chris Cooper" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1977-12-27"^^xsd:date . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dallas Cowboys
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Alan Ball
function: And
dependencies: 1
2
function: Find
inputs: Chris Cooper
function: FilterDate
dependencies: 4
inputs: date of birth
1977-12-27
=
function: SelectBetween
dependencies: 3
5
inputs: mass
less