diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CYI/ordered_sparql_insert_CYI_inscriptions.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CYI/ordered_sparql_insert_CYI_inscriptions.sparql
new file mode 100644
index 0000000..ffc817b
--- /dev/null
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CYI/ordered_sparql_insert_CYI_inscriptions.sparql
@@ -0,0 +1,166 @@
+PREFIX aocat:
+PREFIX ariadneplus:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?record aocat:has_creator ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ }
+}
+USING
+USING
+WHERE {
+ ?record aocat:is_part_of ?collection .
+ ?collection aocat:has_creator ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ MINUS {
+ ?record aocat:has_creator ?rec_value .
+ }
+};
+
+PREFIX aocat:
+PREFIX ariadneplus:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?record aocat:has_contributor ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ }
+}
+USING
+USING
+WHERE {
+ ?record aocat:is_part_of ?collection .
+ ?collection aocat:has_contributor ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ MINUS {
+ ?record aocat:has_contributor ?rec_value .
+ }
+};
+
+PREFIX aocat:
+PREFIX ariadneplus:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?record aocat:has_responsible ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ }
+}
+USING
+USING
+WHERE {
+ ?record aocat:is_part_of ?collection .
+ ?collection aocat:has_responsible ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ MINUS {
+ ?record aocat:has_responsible ?rec_value .
+ }
+};
+
+PREFIX aocat:
+PREFIX ariadneplus:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?record aocat:has_owner ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ }
+}
+USING
+USING
+WHERE {
+ ?record aocat:is_part_of ?collection .
+ ?collection aocat:has_owner ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ MINUS {
+ ?record aocat:has_owner ?rec_value .
+ }
+};
+
+PREFIX aocat:
+PREFIX ariadneplus:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?record aocat:has_publisher ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ }
+}
+USING
+USING
+WHERE {
+ ?record aocat:is_part_of ?collection .
+ ?collection aocat:has_publisher ?coll_value .
+ ?coll_value rdf:type ?type .
+ ?coll_value rdfs:label ?label .
+ ?coll_value aocat:has_name ?name .
+ ?coll_value aocat:has_homepage ?homepage .
+ MINUS {
+ ?record aocat:has_publisher ?rec_value .
+ }
+};
+
+PREFIX aocat:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+GRAPH {
+ ?record aocat:has_original_id ?lpLabel .
+}
+}
+USING
+WHERE {
+ ?record aocat:has_landing_page ?lp .
+ ?lp rdfs:label ?lpLabel .
+ MINUS {
+ ?record aocat:has_original_id ?x .
+ }
+};
+
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+GRAPH {
+ ?record aocat:has_original_id "not available" .
+}
+}
+USING
+WHERE {
+ ?record rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?record aocat:has_original_id ?x .
+ }
+};
\ No newline at end of file
diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INP/ordered_sparql_insert_INP_sites.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INP/ordered_sparql_insert_INP_sites.sparql
index b60e2f2..ab63bb7 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INP/ordered_sparql_insert_INP_sites.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INP/ordered_sparql_insert_INP_sites.sparql
@@ -142,40 +142,32 @@ PREFIX aocat:
?derivedSubject skos:prefLabel ?label .
};
-PREFIX skos:
- PREFIX aocat:
- PREFIX time:
- PREFIX rdfs:
+PREFIX aocat:
INSERT {
GRAPH {
- ?temporal aocat:has_period ?native_period .
- ?temporal aocat:from ?from .
- ?temporal aocat:until ?until .
+ ?temporal aocat:has_period ?periodOURI .
+ ?temporal aocat:from ?temporalFrom .
+ ?temporal aocat:until ?temporalUntil .
}
}
WHERE {
- GRAPH {
- ?temporal aocat:has_native_period ?native_period .
- ?native_period rdfs:label|skos:prefLabel ?native_label .
- ?temporal aocat:from ?from .
- ?temporal aocat:until ?until .
- }
+ GRAPH {
+ ?temporal aocat:has_period ?periodOURI .
+ ?temporal aocat:from ?temporalFrom .
+ ?temporal aocat:until ?temporalUntil .
+ }
};
+ PREFIX aocat:
PREFIX skos:
- PREFIX aocat:
- PREFIX time:
- PREFIX rdfs:
- INSERT {
- GRAPH {
- ?native_period skos:prefLabel ?native_label .
- }
- }
- WHERE {
- GRAPH {
- ?temporal aocat:has_native_period ?native_period .
- ?native_period rdfs:label|skos:prefLabel ?native_label .
- ?temporal aocat:from ?from .
- ?temporal aocat:until ?until .
- }
- };
\ No newline at end of file
+ INSERT {
+ GRAPH {
+ ?periodOURI skos:prefLabel ?periodLabel .
+ }
+ }
+ WHERE {
+ GRAPH {
+ ?temporal aocat:has_period ?periodOURI .
+ ?periodOURI skos:prefLabel ?periodLabel .
+ }
+ };
\ No newline at end of file