Question: Which movie is shorter, The Bold and the Beautiful or Greek (the one whose official website is http://www.joeypants.com)?
Choices:
Bleak House
The Bold and the Beautiful
Robot Chicken
Dancing with the Stars
Greek
Saturday Night's Main Event
Game of Thrones
Phineas and Ferb
Six Feet Under
Seinfeld
Program:
function: Find
inputs: The Bold and the Beautiful
function: Find
inputs: Greek
function: FilterStr
dependencies: 1
inputs: official website
http://www.joeypants.com
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bold and the Beautiful" . } UNION { ?e <pred:name> "Greek" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.joeypants.com" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Bold and the Beautiful