Question: Which film originating in the USA is titled Kansas City?
Choices:
Kansas City
Talk to Her
It
The Color Purple
Topaz
A Prairie Home Companion
Star Trek: Nemesis
Anchorman: The Legend of Ron Burgundy
The Wrestler
Pleasantville
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Kansas City
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <title> ?pv . ?pv <pred:value> "Kansas City" .  }
Answer: Kansas City