Question: Was it cheaper to make Halloween, of the official website www.theofficialjohncarpenter.com/pages/themovies/hw/hw.html, or Star Trek, with John Cho as a cast member?
Choices:
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
Training Day
The Towering Inferno
Rebecca
The Fifth Element
Halloween
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: Halloween
function: FilterStr
dependencies: 0
inputs: official website
http://www.theofficialjohncarpenter.com/pages/themovies/hw/hw.html
function: Find
inputs: John Cho
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Star Trek
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Halloween" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.theofficialjohncarpenter.com/pages/themovies/hw/hw.html" . } UNION { ?e <pred:name> "Star Trek" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Cho" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Halloween