Question: How many Italian regions are designated by Dewey Decimal number 2--4562 or have the demonym lombardi?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--4562" .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "lombardi" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--4562
function: FilterConcept
dependencies: 1
inputs: region of Italy
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
lombardi
function: FilterConcept
dependencies: 4
inputs: region of Italy
function: Or
dependencies: 2
5
function: Count
dependencies: 6