Question: Which one was cheaper, How to Train Your Dragon (the one whose original language is English) or The Hunchback of Notre Dame (the one whose official website is http://movies.disney.com/the-hunchback-of-notre-dame) ?
Choices:
Shrek 2
WALL·E
Peter Pan
Lilo & Stitch
Aladdin
Renaissance
Beauty and the Beast
Winnie the Pooh
The Hunchback of Notre Dame
The Rescuers
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: How to Train Your Dragon
function: And
dependencies: 1
2
function: Find
inputs: The Hunchback of Notre Dame
function: FilterStr
dependencies: 4
inputs: official website
http://movies.disney.com/the-hunchback-of-notre-dame
function: SelectBetween
dependencies: 3
5
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "How to Train Your Dragon" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "The Hunchback of Notre Dame" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://movies.disney.com/the-hunchback-of-notre-dame" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Hunchback of Notre Dame