Question: How many towns have a population that is not equal to 3500000 or have the headquarter location of Barnsley F.C.?
Choices:
38
39
40
41
42
43
44
45
46
47
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
3500000
!=
function: FilterConcept
dependencies: 1
inputs: town
function: Find
inputs: Barnsley F.C.
function: Relate
dependencies: 3
inputs: headquarters location
forward
function: FilterConcept
dependencies: 4
inputs: town
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "3500000"^^xsd:double ) .  } UNION { ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Barnsley F.C." .  } }
Answer: 41