Question: How many governor positions were established before 1780 or were held by George Clinton (the one that is involved in the conflict French and Indian War) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "governor" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1780 ) .  } UNION { ?e <officeholder> ?e_1 . ?e_1 <pred:name> "George Clinton" . ?e_1 <conflict> ?e_2 . ?e_2 <pred:name> "French and Indian War" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1780
<
function: FilterConcept
dependencies: 1
inputs: governor
function: Find
inputs: French and Indian War
function: Relate
dependencies: 3
inputs: conflict
backward
function: Find
inputs: George Clinton
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: officeholder
backward
function: FilterConcept
dependencies: 7
inputs: governor
function: Or
dependencies: 2
8
function: Count
dependencies: 9