Question: What is the number of governors that have a term length of office under 4.1 years or that has an official website http://www.state.nj.us/governor/
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "governor" .  { ?e <term_length_of_office> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v < "4.1"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.state.nj.us/governor/" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: term length of office
4.1 year
<
function: FilterConcept
dependencies: 1
inputs: governor
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.state.nj.us/governor/
function: FilterConcept
dependencies: 4
inputs: governor
function: Or
dependencies: 2
5
function: Count
dependencies: 6