Question: How many mountain ranges have a length of 240 meters or are the main subject of Angel directed by Neil Jordan?
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> "mountain range" .  { ?e <length> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "240"^^xsd:double .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Angel" . ?e_1 <director> ?e_2 . ?e_2 <pred:name> "Neil Jordan" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: length
240 metre
=
function: FilterConcept
dependencies: 1
inputs: mountain range
function: Find
inputs: Neil Jordan
function: Relate
dependencies: 3
inputs: director
backward
function: Find
inputs: Angel
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: main subject
forward
function: FilterConcept
dependencies: 7
inputs: mountain range
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0