Question: What is the number of former French regions that have the capital the big city with the Dewey Decimal Classification is 2--44842
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "big city" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--44842" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--44842
function: FilterConcept
dependencies: 1
inputs: big city
function: Relate
dependencies: 2
inputs: capital of
forward
function: FilterConcept
dependencies: 3
inputs: former French region
function: Count
dependencies: 4