diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard1-0c.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard1-0c.sparql index 03405d95..7443d28a 100644 --- a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard1-0c.sparql +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard1-0c.sparql @@ -8,7 +8,8 @@ CONSTRUCT { _:vcard arg:ARG_2000029 ?s . _:vcard a v:Individual . } WHERE { - ?s vivo:middleName ?middleName + ?s vivo:middleName ?middleName . + ?s a foaf:Person FILTER NOT EXISTS { ?s arg:ARG_2000028 ?vcard } diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard2d.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard2d.sparql index a065a9fe..cb32f1b9 100644 --- a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard2d.sparql +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard2d.sparql @@ -8,6 +8,7 @@ CONSTRUCT { ?name vivo:middleName ?middleName . } WHERE { ?s vivo:middleName ?middleName . + ?s a foaf:Person . ?s arg:ARG_2000028 ?vcard . ?vcard v:hasName ?name }