[TASK] Change URIs for persons and organizations.

This commit is contained in:
Jan Philipp Timme 2014-02-18 13:15:29 +01:00
parent e7e9ab3d23
commit 2192686872
1 changed files with 3 additions and 3 deletions

View File

@ -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)