Question: How many departments of France have the capital Lille or have a Dewey Decimal Classification of 2--44262?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Lille
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
2--44262
function: FilterConcept
dependencies: 4
inputs: departments of France
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> "departments of France" .  { ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Lille" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--44262" .  } }
Answer: 2