Question: How many military branches have the official name Royal Canadian Air Force and belong to the allegiance of Adolf Hitler?
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 <official_name> ?pv . ?pv <pred:value> "Royal Canadian Air Force" . ?e <allegiance> ?e_1 . ?e_1 <pred:name> "Adolf Hitler" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Royal Canadian Air Force
function: FilterConcept
dependencies: 1
inputs: military branch
function: Find
inputs: Adolf Hitler
function: Relate
dependencies: 3
inputs: allegiance
backward
function: FilterConcept
dependencies: 4
inputs: military branch
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0