Question: How many high schools are located in the National Front for the Liberation of South Vietnam or have a student count that is not 78000?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "high school" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "National Front for the Liberation of South Vietnam" .  } UNION { ?e <students_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "78000"^^xsd:double ) .  } }
Program:
function: Find
inputs: National Front for the Liberation of South Vietnam
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: high school
function: FindAll
function: FilterNum
dependencies: 3
inputs: students count
78000
!=
function: FilterConcept
dependencies: 4
inputs: high school
function: Or
dependencies: 2
5
function: Count
dependencies: 6