Question: Irving Thalberg was the founder or the founding date was later than 1768 for how many learned societies?
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> "learned society" .  { ?e_1 <found> ?e . ?e_1 <pred:name> "Irving Thalberg" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1768 ) .  } }
Program:
function: Find
inputs: Irving Thalberg
function: Relate
dependencies: 0
inputs: found
forward
function: FilterConcept
dependencies: 1
inputs: learned society
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1768
>
function: FilterConcept
dependencies: 4
inputs: learned society
function: Or
dependencies: 2
5
function: Count
dependencies: 6