diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FI/ordered_sparql_insert_FI_Isleif.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FI/ordered_sparql_insert_FI_Isleif.sparql
index ef6895c..73cccb4 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FI/ordered_sparql_insert_FI_Isleif.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FI/ordered_sparql_insert_FI_Isleif.sparql
@@ -1,62 +1,31 @@
PREFIX aocat:
PREFIX rdf:
-PREFIX skos:
-
-# INSERT DEFAULTS FOR RECORDS
-
+PREFIX skos:
INSERT {
- GRAPH ::> {
- ?s aocat:has_native_subject /NOT_PROVIDED> .
- /NOT_PROVIDED> skos:prefLabel "Not provided" .
+ GRAPH {
+ ?s aocat:has_type .
+ skos:prefLabel "provided record" .
}
}
WHERE {
- GRAPH ::> {
+ GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
- ?s aocat:has_native_subject ?ns .
- }
- }
-};
-INSERT {
- GRAPH ::> {
- ?s aocat:has_language .
- skos:prefLabel "und" .
- }
-}
-WHERE {
- GRAPH ::> {
- ?s rdf:type aocat:AO_Individual_Data_Resource .
- MINUS {
- ?s rdf:type aocat:AO_Individual_Data_Resource .
- ?s aocat:has_language ?ns .
- }
- }
-};
-INSERT {
- GRAPH ::> {
- ?s aocat:has_creator /NOT_PROVIDED> .
- /NOT_PROVIDED> aocat:has_name "Not provided" .
- }
-}
-WHERE {
- GRAPH ::> {
- ?s rdf:type aocat:AO_Individual_Data_Resource .
- MINUS {
- ?s rdf:type aocat:AO_Individual_Data_Resource .
- ?s aocat:has_creator ?creator .
+ ?s aocat:has_type .
}
}
};
+PREFIX aocat:
+PREFIX rdf:
INSERT {
- GRAPH ::> {
+ GRAPH {
?s aocat:has_title "Title not provided" .
}
}
WHERE {
- GRAPH ::> {
+ GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
@@ -65,18 +34,271 @@ WHERE {
}
};
+PREFIX aocat:
+PREFIX rdf:
+PREFIX rdfs:
INSERT {
- GRAPH ::> {
- ?s aocat:has_type .
- skos:prefLabel "provided record" .
+ GRAPH {
+ ?s aocat:has_spatial_coverage .
+ rdf:type .
+ rdfs:label "Place not provided" .
+ aocat:has_place_name "Place not provided" .
}
}
WHERE {
- GRAPH ::> {
+ GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
- ?s aocat:has_type .
+ ?s aocat:has_spatial_coverage ?spatialRegion .
+ ?spatialRegion aocat:has_place_name ?placeName .
}
}
-};
\ No newline at end of file
+};
+
+PREFIX skos:
+PREFIX aocat:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?s aocat:has_native_subject .
+ skos:prefLabel "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 skos:
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:has_creator .
+ aocat:has_name "Not provided" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:has_creator ?creator .
+ }
+ }
+};
+PREFIX skos:
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:has_contributor .
+ aocat:has_name "Not provided" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:has_contributor ?c .
+ }
+ }
+};
+PREFIX skos:
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:has_responsible .
+ aocat:has_name "Not provided" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:has_responsible ?r .
+ }
+ }
+};
+
+PREFIX skos:
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:has_publisher .
+ aocat:has_name "Fornleifastofnun Íslands" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:has_publisher ?p .
+ }
+ }
+};
+
+PREFIX skos:
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:has_owner .
+ aocat:has_name "Not provided" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:has_owner ?o .
+ }
+ }
+};
+
+PREFIX skos:
+PREFIX aocat:
+PREFIX rdf:
+INSERT {
+ GRAPH {
+ ?s aocat:has_language .
+ skos:prefLabel "und" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:has_language ?ns .
+ }
+ }
+};
+
+PREFIX aocat:
+PREFIX skos:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?s aocat:was_modified "2022"^^xsd:dateTime .
+ }
+}
+USING
+WHERE {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:was_modified ?modified .
+ }
+};
+PREFIX aocat:
+PREFIX skos:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?s aocat:was_issued "2022"^^xsd:dateTime .
+ }
+}
+USING
+WHERE {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:was_issued ?modified .
+ }
+};
+
+PREFIX aocat:
+PREFIX skos:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?s aocat:has_access_rights "Not provided"
+ }
+ }
+ WHERE {
+ GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS{
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:has_access_rights ?smt .
+ }
+ }
+};
+
+PREFIX ariadneplus:
+PREFIX aocat:
+PREFIX owl:
+PREFIX skos:
+INSERT {
+ GRAPH {
+ ?record aocat:has_derived_subject ?aat .
+ }
+}
+USING
+USING
+WHERE {
+ {
+ ?record aocat:has_native_subject ?native_subject .
+ ?concept owl:sameAs ?native_subject .
+ ?concept skos:exactMatch ?aat .
+ }
+ union
+ {
+ ?record aocat:has_native_subject ?native_subject .
+ ?concept owl:sameAs ?native_subject .
+ ?concept skos:broadMatch ?aat .
+ }
+ union
+ {
+ ?record aocat:has_native_subject ?native_subject .
+ ?concept owl:sameAs ?native_subject .
+ ?concept skos:closeMatch ?aat .
+ }
+ union
+ {
+ ?record aocat:has_native_subject ?native_subject .
+ ?concept owl:sameAs ?native_subject .
+ ?concept skos:narrowMatch ?aat .
+ }
+};
+
+ PREFIX skos:
+ PREFIX aocat:
+ PREFIX time:
+ INSERT {
+ GRAPH {
+ ?temporal aocat:has_period ?periodO .
+ ?temporal aocat:from ?temporalFrom .
+ ?temporal aocat:until ?temporalUntil .
+ }
+ }
+ WHERE {
+ GRAPH {
+ ?temporal aocat:has_native_period ?native_period .
+ ?native_period skos:prefLabel ?native_label .
+ optional {
+ GRAPH {
+ ?periodO skos:altLabel ?native_label .
+ ?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
+ ?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
+ }
+ }
+ }
+ };