Question: How many departments of France have the INSEE department code 06 or are the narrative location of Timeline (that is authored by Michael Crichton)?
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 <INSEE_department_code> ?pv . ?pv <pred:value> "06" .  } UNION { ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Timeline" . ?e_1 <author> ?e_2 . ?e_2 <pred:name> "Michael Crichton" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: INSEE department code
06
function: FilterConcept
dependencies: 1
inputs: departments of France
function: Find
inputs: Michael Crichton
function: Relate
dependencies: 3
inputs: author
backward
function: Find
inputs: Timeline
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: narrative location
forward
function: FilterConcept
dependencies: 7
inputs: departments of France
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2