Question: How many national-association football teams have a captain who equals the person who is a member of Sunderland A.F.C. (the acquisition transaction of this statement is loan)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" . ?e <captain> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Sunderland A.F.C." . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <acquisition_transaction> ?qpv . ?qpv <pred:value> "loan" .   }
Program:
function: Find
inputs: Sunderland A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: QFilterStr
dependencies: 1
inputs: acquisition transaction
loan
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: captain
backward
function: FilterConcept
dependencies: 4
inputs: national association football team
function: Count
dependencies: 5