Question: What is the title of the movie that is different from The Host (the one whose release region is Portugal)?
Choices: This Is England
Moonstruck
Iris
The Singing Detective
Tuberculosis
Palm Springs
The Host
The Lord of the Rings
Et farlig spill
Total Recall
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "The Host" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "Portugal" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Portugal
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Host
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title
Answer: The Host