Question: Which television channel's country is the United Kingdom and location is Scotland (the one that is exported to Germany)?
Choices:
STV
Dumfries and Galloway
Sky 1
Nickelodeon
MTV2
Dundee
BBC HD
Glasgow
MyNetworkTV
Star Plus
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: television channel
function: Find
inputs: Germany
function: Relate
dependencies: 3
inputs: exported to
backward
function: Find
inputs: Scotland
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 7
inputs: television channel
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television channel" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Scotland" . ?e_2 <exported_to> ?e_3 . ?e_3 <pred:name> "Germany" .  }
Answer: STV