Question: The dog breed expected to live over 11.6 years is the mascot of how many military branches?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "military branch" . ?e <mascot> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "dog" . ?e_1 <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "11.6"^^xsd:double ) .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
11.6 year
>
function: FilterConcept
dependencies: 1
inputs: dog
function: Relate
dependencies: 2
inputs: mascot
backward
function: FilterConcept
dependencies: 3
inputs: military branch
function: Count
dependencies: 4
Answer: 0