Question: What record label's headquarters is located in the province of Canada that is detached from Nova Scotia?
Choices:
Epic Records
Ferret Music
Southern Lord Records
Concord Records
Hollywood Records
Capitol Records
Century Media Records
Play It Again Sam
Imperial Records
Warner Music Group
Answer: Ferret Music
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "province of Canada" . ?e_1 <separated_from> ?e_2 . ?e_2 <pred:name> "Nova Scotia" .   }
Program:
function: Find
inputs: Nova Scotia
function: Relate
dependencies: 0
inputs: separated from
backward
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: record label
function: What
dependencies: 4