diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/05_insert_periodo_enrichment_template.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/05_insert_periodo_enrichment_template.sparql
index 42b9d9e..ba72424 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/05_insert_periodo_enrichment_template.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/05_insert_periodo_enrichment_template.sparql
@@ -1,26 +1,27 @@
-PREFIX aocat:
-PREFIX skos:
-PREFIX time:
-PREFIX ariadneplus:
-PREFIX rdf:
-
#PERIODO ENRICHMENT
-INSERT {
- GRAPH ::periodoplus> {
- ?temporal aocat:has_period ?periodO .
- ?temporal aocat:from ?temporalFrom .
- ?temporal aocat:until ?temporalUntil .
- }
-}
-WHERE {
- ?temporal aocat:has_native_period ?native_period .
- ?native_period skos:prefLabel ?native_label .
- optional {
- ?periodO skos:altLabel ?native_label .
- ?periodO skos:inScheme .
- ?periodO time:intervalStartedBy ?intervalStartedBy .
- ?intervalStartedBy skos:prefLabel ?temporalFrom .
- ?periodO time:intervalFinishedBy ?intervalFinishedBy .
- ?intervalFinishedBy skos:prefLabel ?temporalUntil .
- }
-};
\ No newline at end of file
+ PREFIX skos:
+ PREFIX aocat:
+ PREFIX time:
+ INSERT {
+ GRAPH ::periodoplus> {
+ ?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> {
+ ?periodO skos:altLabel ?native_label .
+ ?periodO skos:inScheme .
+ ?periodO time:intervalStartedBy ?intervalStartedBy .
+ ?intervalStartedBy skos:prefLabel ?temporalFrom .
+ ?periodO time:intervalFinishedBy ?intervalFinishedBy .
+ ?intervalFinishedBy skos:prefLabel ?temporalUntil .
+ }
+ }
+ }
+ };
\ No newline at end of file
diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_1957.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_1957.sparql
index f1e746c..5b2e1ca 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_1957.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_1957.sparql
@@ -163,7 +163,7 @@ PREFIX rdfs:
PREFIX skos:
PREFIX aocat:
INSERT {
- GRAPH {
+ GRAPH {
?record aocat:has_derived_subject ?aat .
}
}
@@ -194,22 +194,27 @@ PREFIX rdfs:
PREFIX skos:
PREFIX aocat:
PREFIX time:
- INSERT {
- GRAPH {
+ PREFIX ariadneplus:
+INSERT {
+ GRAPH {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
- ?temporal aocat:has_native_period ?native_period .
- ?native_period skos:prefLabel ?native_label .
- optional {
- ?periodO skos:altLabel ?native_label .
- ?periodO skos:inScheme .
- ?periodO time:intervalStartedBy ?intervalStartedBy .
- ?intervalStartedBy skos:prefLabel ?temporalFrom .
- ?periodO time:intervalFinishedBy ?intervalFinishedBy .
- ?intervalFinishedBy skos:prefLabel ?temporalUntil .
- }
+ GRAPH {
+ ?temporal aocat:has_native_period ?native_period .
+ ?native_period skos:prefLabel ?native_label .
+ optional {
+ GRAPH {
+ ?periodO skos:altLabel ?native_label .
+ ?periodO skos:inScheme .
+ ?periodO time:intervalStartedBy ?intervalStartedBy .
+ ?intervalStartedBy skos:prefLabel ?temporalFrom .
+ ?periodO time:intervalFinishedBy ?intervalFinishedBy .
+ ?intervalFinishedBy skos:prefLabel ?temporalUntil .
+ }
+ }
+ }
};
\ No newline at end of file
diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_270.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_270.sparql
index ead5e5c..d0057a7 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_270.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_270.sparql
@@ -163,7 +163,7 @@ PREFIX rdfs:
PREFIX skos:
PREFIX aocat:
INSERT {
- GRAPH {
+ GRAPH {
?record aocat:has_derived_subject ?aat .
}
}
@@ -194,22 +194,28 @@ PREFIX rdfs:
PREFIX skos:
PREFIX aocat:
PREFIX time:
- INSERT {
- GRAPH {
+ PREFIX ariadneplus:
+INSERT {
+ GRAPH {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
- ?temporal aocat:has_native_period ?native_period .
- ?native_period skos:prefLabel ?native_label .
- optional {
- ?periodO skos:altLabel ?native_label .
- ?periodO skos:inScheme .
- ?periodO time:intervalStartedBy ?intervalStartedBy .
- ?intervalStartedBy skos:prefLabel ?temporalFrom .
- ?periodO time:intervalFinishedBy ?intervalFinishedBy .
- ?intervalFinishedBy skos:prefLabel ?temporalUntil .
- }
- };
\ No newline at end of file
+ GRAPH {
+ ?temporal aocat:has_native_period ?native_period .
+ ?native_period skos:prefLabel ?native_label .
+ optional {
+ GRAPH {
+ ?periodO skos:altLabel ?native_label .
+ ?periodO skos:inScheme .
+ ?periodO time:intervalStartedBy ?intervalStartedBy .
+ ?intervalStartedBy skos:prefLabel ?temporalFrom .
+ ?periodO time:intervalFinishedBy ?intervalFinishedBy .
+ ?intervalFinishedBy skos:prefLabel ?temporalUntil .
+ }
+ }
+ }
+ };
+
diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_273.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_273.sparql
index eca2a4c..d50e343 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_273.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_273.sparql
@@ -163,7 +163,7 @@ PREFIX rdfs:
PREFIX skos:
PREFIX aocat:
INSERT {
- GRAPH {
+ GRAPH {
?record aocat:has_derived_subject ?aat .
}
}
@@ -194,22 +194,27 @@ PREFIX rdfs:
PREFIX skos:
PREFIX aocat:
PREFIX time:
- INSERT {
- GRAPH {
+ PREFIX ariadneplus:
+INSERT {
+ GRAPH {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
- ?temporal aocat:has_native_period ?native_period .
- ?native_period skos:prefLabel ?native_label .
- optional {
- ?periodO skos:altLabel ?native_label .
- ?periodO skos:inScheme .
- ?periodO time:intervalStartedBy ?intervalStartedBy .
- ?intervalStartedBy skos:prefLabel ?temporalFrom .
- ?periodO time:intervalFinishedBy ?intervalFinishedBy .
- ?intervalFinishedBy skos:prefLabel ?temporalUntil .
- }
+ GRAPH {
+ ?temporal aocat:has_native_period ?native_period .
+ ?native_period skos:prefLabel ?native_label .
+ optional {
+ GRAPH {
+ ?periodO skos:altLabel ?native_label .
+ ?periodO skos:inScheme .
+ ?periodO time:intervalStartedBy ?intervalStartedBy .
+ ?intervalStartedBy skos:prefLabel ?temporalFrom .
+ ?periodO time:intervalFinishedBy ?intervalFinishedBy .
+ ?intervalFinishedBy skos:prefLabel ?temporalUntil .
+ }
+ }
+ }
};
\ No newline at end of file
diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_836.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_836.sparql
index b921d42..ed13367 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_836.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/ADS/ordered_sparql_insert_836.sparql
@@ -163,7 +163,7 @@ PREFIX rdfs:
PREFIX skos:
PREFIX aocat:
INSERT {
- GRAPH {
+ GRAPH {
?record aocat:has_derived_subject ?aat .
}
}
@@ -194,22 +194,28 @@ PREFIX rdfs:
PREFIX skos:
PREFIX aocat:
PREFIX time:
- INSERT {
- GRAPH {
+ PREFIX ariadneplus:
+INSERT {
+ GRAPH {
?temporal aocat:has_period ?periodO .
?temporal aocat:from ?temporalFrom .
?temporal aocat:until ?temporalUntil .
}
}
WHERE {
- ?temporal aocat:has_native_period ?native_period .
- ?native_period skos:prefLabel ?native_label .
- optional {
- ?periodO skos:altLabel ?native_label .
- ?periodO skos:inScheme .
- ?periodO time:intervalStartedBy ?intervalStartedBy .
- ?intervalStartedBy skos:prefLabel ?temporalFrom .
- ?periodO time:intervalFinishedBy ?intervalFinishedBy .
- ?intervalFinishedBy skos:prefLabel ?temporalUntil .
- }
- };
\ No newline at end of file
+ GRAPH {
+ ?temporal aocat:has_native_period ?native_period .
+ ?native_period skos:prefLabel ?native_label .
+ optional {
+ GRAPH {
+ ?periodO skos:altLabel ?native_label .
+ ?periodO skos:inScheme .
+ ?periodO time:intervalStartedBy ?intervalStartedBy .
+ ?intervalStartedBy skos:prefLabel ?temporalFrom .
+ ?periodO time:intervalFinishedBy ?intervalFinishedBy .
+ ?intervalFinishedBy skos:prefLabel ?temporalUntil .
+ }
+ }
+ }
+ };
+