Question: Were production costs lower on the romance film The Little Mermaid or on Alice in Wonderland, which had expenses of 3,000,000 USD?
Choices:
The Little Mermaid
Alice in Wonderland
Peter Pan
Shrek 2
Aladdin
Winnie the Pooh
Renaissance
Beauty and the Beast
The Rescuers
WALL·E
Answer: Alice in Wonderland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Little Mermaid" . ?e <genre> ?e_1 . ?e_1 <pred:name> "romance film" . } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "3000000"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Little Mermaid
function: And
dependencies: 1
2
function: Find
inputs: Alice in Wonderland
function: FilterNum
dependencies: 4
inputs: cost
3000000 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: cost
less