Question: Which heavy metal recording label is headquartered in California, the story setting of xXx?
Choices: Epitaph Records
Southern Lord Records
Roadrunner Records
Epic Records
Century Media Records
Play It Again Sam
East West Records
Metal Blade Records
Capitol Records
Imperial Records
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "California" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "xXx" .  ?e <genre> ?e_3 . ?e_3 <pred:name> "heavy metal" .  }
Program:
function: Find
inputs: xXx
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: record label
function: Find
inputs: heavy metal
function: Relate
dependencies: 6
inputs: genre
backward
function: FilterConcept
dependencies: 7
inputs: record label
function: And
dependencies: 5
8
function: What
dependencies: 9
Answer: Metal Blade Records