Question: How many public offices were established after 1792 or represent the position held by George Clinton (whose ISNI is 0000 0000 6317 8800)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public office" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1792 ) .  } UNION { ?e_1 <position_held> ?e . ?e_1 <pred:name> "George Clinton" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0000 6317 8800" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1792
>
function: FilterConcept
dependencies: 1
inputs: public office
function: Find
inputs: George Clinton
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0000 6317 8800
function: Relate
dependencies: 4
inputs: position held
forward
function: FilterConcept
dependencies: 5
inputs: public office
function: Or
dependencies: 2
6
function: Count
dependencies: 7