Question: How many independent cities of Germany have the Dewey Decimal Classification of 2--432241 or the German district key of 09463?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city of Germany" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--432241" .  } UNION { ?e <German_district_key> ?pv . ?pv <pred:value> "09463" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--432241
function: FilterConcept
dependencies: 1
inputs: independent city of Germany
function: FindAll
function: FilterStr
dependencies: 3
inputs: German district key
09463
function: FilterConcept
dependencies: 4
inputs: independent city of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2