Question: What band is set up in the independent city that borders Albermarle County?
Choices:
Calle 13
The Kinks
Dave Matthews Band
The Neptunes
Dixie Chicks
The Pretenders
Korn
Jonas Brothers
Renaissance
Pixies
Program:
function: Find
inputs: Albemarle County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: independent city
function: Relate
dependencies: 2
inputs: location of formation
backward
function: FilterConcept
dependencies: 3
inputs: band
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "independent city" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Albemarle County" .   }
Answer: Dave Matthews Band