SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/militaryBranch> <http://dbpedia.org/resource/Republic_of_Korea_Army> . ?x <http://dbpedia.org/ontology/religion> ?uri . }
How many religions are followed amongst the people who've worked in the Korean army?
SELECT DISTINCT COUNT ( ?h ) WHERE { ?q property:religion ?h . . ?q property:military_branch resource:Republic_of_Korea_Army }
10
There are [10] religions followed by military people of the Republic of Korea Army.
There are [10] religions, followed by the armed forces of the Republic of Korea.