Question: Is the film that follows Driving Miss Daisy (the one that was nominated for Academy Award for Best Makeup and Hairstyling) titled Dances with Wolves ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Driving Miss Daisy" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Makeup and Hairstyling" .  ?e <title> ?pv . ?pv <pred:value> "Dances with Wolves" .  }
Program:
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Driving Miss Daisy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title
function: VerifyStr
dependencies: 6
inputs: Dances with Wolves