merge heads in tls-sprint branch tls-sprint
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 17 Feb 2009 17:28:25 +0100
branchtls-sprint
changeset 677 9b04bbfe3f90
parent 667 15fe1d3694d1 (current diff)
parent 675 eab61515d76a (diff)
child 678 4a29050fe143
merge heads in tls-sprint branch
--- a/web/views/owl.py	Tue Feb 17 16:45:22 2009 +0100
+++ b/web/views/owl.py	Tue Feb 17 17:28:25 2009 +0100
@@ -77,11 +77,10 @@
             self.visit_property_schema(eschema, skiprels)
             self.w(u'<!-- datatype property -->')
             self.visit_property_object_schema(eschema)
-                       
+
     def visit_entityschema(self, eschema, skiprels=()):
         """get a layout for an entity OWL schema"""
-        self.w(u'<owl:Class rdf:ID="%s"><rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>'
-               % eschema)         
+        self.w(u'<owl:Class rdf:ID="%s">'% eschema)         
         self.w(u'<!-- relations -->')    
         for rschema, targetschemas, role in eschema.relation_definitions():
             if rschema.type in skiprels: