Question: How many legislative terms began post-1799 or preceded the 19th US Congress?
Choices: 26
27
28
29
30
31
32
33
34
35
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1799 ) .  } UNION { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "19th United States Congress" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1799
>
function: FilterConcept
dependencies: 1
inputs: legislative term
function: Find
inputs: 19th United States Congress
function: Relate
dependencies: 3
inputs: followed by
backward
function: FilterConcept
dependencies: 4
inputs: legislative term
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 35