Question: How many real properties there are with less than 29000000 visitors per year or with an opening date after 1928?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "real property" .  { ?e <visitors_per_year> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "29000000"^^xsd:double ) .  } UNION { ?e <date_of_official_opening> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1928 ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: visitors per year
29000000
<
function: FilterConcept
dependencies: 1
inputs: real property
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of official opening
1928
>
function: FilterConcept
dependencies: 4
inputs: real property
function: Or
dependencies: 2
5
function: Count
dependencies: 6