Question: What association football club has the Twitter username shrewsweb, (whose subscription number is 60901) and a member named Michael Jackson (who is a member of Tranmere Rovers F.C.)?
Choices:
Shrewsbury Town F.C.
Middlesbrough F.C.
C.F. Os Belenenses
Preston North End F.C.
Hibernian F.C.
Zamalek SC
S.C. Braga
Stade Brestois 29
Brisbane Roar FC
Roda JC Kerkrade
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
shrewsweb
function: QFilterNum
dependencies: 1
inputs: number of subscribers
60901
=
function: FilterConcept
dependencies: 2
inputs: association football club
function: Find
inputs: Tranmere Rovers F.C.
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: member of sports team
forward
function: FilterConcept
dependencies: 8
inputs: association football club
function: And
dependencies: 3
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> "shrewsweb" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "60901"^^xsd:double . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Michael Jackson" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Tranmere Rovers F.C." .  }
Answer: Shrewsbury Town F.C.