Question: Billy Boyd of Scotland's national football club took part in how many sessions of legislature?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e_1 <part_of> ?e . ?e_1 <pred:name> "Billy Boyd" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Scotland national football team" .   }
Program:
function: Find
inputs: Scotland national football team
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Billy Boyd
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of
forward
function: FilterConcept
dependencies: 4
inputs: legislative term
function: Count
dependencies: 5