diff --git a/triplify.py b/triplify.py index 090640f..733ea01 100644 --- a/triplify.py +++ b/triplify.py @@ -74,8 +74,8 @@ 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#') -localPerson = Namespace('http://vivo.bib.hs-hannover.de/person') -localOrg = Namespace('http://vivo.bib.hs-hannover.de/org') +localPerson = Namespace('http://vivo.bib.hs-hannover.de/individual/person') +localOrg = Namespace('http://vivo.bib.hs-hannover.de/individual/org') def get_graph(): """Small little helper to create graph with namespaces ;-)""" @@ -198,7 +198,7 @@ def processPersons(session, additionalIdSeq): organization_uri = URIRef("%s/%s" % (localOrg, membership.organizational_unit)) rdfP = NonFacultyAcademic(personUri) rdfP.associatedOe = organization_uri - + #assign non-academic person type if neccessary if isNonAcademic: NonAcademic(personUri)