Question: How many learned societies are represented by the website www.oscars.org or have other than 350,000 yearly guests?
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 <official_website> ?pv . ?pv <pred:value> "https://www.oscars.org/" .  } UNION { ?e <visitors_per_year> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "350000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.oscars.org/
function: FilterConcept
dependencies: 1
inputs: learned society
function: FindAll
function: FilterNum
dependencies: 3
inputs: visitors per year
350000
!=
function: FilterConcept
dependencies: 4
inputs: learned society
function: Or
dependencies: 2
5
function: Count
dependencies: 6