Question: How many cities have more than 55% unemployment or have regional debut venue?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" .  { ?e <unemployment_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v > "55"^^xsd:double ) .  } UNION { ?e_1 <film_regional_debut_venue> ?e . ?e_1 <pred:name> "The Dark Knight Rises" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: unemployment rate
55 percentage
>
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: The Dark Knight Rises
function: Relate
dependencies: 3
inputs: film regional debut venue
forward
function: FilterConcept
dependencies: 4
inputs: city
function: Or
dependencies: 2
5
function: Count
dependencies: 6