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

@ -12,4 +12,8 @@ CONSTRUCT {
?advisee vivo:relatedBy ?advisingRelationship .
} WHERE {
?advisee vivo:adviseeIn ?advisingRelationship .
FILTER NOT EXISTS {
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRoleNode .
?adviseeRoleNode vivo:relatedBy ?advisingRelationship .
}
}