Question: How many forms of government are known that are exported to Netherlands or that contain less than 55 people ?
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> "form of government" .  { ?e <exported_to> ?e_1 . ?e_1 <pred:name> "Netherlands" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "55"^^xsd:double ) .  } }
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: exported to
backward
function: FilterConcept
dependencies: 1
inputs: form of government
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
55
<
function: FilterConcept
dependencies: 4
inputs: form of government
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3