Question: What visual artwork's production company is Metro-Goldwyn-Mayer and title is Basic Instinct 2?
Choices:
Talk to Her
The Fifth Element
City Slickers
The Chronicles of Narnia: The Voyage of the Dawn Treader
Basic Instinct 2
Pleasantville
Rebecca
Lars and the Real Girl
Carrie
A Prairie Home Companion
Answer: Basic Instinct 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .  ?e <title> ?pv . ?pv <pred:value> "Basic Instinct 2" .  }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Basic Instinct 2
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6