Question: Which agency headquartered in Glasgow uses the Instagram handle celticfc?
Choices:
Vodafone
Entertainment One
Celtic F.C.
Adobe Inc.
KLM
Skidmore Owings Merrill
McDonald's
Pfizer
Yarrow Shipbuilders
Sega
Program:
function: Find
inputs: Glasgow
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: agent
function: FindAll
function: FilterStr
dependencies: 3
inputs: Instagram username
celticfc
function: FilterConcept
dependencies: 4
inputs: agent
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Glasgow" .  ?e <Instagram_username> ?pv . ?pv <pred:value> "celticfc" .  }
Answer: Celtic F.C.