public Set process(){ return types;
public Set<SemanticType> process(){ for (String id : types.keySet()) { SemanticType t = types.get(id); for (Property p : t.getProperties()) { String rev = p.getType(); String inv = p.getInverse(); if ( inv != null ) { if (types.containsKey(rev)) { SemanticType reverse = types.get(rev); for (Property inverse : reverse.getProperties()) { if ( inverse.getType().equals(id)) { inverse.setInverse(p.getName()); } } } } } } System.err.println("xxx"); for (String id : types.keySet()) { System.err.println(id); } return new HashSet<SemanticType>(types.values());
    public Set process(){        return types;    }