Question: Does The Kingdom (whose title is Riget) or Will & Grace have the shorter runtime?
Choices:
Six Feet Under
Seinfeld
American Horror Story
Robot Chicken
Will & Grace
Saturday Night's Main Event
Bleak House
Phineas and Ferb
Game of Thrones
The Kingdom
Program:
function: Find
inputs: The Kingdom
function: FilterStr
dependencies: 0
inputs: title
Riget
function: Find
inputs: Will & Grace
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Kingdom" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Riget" . } UNION { ?e <pred:name> "Will & Grace" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Will & Grace