diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia.sparql
index 3226e0f..d510dda 100644
--- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia.sparql
+++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INRAP/ordered_sparql_insert_dolia.sparql
@@ -1,91 +1,20 @@
PREFIX aocat:
+PREFIX skos:
PREFIX rdf:
PREFIX rdfs:
INSERT {
GRAPH {
- ?s aocat:has_temporal_coverage .
- rdf:type .
- rdfs:label "Not provided" .
-
+ ?s aocat:was_issued "1987"^^xsd:dateTime .
+ ?s aocat:was_modified "1987"^^xsd:dateTime .
}
}
+USING
WHERE {
- GRAPH {
+ ?s rdf:type .
+ MINUS {
?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 .
- }
+ ?s aocat:was_issued ?issued .
+ ?s aocat:was_modified ?modified .
}
};
@@ -112,98 +41,126 @@ WHERE {
PREFIX aocat:
PREFIX skos:
-PREFIX rdf:
+PREFIX rdf:
+PREFIX rdfs:
INSERT {
GRAPH {
- ?s aocat:has_language .
- skos:prefLabel "und" .
- }
-}
-WHERE {
- GRAPH {
- ?s rdf:type .
- MINUS {
- ?s rdf:type .
- ?s aocat:has_language ?ns .
+ ?s aocat:has_contributor .
+ rdf:type .
+ rdfs:label "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_contributor ?contributor .
+ }
+ }
};
PREFIX aocat:
PREFIX rdf:
INSERT {
GRAPH {
- ?s aocat:was_modified "Not provided" .
+ ?s aocat:was_modified ?issued .
}
}
WHERE {
GRAPH {
- ?s rdf:type .
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:was_issued ?issued .
MINUS {
- ?s rdf:type .
- ?s aocat:was_modified ?d .
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:was_modified ?modified .
}
}
};
-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 .
- }
- }
-};
PREFIX aocat:
PREFIX skos:
INSERT {
GRAPH {
?record aocat:has_access_rights ?accessRights .
+ ?record aocat:has_access_policy ?accessPolicy .
?record aocat:has_ARIADNE_subject ?archeologicalResourceType .
- ?record aocat:has_owner ?owner .
- ?record aocat:has_contributor ?contributor .
- ?record aocat:was_modified ?modified .
}
}
USING
USING
WHERE {
?record aocat:is_part_of ?collection .
- ?collection aocat:was_modified ?modified .
- ?collection aocat:has_contributor ?contributor .
- ?contributor aocat:has_name ?contrib .
- ?collection aocat:has_owner ?owner .
- ?owner aocat:has_name ?own .
?collection aocat:has_access_rights ?accessRights .
+ ?collection aocat:has_access_policy ?accessPolicy .
?collection aocat:has_ARIADNE_subject ?archeologicalResourceType .
?archeologicalResourceType skos:prefLabel ?alabel .
};
+PREFIX aocat:
+PREFIX skos:
+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 .
+ }
+}
+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 .
+ MINUS {
+ ?record aocat:has_responsible ?rec_value .
+ }
+};
+
+PREFIX aocat:
+PREFIX skos:
+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 ariadneplus:
+INSERT {
+ GRAPH {
+ ?record aocat:was_issued ?coll_issued_value .
+ ?record aocat:was_modified ?coll_modified_value .
+ }
+}
+USING
+WHERE {
+ ?record aocat:is_part_of ?collection .
+ ?collection aocat:was_issued ?coll_issued_value .
+ ?collection aocat:was_modified ?coll_modified_value .
+ MINUS {
+ ?record aocat:was_issued ?rec_value .
+ ?record aocat:was_modified ?rec_value2 .
+ }
+};
+
PREFIX aocat:
PREFIX skos:
PREFIX rdf:
@@ -224,8 +181,6 @@ WHERE {
}
};
-
-
PREFIX aocat:
PREFIX skos:
PREFIX rdf: