diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_collection_oeaw_arche.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_collection_oeaw_arche.sparql index c139042..7404a4a 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_collection_oeaw_arche.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/OEAW/ordered_sparql_insert_collection_oeaw_arche.sparql @@ -32,6 +32,26 @@ GRAPH } }; +PREFIX aocat: +PREFIX rdf: +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 ?agent . + } + } +}; + PREFIX aocat: PREFIX skos: PREFIX ariadneplus: @@ -75,3 +95,30 @@ WHERE { FILTER(str(?matchLabel) = ?native_label) } }; + +PREFIX aocat: + INSERT { + GRAPH { + ?temporal aocat:has_period ?period . + ?temporal aocat:from ?temporalFrom . + ?temporal aocat:until ?temporalUntil . + } + } + WHERE { + GRAPH { + ?temporal aocat:has_period ?period . + ?temporal aocat:from ?temporalFrom . + ?temporal aocat:until ?temporalUntil . + } + }; + + PREFIX aocat: + PREFIX skos: +WITH +DELETE { ?period skos:prefLabel ?label} +WHERE { + ?temporal aocat:has_period ?period . + ?period skos:prefLabel ?label +} + +