diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CNRS/ordered_sparql_insert_CNRS_archaeo.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CNRS/ordered_sparql_insert_CNRS_archaeo.sparql index 6cfc15b..d12b4a4 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CNRS/ordered_sparql_insert_CNRS_archaeo.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CNRS/ordered_sparql_insert_CNRS_archaeo.sparql @@ -1,3 +1,10 @@ +DELETE WHERE { +GRAPH { + ?p ?o . + ?s ?x +} +}; + PREFIX aocat: PREFIX rdf: PREFIX rdfs: @@ -13,6 +20,87 @@ WHERE { } }; +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +INSERT { +GRAPH { + ?s aocat:has_contributor . + rdf:type . + rdfs:label "Not provided" . + aocat:has_name "Not provided" . +} +} +WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_contributor ?c + } + } +}; + +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +INSERT { +GRAPH { + ?s aocat:has_creator . + rdf:type . + rdfs:label "Not provided" . + aocat:has_name "Not provided" . +} +} +WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_creator ?c + } + } +}; + +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +INSERT { +GRAPH { + ?s aocat:has_responsible . + rdf:type . + rdfs:label "Not provided" . + aocat:has_name "Not provided" . +} +} +WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_responsible ?c + } + } +}; + +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +INSERT { +GRAPH { + ?s aocat:has_access_rights "Information unavailable" . +} +} +WHERE { + GRAPH { + ?s rdf:type . + MINUS { + ?s rdf:type . + ?s aocat:has_access_rights ?c + } + } +}; + PREFIX aocat: PREFIX rdf: PREFIX skos: @@ -24,30 +112,16 @@ INSERT DATA{ skos:prefLabel "Fieldwork archive"@en . skos:prefLabel "Fieldwork report"@en . skos:prefLabel "Site/monument"@en . + skos:prefLabel "Inscription"@en . + skos:prefLabel "Artefact"@en . skos:prefLabel "collection" . + aocat:has_type . + rdf:type . + skos:prefLabel "collection" } }; -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -PREFIX skos: -INSERT { - GRAPH { - ?s aocat:has_type . - rdf:type . - skos:prefLabel "collection" - } - } - WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_type ?t . - } - } -}; + PREFIX aocat: PREFIX rdf: PREFIX rdfs: @@ -68,6 +142,28 @@ WHERE { } }; +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +PREFIX skos: +INSERT { + GRAPH { + ?s aocat:has_native_subject . + rdf:type aocat:AO_Concept . + rdfs:label "Native subject not provided" . + skos:prefLabel "Native subject not provided" . + } +} +WHERE { + GRAPH { + ?s rdf:type aocat:AO_Individual_Data_Resource . + MINUS { + ?s rdf:type aocat:AO_Individual_Data_Resource . + ?s aocat:has_native_subject ?ns . + } + } +}; + PREFIX aocat: PREFIX rdf: PREFIX rdfs: @@ -88,6 +184,8 @@ WHERE { } } }; + + PREFIX aocat: PREFIX rdf: PREFIX rdfs: