--- a/ontologies/specgen/libvocab.py Tue Oct 18 14:09:35 2011 +0200
+++ b/ontologies/specgen/libvocab.py Tue Oct 18 14:15:51 2011 +0200
@@ -753,15 +753,12 @@
# equivalent class
q = 'SELECT ?ec WHERE { <%s> <http://www.w3.org/2002/07/owl#equivalentClass> ?ec } ' % (term.uri)
- print q
equivalents = g.query(q)
startStr = '<tr><th>Equivalent Class:</th>\n'
contentStr = ''
equivalentClass = ''
- print "Class: ", term.uri
for (ec) in equivalents:
cls = Term(ec)
- print "Equivalent Class: ", cls.uri
curie = "%s:%s" % (self.vocab.ns_list[cls.ns], cls.id)
termStr = """<a href="#%s">%s</a>\n""" % (cls.id, curie)
contentStr = "%s %s" % (contentStr, termStr)