From cd6974151b9882d407502f72b73a428505c01a7f Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Wed, 19 Mar 2014 17:05:24 +0100 Subject: [PATCH] [TASK] Update URIs. --- triplify.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/triplify.py b/triplify.py index 3853e4f..8a4d7de 100644 --- a/triplify.py +++ b/triplify.py @@ -48,7 +48,6 @@ class HsHPerson(Base): firstname = Column(String) title_prefix = Column(String) title_suffix = Column(String) - account = Column(Integer) gender = Column(String) #birthday = Column(DateTime) #TODO: without timezone! memberships = relationship("HsHMembership") @@ -74,11 +73,11 @@ vitro = Namespace('http://vitro.mannlib.cornell.edu/ns/vitro/0.7') vivo = Namespace('http://vivoweb.org/ontology/core#') vcard = Namespace('http://www.w3.org/2006/vcard/ns#') obo = Namespace('http://purl.obolibrary.org/obo/') -hsh = Namespace('http://vivo.bib.hs-hannover.de/ontology/hshOntologie#') +hsh = Namespace('http://data.hs-hannover.de/ontology/hshOntologie#') -localPerson = Namespace('http://vivo.bib.hs-hannover.de/individual/p') -localOrg = Namespace('http://vivo.bib.hs-hannover.de/individual/o') -localMembership = Namespace('http://vivo.bib.hs-hannover.de/individual/m') +localPerson = Namespace('http://data.hs-hannover.de/individual/p') +localOrg = Namespace('http://data.hs-hannover.de/individual/o') +localMembership = Namespace('http://data.hs-hannover.de/individual/m') def get_graph(): """Small little helper to create graph with namespaces ;-)""" @@ -370,4 +369,4 @@ if __name__ == '__main__': if writeToFile == True: f = open('data.n3', 'wb') f.write(triples) - f.close() \ No newline at end of file + f.close()