Question: How many departments of France either are home to the Capital of Caen or have an ISO 3166-2 code that is FR-74?
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> "departments of France" .  { ?e <capital> ?e_1 . ?e_1 <pred:name> "Caen" .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "FR-74" .  } }
Program:
function: Find
inputs: Caen
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
FR-74
function: FilterConcept
dependencies: 4
inputs: departments of France
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2