Question: How many military branches are out there who share the mascot, a dog, with  United States Marine Corps ?
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_2 <mascot> ?e_1 . ?e_2 <pred:name> "United States Marine Corps" .   }
Program:
function: Find
inputs: United States Marine Corps
function: Relate
dependencies: 0
inputs: mascot
forward
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: 1