[TASK] Update URIs.
This commit is contained in:
parent
6cf6aaf4da
commit
cd6974151b
11
triplify.py
11
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()
|
||||
f.close()
|
||||
|
|
Loading…
Reference in New Issue