equal
deleted
inserted
replaced
20 """ |
20 """ |
21 |
21 |
22 from yams import xy |
22 from yams import xy |
23 |
23 |
24 xy.register_prefix('http://purl.org/dc/elements/1.1/', 'dc') |
24 xy.register_prefix('http://purl.org/dc/elements/1.1/', 'dc') |
25 xy.register_prefix('http://xmlns.com/foaf/0.1/', 'foaf') |
25 xy.register_prefix('http://xmlns.com/foaf/0.1/', 'foaf') |
26 xy.register_prefix('http://usefulinc.com/ns/doap#', 'doap') |
26 xy.register_prefix('http://usefulinc.com/ns/doap#', 'doap') |
|
27 xy.register_prefix('http://rdfs.org/sioc/ns#', 'sioc') |
|
28 xy.register_prefix('http://www.w3.org/2002/07/owl#', 'owl') |
|
29 xy.register_prefix('http://purl.org/dc/terms/', 'dcterms') |
27 |
30 |
28 xy.add_equivalence('creation_date', 'dc:date') |
31 xy.add_equivalence('creation_date', 'dc:date') |
29 xy.add_equivalence('created_by', 'dc:creator') |
32 xy.add_equivalence('created_by', 'dc:creator') |
30 xy.add_equivalence('description', 'dc:description') |
33 xy.add_equivalence('description', 'dc:description') |
31 xy.add_equivalence('CWUser', 'foaf:Person') |
34 xy.add_equivalence('CWUser', 'foaf:Person') |