Question: Which visual artwork's release region is the city that is the twinned administrative body of Versailles (the one whose Twitter username is Versailles) ?
Choices:
Grey Gardens
The Orphanage
Talk to Her
Pleasantville
American Graffiti
On the Road
Elite Squad: The Enemy Within
A Prairie Home Companion
In the Mood for Love
Rebecca
Answer: The Orphanage
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <film_release_region> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Versailles" . ?e_2 <Twitter_username> ?pv . ?pv <pred:value> "Versailles" .   }
Program:
function: Find
inputs: Versailles
function: FilterStr
dependencies: 0
inputs: Twitter username
Versailles
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: film release region
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5