VIVO-403 safeguards against duplicate context node creation in migration

This commit is contained in:
brianjlowe 2013-11-05 10:01:46 -05:00
parent 6ef8cb6b80
commit a68ef819ee
54 changed files with 599 additions and 117 deletions

View file

@ -16,4 +16,9 @@ CONSTRUCT {
{ ?grant vivo:administeredBy ?agent
FILTER NOT EXISTS { ?agent vivo:administers ?grant }
}
FILTER NOT EXISTS {
?agent <http://purl.obolibrary.org/obo/RO_0000053> ?adminRoleNode .
?adminRoleNode a vivo:AdministratorRole .
?adminRoleNode vivo:relatedBy ?grant .
}
}