Question: How many crimes either have a death number greater than 650000 or have the Wikitribune category of espionage?
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> "crime" .  { ?e <number_of_deaths> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "650000"^^xsd:double ) .  } UNION { ?e <Wikitribune_category> ?pv . ?pv <pred:value> "espionage" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of deaths
650000
>
function: FilterConcept
dependencies: 1
inputs: crime
function: FindAll
function: FilterStr
dependencies: 3
inputs: Wikitribune category
espionage
function: FilterConcept
dependencies: 4
inputs: crime
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2