Question: How many estates in land have an official opening date after 1931 or usually have New Zealand as a property?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "estate in land" .  { ?e <date_of_official_opening> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1931 ) .  } UNION { ?e <properties_for_this_type> ?e_1 . ?e_1 <pred:name> "New Zealand" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of official opening
1931
>
function: FilterConcept
dependencies: 1
inputs: estate in land
function: Find
inputs: New Zealand
function: Relate
dependencies: 3
inputs: properties for this type
backward
function: FilterConcept
dependencies: 4
inputs: estate in land
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2