[TASK] Change URIs for persons and organizations.
This commit is contained in:
parent
e7e9ab3d23
commit
2192686872
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue