xy.py
changeset 5473 ee87c5352e63
parent 5433 aae37bb56e3b
child 5609 d247e2e06db2
equal deleted inserted replaced
5471:b7bf1c6751fd 5473:ee87c5352e63
    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')