Question: Which one, Iron Man (the one whose duration is 22 minute) or Joan of Arc (the one whose publication date is 1999-01-01), has less duration?
Choices:
Bleak House
American Horror Story
Seinfeld
Phineas and Ferb
Dancing with the Stars
Iron Man
Robot Chicken
Joan of Arc
Saturday Night's Main Event
Six Feet Under
Answer: Iron Man
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "22"^^xsd:double . } UNION { ?e <pred:name> "Joan of Arc" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1999-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Iron Man
function: FilterNum
dependencies: 0
inputs: duration
22 minute
=
function: Find
inputs: Joan of Arc
function: FilterDate
dependencies: 2
inputs: publication date
1999-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less