[xy] define standard prefixes stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 29 Apr 2010 07:02:14 +0200
branchstable
changeset 5433 aae37bb56e3b
parent 5432 ee246e1813c6
child 5434 b56420abc00f
[xy] define standard prefixes
xy.py
--- a/xy.py	Thu Apr 29 06:53:48 2010 +0200
+++ b/xy.py	Thu Apr 29 07:02:14 2010 +0200
@@ -22,8 +22,11 @@
 from yams import xy
 
 xy.register_prefix('http://purl.org/dc/elements/1.1/', 'dc')
-xy.register_prefix('http://xmlns.com/foaf/0.1/', 'foaf')
-xy.register_prefix('http://usefulinc.com/ns/doap#', 'doap')
+xy.register_prefix('http://xmlns.com/foaf/0.1/',       'foaf')
+xy.register_prefix('http://usefulinc.com/ns/doap#',    'doap')
+xy.register_prefix('http://rdfs.org/sioc/ns#',         'sioc')
+xy.register_prefix('http://www.w3.org/2002/07/owl#',   'owl')
+xy.register_prefix('http://purl.org/dc/terms/',        'dcterms')
 
 xy.add_equivalence('creation_date', 'dc:date')
 xy.add_equivalence('created_by', 'dc:creator')