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

@ -0,0 +1,15 @@
PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?s arg:ARG_2000028 _:vcard .
_:vcard arg:ARG_2000029 ?s .
_:vcard a v:Individual .
} WHERE {
?s vivo:middleName ?middleName
FILTER NOT EXISTS {
?s arg:ARG_2000028 ?vcard
}
}