diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_records-TEST.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_TEST.sparql
similarity index 53%
rename from dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_records-TEST.sparql
rename to dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_TEST.sparql
index 2dce50e..f0bffbc 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_records-TEST.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_TEST.sparql
@@ -92,6 +92,117 @@ WHERE {
}
};
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:has_access_rights "Not provided" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type .
+ MINUS {
+ ?s rdf:type .
+ ?s aocat:has_access_rights ?ar .
+ }
+ }
+};
+
+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:
+INSERT {
+ GRAPH {
+ ?s aocat:has_temporal_coverage .
+ rdf:type .
+ rdfs:label "Not provided" .
+
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type .
+ MINUS {
+ ?s rdf:type .
+ ?s aocat:has_temporal_coverage ?tc .
+ }
+ }
+};
+
+PREFIX aocat:
+PREFIX skos:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:has_language .
+ skos:prefLabel "und" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type .
+ MINUS {
+ ?s rdf:type .
+ ?s aocat:has_language ?ns .
+ }
+ }
+};
+
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:was_modified "Not provided" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type .
+ MINUS {
+ ?s rdf:type .
+ ?s aocat:was_modified ?d .
+ }
+ }
+};
+
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:was_issued "Not provided" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type .
+ MINUS {
+ ?s rdf:type .
+ ?s aocat:was_issued ?d .
+ }
+ }
+};
+
PREFIX aocat:
PREFIX rdf:
INSERT {
@@ -172,4 +283,44 @@ WHERE {
?s aocat:has_type .
}
}
+};
+
+PREFIX aocat:
+PREFIX skos:
+
+INSERT {
+ GRAPH {
+ ?record aocat:has_derived_subject ?aat_subject .
+ }
+}
+USING
+USING
+WHERE {
+ {
+ ?record aocat:has_native_subject ?native_subject .
+ ?aat_native_subject skos:exactMatch ?aat_subject .
+ bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/INRAP/", ucase(strafter(str(?native_subject),"Inrap/")))) as ?uppercase_native_subject)
+ filter(?uppercase_native_subject=?aat_native_subject)
+ }
+ union
+ {
+ ?record aocat:has_native_subject ?native_subject .
+ ?aat_native_subject skos:broadMatch ?aat_subject .
+ bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/INRAP/", ucase(strafter(str(?native_subject),"Inrap/")))) as ?uppercase_native_subject)
+ filter(?uppercase_native_subject=?aat_native_subject)
+ }
+ union
+ {
+ ?record aocat:has_native_subject ?native_subject .
+ ?aat_native_subject skos:closeMatch ?aat_subject .
+ bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/INRAP/", ucase(strafter(str(?native_subject),"Inrap/")))) as ?uppercase_native_subject)
+ filter(?uppercase_native_subject=?aat_native_subject)
+ }
+ union
+ {
+ ?record aocat:has_native_subject ?native_subject .
+ ?aat_native_subject skos:narrowMatch ?aat_subject .
+ bind (IRI(concat( "https://ariadne-infrastructure.eu/aocat/Concept/INRAP/", ucase(strafter(str(?native_subject),"Inrap/")))) as ?uppercase_native_subject)
+ filter(?uppercase_native_subject=?aat_native_subject)
+ }
};
\ No newline at end of file
diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_coll-TEST.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_coll-TEST.sparql
deleted file mode 100644
index 9841a84..0000000
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia_coll-TEST.sparql
+++ /dev/null
@@ -1,110 +0,0 @@
-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:
-INSERT {
- GRAPH {
- ?s aocat:has_temporal_coverage .
- rdf:type .
- rdfs:label "Not provided" .
-
- }
-}
-WHERE {
- GRAPH {
- ?s rdf:type .
- MINUS {
- ?s rdf:type .
- ?s aocat:has_temporal_coverage ?tc .
- }
- }
-};
-
-PREFIX aocat:
-PREFIX skos:
-PREFIX rdf:
-INSERT {
- GRAPH {
- ?s aocat:has_language .
- skos:prefLabel "und" .
- }
-}
-WHERE {
- GRAPH {
- ?s rdf:type .
- MINUS {
- ?s rdf:type .
- ?s aocat:has_language ?ns .
- }
- }
-};
-
-PREFIX aocat:
-PREFIX rdf:
-INSERT {
- GRAPH {
- ?s aocat:was_modified "Not provided" .
- }
-}
-WHERE {
- GRAPH {
- ?s rdf:type .
- MINUS {
- ?s rdf:type .
- ?s aocat:was_modified ?d .
- }
- }
-};
-
-PREFIX aocat:
-PREFIX rdf:
-INSERT {
- GRAPH {
- ?s aocat:was_issued "Not provided" .
- }
-}
-WHERE {
- GRAPH {
- ?s rdf:type .
- MINUS {
- ?s rdf:type .
- ?s aocat:was_issued ?d .
- }
- }
-};
-
-PREFIX aocat:
-PREFIX rdf:
-INSERT {
- GRAPH {
- ?s aocat:has_access_rights "Not provided" .
- }
-}
-WHERE {
- GRAPH {
- ?s rdf:type .
- MINUS {
- ?s rdf:type .
- ?s aocat:has_access_rights ?ar .
- }
- }
-};
\ No newline at end of file