Question: What is the studio album with origins from the United States of America and with a genre of heavy metal?
Choices:
Bedtime Stories
Soundgarden
Friends
Danzig
Dio
David Bowie
Nine Inch Nails
Illinois
Metallica
Alice Cooper
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: studio album
function: Find
inputs: heavy metal
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: studio album
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "studio album" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <genre> ?e_2 . ?e_2 <pred:name> "heavy metal" .  }
Answer: Metallica