Question: When was the rock band from Sheffield (which borders Barnsley) established?
Choices:
1945-10-04
1196
1997-09-15
1640
1764
1977
1902-11-07
1958-08-12
1917
1907-01-01
Program:
function: Find
inputs: Barnsley
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Sheffield
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: rock band
function: QueryAttr
dependencies: 5
inputs: inception
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Sheffield" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Barnsley" .  ?e <inception> ?pv .  }
Answer: 1977