# HG changeset patch # User Nicolas Chauvat # Date 1272517334 -7200 # Node ID aae37bb56e3bc62900be7afdb7cb53c2fb25ec3a # Parent ee246e1813c6e0b4524c8d7ec5193829408ac13a [xy] define standard prefixes diff -r ee246e1813c6 -r aae37bb56e3b 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')