Question: Which association football club is based in Dublin and uses the Instagram name stpatsfc?
Choices:
Shelbourne F.C.
Roda JC Kerkrade
Middlesbrough F.C.
Hibernian F.C.
Zamalek SC
Stade Brestois 29
S.C. Braga
St Patrick's Athletic F.C.
Preston North End F.C.
Shamrock Rovers F.C.
Program:
function: Find
inputs: Dublin
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: association football club
function: FindAll
function: FilterStr
dependencies: 3
inputs: Instagram username
stpatsfc
function: FilterConcept
dependencies: 4
inputs: association football club
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Dublin" .  ?e <Instagram_username> ?pv . ?pv <pred:value> "stpatsfc" .  }
Answer: St Patrick's Athletic F.C.