From d1bd25c1d73f37ee37fe8b7574662290ceab516f Mon Sep 17 00:00:00 2001 From: Alessia Bardi Date: Mon, 10 Oct 2022 17:05:14 +0200 Subject: [PATCH] enrich for Iceland FI Isleif --- .../ordered_sparql_insert_FI_Isleif.sparql | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FI/ordered_sparql_insert_FI_Isleif.sparql 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 new file mode 100644 index 0000000..ef6895c --- /dev/null +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FI/ordered_sparql_insert_FI_Isleif.sparql @@ -0,0 +1,82 @@ +PREFIX aocat: +PREFIX rdf: +PREFIX skos: + +# INSERT DEFAULTS FOR RECORDS + +INSERT { + GRAPH ::> { + ?s aocat:has_native_subject /NOT_PROVIDED> . + /NOT_PROVIDED> 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 . + } + } +}; +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 . + } + } +}; + +INSERT { + GRAPH ::> { + ?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 . + } + } +}; + +INSERT { + GRAPH ::> { + ?s aocat:has_type . + skos:prefLabel "provided record" . + } +} +WHERE { + GRAPH ::> { + ?s rdf:type aocat:AO_Individual_Data_Resource . + MINUS { + ?s rdf:type aocat:AO_Individual_Data_Resource . + ?s aocat:has_type . + } + } +}; \ No newline at end of file