diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FindSampo/ordered_sparql_insert_FindSampo.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FindSampo/ordered_sparql_insert_FindSampo.sparql
index bc4cca1..6e7443e 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FindSampo/ordered_sparql_insert_FindSampo.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FindSampo/ordered_sparql_insert_FindSampo.sparql
@@ -142,4 +142,36 @@ WHERE {
}
};
+PREFIX aocat:
+INSERT {
+ GRAPH {
+ ?temporal aocat:has_period ?period .
+ ?temporal aocat:from ?temporalFrom .
+ ?temporal aocat:until ?temporalUntil .
+ }
+}
+WHERE {
+ GRAPH {
+ ?temporal aocat:has_native_period ?period .
+ ?temporal aocat:from ?temporalFrom .
+ ?temporal aocat:until ?temporalUntil .
+ }
+};
+
+PREFIX aocat:
+PREFIX skos:
+INSERT {
+ GRAPH {
+ ?period skos:prefLabel ?label .
+ }
+}
+WHERE {
+ GRAPH {
+ ?temporal aocat:has_native_period ?period .
+ ?period skos:prefLabel ?label .
+ }
+};
+
+
+
diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/THANADOS/ordered_sparql_insert_THANADOS.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/THANADOS/ordered_sparql_insert_THANADOS.sparql
index 747bcf7..56d46d8 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/THANADOS/ordered_sparql_insert_THANADOS.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/THANADOS/ordered_sparql_insert_THANADOS.sparql
@@ -1,3 +1,36 @@
+DELETE {
+ GRAPH {
+ ?p ?o .
+ ?s ?x .
+ }
+}
+WHERE {
+ GRAPH {
+ ?p ?o .
+ ?s ?x .
+ }
+};
+
+PREFIX aocat:
+PREFIX rdf:
+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:
@@ -20,22 +53,19 @@ WHERE {
PREFIX aocat:
PREFIX rdf:
-PREFIX skos:
INSERT {
GRAPH {
- ?s aocat:has_type .
- rdf:type .
- skos:prefLabel "collection"
+ ?s aocat:has_title "Title not provided" .
+ }
+}
+WHERE {
+ GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ MINUS {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:has_title ?title .
}
}
- WHERE {
- GRAPH {
- ?s rdf:type .
- MINUS {
- ?s rdf:type .
- ?s aocat:has_type ?t .
- }
- }
};
PREFIX aocat:
@@ -79,6 +109,8 @@ INSERT {
}
};
+
+
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
@@ -99,28 +131,6 @@ INSERT {
};
-PREFIX aocat:
-PREFIX rdf:
-PREFIX rdfs:
-INSERT {
- GRAPH {
- ?s aocat:has_spatial_coverage .
- rdf:type .
- rdfs:label "Place not provided" .
- aocat:has_place_name "Place not provided" .
- }
-}
-WHERE {
- GRAPH {
- ?s rdf:type aocat:AO_Individual_Data_Resource .
- MINUS {
- ?s rdf:type aocat:AO_Individual_Data_Resource .
- ?s aocat:has_spatial_coverage ?spatialRegion .
- ?spatialRegion aocat:has_place_name ?placeName .
- }
- }
-};
-
PREFIX aocat:
PREFIX rdf:
PREFIX rdfs:
@@ -142,6 +152,7 @@ INSERT {
}
};
+
PREFIX aocat:
PREFIX rdf:
INSERT {
@@ -348,46 +359,15 @@ PREFIX dcterms:
PREFIX ariadneplus:
INSERT {
GRAPH {
+ ?temporal aocat:has_period ?periodO_URI .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
-USING
+USING
USING
WHERE {
?temporal aocat:has_period ?periodO_URI .
?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
};
-
-PREFIX skos:
-PREFIX aocat:
-PREFIX time:
-PREFIX dcterms:
-PREFIX ariadneplus:
-INSERT {
- GRAPH {
- ?temporal aocat:from ?temporalFrom .
- ?temporal aocat:until ?temporalUntil .
- }
-}
-USING
-USING
-WHERE {
- ?temporal aocat:has_native_period ?np .
- ?np skos:prefLabel ?y .
- ?periodO_URI skos:prefLabel ?l .
- ?periodO_URI time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom .
- ?periodO_URI time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil .
-};
-
-
-
-
-
-
-
-
-
-
-