Question: Is Cork City F.C.'s Liam O'brien or Stephen King, who was born on 1986-03-06, shorter?
Choices:
Paul Simon
Sylvester Stallone
Rahul Dev Burman
Stephen King
David Byrne
Max Fleischer
James E. Reilly
William Henry Harrison
Liam O'Brien
Simon Cowell
Answer: Stephen King
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Liam O'Brien" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Cork City F.C." . } UNION { ?e <pred:name> "Stephen King" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1986-03-06"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Cork City F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Liam O'Brien
function: And
dependencies: 1
2
function: Find
inputs: Stephen King
function: FilterDate
dependencies: 4
inputs: date of birth
1986-03-06
=
function: SelectBetween
dependencies: 3
5
inputs: height
less