Question: What association-football club has the Twitter username of crewealexfc and has John Mahoney (the one that belongs to Wales) as a member (the end time of this statement is 1967)?
Choices:
Middlesbrough F.C.
Rochester Rhinos
Hibernian F.C.
Crewe Alexandra F.C.
S.C. Braga
Stade Brestois 29
Roda JC Kerkrade
Brisbane Roar FC
Preston North End F.C.
Zamalek SC
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
crewealexfc
function: FilterConcept
dependencies: 1
inputs: association football club
function: Find
inputs: Wales
function: Relate
dependencies: 3
inputs: country for sport
backward
function: Find
inputs: John Mahoney
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: member of sports team
forward
function: QFilterYear
dependencies: 7
inputs: end time
1967
=
function: FilterConcept
dependencies: 8
inputs: association football club
function: And
dependencies: 2
9
function: What
dependencies: 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <Twitter_username> ?pv . ?pv <pred:value> "crewealexfc" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "John Mahoney" . ?e_1 <country_for_sport> ?e_2 . ?e_2 <pred:name> "Wales" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1967 .  }
Answer: Crewe Alexandra F.C.