Question: How many Chinese provinces have a population other than 6900000000 or are led by the Governor of Texas?
Choices:
6
7
8
9
10
11
12
13
14
15
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
6900000000
!=
function: FilterConcept
dependencies: 1
inputs: province of China
function: Find
inputs: Governor of Texas
function: Relate
dependencies: 3
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 4
inputs: province of China
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> "province of China" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "6900000000"^^xsd:double ) .  } UNION { ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "Governor of Texas" .  } }
Answer: 8