SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/militaryBranch> <http://dbpedia.org/resource/Royal_Thai_Army> . ?x <http://dbpedia.org/ontology/religion> ?uri . }
How many religions are followed by the people in the Royal Thai Army?
SELECT DISTINCT COUNT ( ?k ) WHERE { ?w property:religion ?k . . ?w property:military_branch resource:Royal_Thai_Army }
18
There are [18] relegions followed by people who belong to Royal Thai Army military branch.
[18] religions are followed by people joining the Royal Thai Army.
There are [18] relegions of the office holders whose military branch is the organisation .
There are [18] religious incubators whose military branch is an organization.