Hi,
Adding those relations is not easy, for several reasons:
1)
http://purl.org/dc/terms/ is in Turtle format, which is not understood by Owlready yet.
2) the creator, etc, properties are RDF properties and not OWL annotations.
Currently, Owlready works at the OWL level, but not at the RDF level (though I'm thinking about extending it to RDF). Consequently, it cannot use plain RDF properties like creator.
However, if you just need a few metadata properties, you can easily re-create them in a dummy ontology, as in the following example:
from owlready2 import *
with get_ontology("
http://purl.org/dc/terms/"):
class creator(AnnotationProperty): pass
onto = get_ontology("
http://test.org/onto.owl")
with onto:
my_creator = Thing("nelly-jones")
onto.metadata.creator = my_creator
It will produce the expected RDF triple :
<
http://test.org/onto.owl> <
http://purl.org/dc/terms/creator> <
http://test.org/onto.owl#nelly-jones> .
Best regards,
Jiba