Question: What is the number of mountain ranges that is the narrative location of Lawless or that has a length over 59.1 kilometre
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Lawless
function: Relate
dependencies: 0
inputs: narrative location
forward
function: FilterConcept
dependencies: 1
inputs: mountain range
function: FindAll
function: FilterNum
dependencies: 3
inputs: length
59.1 kilometre
>
function: FilterConcept
dependencies: 4
inputs: mountain range
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mountain range" .  { ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Lawless" .  } UNION { ?e <length> ?pv . ?pv <pred:unit> "kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "59.1"^^xsd:double ) .  } }
Answer: 7