Question: How many legislative terms did not end in 1807 and have the participant John Conyers?
Choices: 10
11
12
13
14
15
16
17
18
19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1807 ) . ?e <participant> ?e_1 . ?e_1 <pred:name> "John Conyers" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1807
!=
function: FilterConcept
dependencies: 1
inputs: legislative term
function: Find
inputs: John Conyers
function: Relate
dependencies: 3
inputs: participant
backward
function: FilterConcept
dependencies: 4
inputs: legislative term
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 10