Question: How many high schools have either the headquarter location of Toledo (the one whose population is 67727) or have the subreddit of bxsci?
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 <headquarters_location> ?e_1 . ?e_1 <pred:name> "Toledo" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "67727"^^xsd:double .  } UNION { ?e <subreddit> ?pv . ?pv <pred:value> "bxsci" .  } }
Program:
function: Find
inputs: Toledo
function: FilterNum
dependencies: 0
inputs: population
67727
=
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: high school
function: FindAll
function: FilterStr
dependencies: 4
inputs: subreddit
bxsci
function: FilterConcept
dependencies: 5
inputs: high school
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 1