Question: How many states were the Battle of France site or the origin of roots reggae material?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" .  { ?e_1 <location> ?e . ?e_1 <pred:name> "Battle of France" .  } UNION { ?e_1 <source_of_material> ?e . ?e_1 <pred:name> "roots reggae" .  } }
Program:
function: Find
inputs: Battle of France
function: Relate
dependencies: 0
inputs: location
forward
function: FilterConcept
dependencies: 1
inputs: state
function: Find
inputs: roots reggae
function: Relate
dependencies: 3
inputs: source of material
forward
function: FilterConcept
dependencies: 4
inputs: state
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2