Question: Which anarcho-punk has origins from the sovereign state that is the origin country of Amazing Grace (which was published on 1974-01-01)?
Choices:
Skate punk
Abraham Lincoln: Vampire Hunter
Lords of Dogtown
Perfume: The Story of a Murderer
crust punk
Going My Way
Stand by Me
post-punk
Get Smart
ska punk
Answer: crust punk
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anarcho-punk" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> "Amazing Grace" . ?e_2 <publication_date> ?pv . ?pv <pred:date> "1974-01-01"^^xsd:date .   }
Program:
function: Find
inputs: Amazing Grace
function: FilterDate
dependencies: 0
inputs: publication date
1974-01-01
=
function: Relate
dependencies: 1
inputs: country of origin
forward
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: anarcho-punk
function: What
dependencies: 5