added has_creator field mandatory for records

This commit is contained in:
Enrico Ottonello 2020-11-27 12:41:11 +01:00
parent 4a9a5301b3
commit fbc4fc8717
1 changed files with 16 additions and 0 deletions

View File

@ -102,6 +102,22 @@ WHERE {
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
};
INSERT {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s aocat:has_creator <https://ariadne-infrastructure.eu/aocat/Agent/ads/NOT_PROVIDED> .
<https://ariadne-infrastructure.eu/aocat/Agent/ads/NOT_PROVIDED> aocat:has_name "Not provided" .
}
}
WHERE {
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::ads::1093> {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_creator ?creator .
}
}
};
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>