Question: How many learned societies have an establishment date that is after 1743 or have a member named Brian Cox whose ISNI is 0000 0000 5639 7298?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "learned society" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1743 ) .  } UNION { ?e_1 <member_of> ?e . ?e_1 <pred:name> "Brian Cox" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0000 5639 7298" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1743
>
function: FilterConcept
dependencies: 1
inputs: learned society
function: Find
inputs: Brian Cox
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0000 5639 7298
function: Relate
dependencies: 4
inputs: member of
forward
function: FilterConcept
dependencies: 5
inputs: learned society
function: Or
dependencies: 2
6
function: Count
dependencies: 7