Question: What are the number of legislative terms that has the participant Ted Kennedy (the one whose CANTIC-ID is a1099497x) ?
Choices:
7
8
9
10
11
12
13
14
15
16
Program:
function: Find
inputs: Ted Kennedy
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a1099497x
function: Relate
dependencies: 1
inputs: participant
backward
function: FilterConcept
dependencies: 2
inputs: legislative term
function: Count
dependencies: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <participant> ?e_1 . ?e_1 <pred:name> "Ted Kennedy" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a1099497x" .   }
Answer: 7