Question: How many legislative terms have the country of Canada or follow the 102nd United States Congress?
Choices: 6
7
8
9
10
11
12
13
14
15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Canada" .  } UNION { ?e <follows> ?e_1 . ?e_1 <pred:name> "102nd United States Congress" .  } }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: legislative term
function: Find
inputs: 102nd United States Congress
function: Relate
dependencies: 3
inputs: follows
backward
function: FilterConcept
dependencies: 4
inputs: legislative term
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 6