Question: How many Florida counties have a population that is greater than 670000 or are named after Mike Mills (the one that has the occupation of screenwriter)?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Florida" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "670000"^^xsd:double ) .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Mike Mills" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "screenwriter" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
670000
>
function: FilterConcept
dependencies: 1
inputs: county of Florida
function: Find
inputs: screenwriter
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Mike Mills
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: named after
backward
function: FilterConcept
dependencies: 7
inputs: county of Florida
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 7