Question: How many departments of France are the origin of the name Nord-Pas-de-Calais or have an inception time outside of 1968?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" .  { ?e_1 <named_after> ?e . ?e_1 <pred:name> "Nord-Pas-de-Calais" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1968 ) .  } }
Program:
function: Find
inputs: Nord-Pas-de-Calais
function: Relate
dependencies: 0
inputs: named after
forward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1968
!=
function: FilterConcept
dependencies: 4
inputs: departments of France
function: Or
dependencies: 2
5
function: Count
dependencies: 6