Question: Tell me the number of high schools that have the subreddit bxsci or that have the inception time other than 1938.
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "high school" .  { ?e <subreddit> ?pv . ?pv <pred:value> "bxsci" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1938 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
bxsci
function: FilterConcept
dependencies: 1
inputs: high school
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1938
!=
function: FilterConcept
dependencies: 4
inputs: high school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4