Question: What record label originates in Albany (hat is the twinned administrative body of Quebec City) and starts before the year 1995?
Choices:
Imperial Records
Epic Records
Relapse Records
Play It Again Sam
Hollywood Records
Century Media Records
Motown
Southern Lord Records
Equal Vision Records
PolyGram
Answer: Equal Vision Records
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Albany" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Quebec City" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1995 ) .  }
Program:
function: Find
inputs: Quebec City
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Albany
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: record label
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1995
<
function: FilterConcept
dependencies: 7
inputs: record label
function: And
dependencies: 5
8
function: What
dependencies: 9