Question: How many real properties are there with the area below 230,000 square m or located in or next to Hudson River ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "real property" .  { ?e <area> ?pv . ?pv <pred:unit> "square metre" . ?pv <pred:value> ?v . FILTER ( ?v < "230000"^^xsd:double ) .  } UNION { ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Hudson River" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
230000 square metre
<
function: FilterConcept
dependencies: 1
inputs: real property
function: Find
inputs: Hudson River
function: Relate
dependencies: 3
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 4
inputs: real property
function: Or
dependencies: 2
5
function: Count
dependencies: 6