protected void describeVocabularies(final IVCount[] predicatePartitionCounts){
  final Set<String> namespaces=new LinkedHashSet<String>();
{
    for (    IVCount tmp : predicatePartitionCounts) {
      final URI p=(URI)tmp.getValue();
      String namespace=p.getNamespace();
      if (namespace.endsWith("#")) {
        namespace=namespace.substring(0,namespace.length() - 1);
      }
      namespaces.add(namespace);
    }
  }
  final String[] a=namespaces.toArray(new String[namespaces.size()]);
  Arrays.sort(a);
  for (  String namespace : a) {
    g.add(aDataset,VoidVocabularyDecl.vocabulary,f.createURI(namespace));
  }
}

protected void describeVocabularies ( final IVCount [ ] predicatePartitionCounts ) { final Set < String > namespaces = new LinkedHashSet < String > ( ) ; { for ( IVCount tmp : predicatePartitionCounts ) { final URI p = ( URI ) tmp . getValue ( ) ; String namespace = p . getNamespace ( ) ; if ( namespace . endsWith ( "#" ) ) { namespace = namespace . substring ( 0 , namespace . length ( ) - 1 ) ; } namespaces . add ( namespace ) ; } } final String [ ] a = namespaces . toArray ( new String [ namespaces . size ( ) ] ) ; Arrays . sort ( a ) ; for ( String namespace : a ) { g . add ( aDataset , VoidVocabularyDecl . vocabulary , f . createURI ( namespace ) ) ; } }
describe the vocabularies which are in use in the kb based on the predicate partition statistics .
