Question: Which visual artwork set in Montana that borders British Columbia was released on 1950-01-01?
Choices:
Pleasantville
All the King's Men
Cyrano de Bergerac
Cheaper by the Dozen
A Prairie Home Companion
The Killer Inside Me
Rebecca
Montana
Star Trek: First Contact
The Patriot
Answer: Montana
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Montana" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "British Columbia" .  ?e <publication_date> ?pv . ?pv <pred:date> "1950-01-01"^^xsd:date .  }
Program:
function: Find
inputs: British Columbia
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Montana
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: FindAll
function: FilterDate
dependencies: 6
inputs: publication date
1950-01-01
=
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: And
dependencies: 5
8
function: What
dependencies: 9