Question: Give the distinct number of other party of the people which have one of the party as Janata Party ?
SPARQL query:
PREFIX onto: <http://dbpedia.org/ontology/>
 SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:otherParty <http://dbpedia.org/resource/Janata_Party> . ?x onto:otherParty ?uri }