Question: What is the Twitter username for the association-football club that has Kevin James (the one that is a member of Heart of Midlothian F.C.) as a member (the number of points of this statement is 2)?
Choices:
theofficenbc
WellingtonUK
KidCudi
dmx
LisaKudrow
SJP
Morton_FC
Sethrogen
Alancumming
rampalarjun
Program:
function: Find
inputs: Heart of Midlothian F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Kevin James
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: QFilterNum
dependencies: 4
inputs: number of points/goals/set scored
2
=
function: FilterConcept
dependencies: 5
inputs: association football club
function: QueryAttr
dependencies: 6
inputs: Twitter username
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Kevin James" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Heart of Midlothian F.C." .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "2"^^xsd:double . ?e <Twitter_username> ?pv .  }
Answer: Morton_FC