custom SPARQL queries to count mappings - all ontologies