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 eea855e..f58e44d 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
@@ -34,28 +34,6 @@ WHERE {
}
};
-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 skos:
PREFIX aocat:
PREFIX rdf:
@@ -81,111 +59,45 @@ PREFIX aocat:
PREFIX rdf:
INSERT {
GRAPH {
- ?s aocat:has_creator .
- aocat:has_name "Not provided" .
+ ?s ?rel ?agent .
+ ?agent ?p ?o .
}
}
+USING
+USING
WHERE {
- GRAPH {
?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:is_part_of ?coll .
+ ?coll ?rel ?agent .
+ ?agent rdf:type aocat:AO_Agent .
+ ?agent ?p ?o .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
- ?s aocat:has_creator ?creator .
+ ?s ?rel ?relAgent .
}
- }
-};
-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" .
+ ?s aocat:has_language ?lang .
+ ?lang skos:prefLabel ?label .
}
}
+USING
+USING
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 .
+ ?s aocat:is_part_of ?coll .
+ ?coll aocat:has_language ?lang .
+ ?lang skos:prefLabel ?label .
MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
?s aocat:has_language ?ns .
}
- }
};
PREFIX aocat:
@@ -229,19 +141,48 @@ PREFIX rdf:
PREFIX rdfs:
INSERT {
GRAPH {
- ?s aocat:has_access_rights "Not provided"
+ ?s aocat:has_access_rights ?ar .
}
}
- WHERE {
+WHERE {
GRAPH {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:is_part_of ?c .
+ MINUS {
+ ?s aocat:has_access_rights ?x
+ }
+ }
+ GRAPH {
+ ?c aocat:has_access_rights ?ar.
+ }
+
+};
+
+PREFIX aocat:
+PREFIX skos:
+PREFIX rdf:
+PREFIX rdfs:
+INSERT {
+ GRAPH {
+ ?s aocat:has_access_policy ?ap .
+ ?ap ?p ?o .
+ }
+ }
+USING
+USING
+WHERE {
+ ?s rdf:type aocat:AO_Individual_Data_Resource .
+ ?s aocat:is_part_of ?coll .
+ ?coll aocat:has_access_policy ?ap .
+ ?ap ?p ?o .
+ MINUS {
?s rdf:type aocat:AO_Individual_Data_Resource .
- MINUS{
- ?s rdf:type aocat:AO_Individual_Data_Resource .
- ?s aocat:has_access_rights ?smt .
- }
+ ?s aocat:has_access_policy ?thePolicy .
}
};
+
+
PREFIX ariadneplus:
PREFIX aocat:
PREFIX owl: