Question: What is the Snapchat username of the association football club whose headquarters location is Naples (the administrative division of Province of Naples),?
Choices:
rosenborgbk
girlshbo
chastainiac
ladygaga
mileycyrus
ohsnapkerry
sscnsnap
brannspillerne
snapsbyreese
ffksnap
Answer: sscnsnap
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Naples" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Province of Naples" .  ?e <Snapchat_username> ?pv .  }
Program:
function: Find
inputs: Province of Naples
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Naples
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: QueryAttr
dependencies: 5
inputs: Snapchat username