Question: Does Cinderella (official website http://princess.disney.com/cinderella/movies) or Lilo & Stitch have the longer running time?
Choices:
Cars
Renaissance
Aladdin
Shrek 2
Peter Pan
Cinderella
The Rescuers
WALL·E
Beauty and the Beast
Lilo & Stitch
Program:
function: Find
inputs: Cinderella
function: FilterStr
dependencies: 0
inputs: official website
http://princess.disney.com/cinderella/movies
function: Find
inputs: Lilo & Stitch
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cinderella" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://princess.disney.com/cinderella/movies" . } UNION { ?e <pred:name> "Lilo & Stitch" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lilo & Stitch