Question: How many branches of the military were established in a year other than 1911 or are represented by the website www.navy.mil ?
Choices:
14
15
16
17
18
19
20
21
22
23
Answer: 14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "military branch" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.navy.mil" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1911 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.navy.mil
function: FilterConcept
dependencies: 1
inputs: military branch
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1911
!=
function: FilterConcept
dependencies: 4
inputs: military branch
function: Or
dependencies: 2
5
function: Count
dependencies: 6