Question: How many states of the United States that have a less than 1.8 population or the residence of Jessica Lange?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "1.8"^^xsd:double ) .  } UNION { ?e_1 <residence> ?e . ?e_1 <pred:name> "Jessica Lange" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
1.8
<
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Find
inputs: Jessica Lange
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6