Question: How many German states are there whose FIPS 10-4 (countries and regions) is GM06 and whose are an enclave within North Rhine-Westphalia ?
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> "state of Germany" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "GM06" . ?e <enclave_within> ?e_1 . ?e_1 <pred:name> "North Rhine-Westphalia" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
GM06
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: Find
inputs: North Rhine-Westphalia
function: Relate
dependencies: 3
inputs: enclave within
backward
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0