Question: What association football club has official website http://www.fckarpaty.lviv.ua/ and is headquartered in Lviv?
Choices:
Rochester Rhinos
Brisbane Roar FC
FC Karpaty Lviv
C.F. Os Belenenses
Middlesbrough F.C.
S.C. Braga
Hibernian F.C.
Zamalek SC
Preston North End F.C.
Stade Brestois 29
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.fckarpaty.lviv.ua/
function: FilterConcept
dependencies: 1
inputs: association football club
function: Find
inputs: Lviv
function: Relate
dependencies: 3
inputs: headquarters location
backward
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 <official_website> ?pv . ?pv <pred:value> "http://www.fckarpaty.lviv.ua/" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Lviv" .  }
Answer: FC Karpaty Lviv