diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INP/ordered_sparql_insert_INP.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INP/ordered_sparql_insert_INP.sparql deleted file mode 100644 index 1d29a52..0000000 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/INP/ordered_sparql_insert_INP.sparql +++ /dev/null @@ -1,381 +0,0 @@ -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: - -INSERT { - GRAPH { - ?s aocat:has_ARIADNE_subject . - skos:prefLabel "Not provided" . - } -} -WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_ARIADNE_subject ?ariadneSubject . - } - } -}; - -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -INSERT { - GRAPH { - ?s aocat:has_temporal_coverage . - rdf:type . - rdfs:label "Not provided" . - - } -} -WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_temporal_coverage ?tc . - } - } -}; - -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -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 skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -INSERT { - GRAPH { - ?s aocat:has_publisher . - rdf:type . - rdfs:label "Not provided" . - aocat:has_name "Not provided" . - } -} -WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_publisher ?agent . - } - } -}; - -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -INSERT { - GRAPH { - ?s aocat:has_owner . - rdf:type . - rdfs:label "Not provided" . - aocat:has_name "Not provided" . - } -} -WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_owner ?agent . - } - } -}; - -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -INSERT { - GRAPH { - ?s aocat:has_responsible . - rdf:type . - rdfs:label "Not provided" . - aocat:has_name "Not provided" . - } -} -WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_responsible ?agent . - } - } -}; - -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -INSERT { - GRAPH { - ?s aocat:has_contributor . - rdf:type . - rdfs:label "Not provided" . - aocat:has_name "Not provided" . - } -} -WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_contributor ?agent . - } - } -}; - -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -INSERT { - GRAPH { - ?s aocat:has_creator . - rdf:type . - rdfs:label "Not provided" . - aocat:has_name "Not provided" . - } - } - WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_creator ?agent . - } - } -}; - - -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -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 skos: -PREFIX rdf: -PREFIX rdfs: -INSERT { - GRAPH { - ?s aocat:was_issued "2022-01-01"^^xsd:dateTime . - ?s aocat:was_modified "2022-01-01"^^xsd:dateTime . - } -} -USING -WHERE { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:was_issued ?issued . - ?s aocat:was_modified ?modified . - } -}; - -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -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 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:has_original_id "INP_TEST" . - } -} -WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_original_id ?tc . - } - } -}; - -PREFIX aocat: -PREFIX rdf: -INSERT { - GRAPH { - ?s aocat:has_title "Title not provided" . - } -} -WHERE { - GRAPH { - ?s rdf:type . - MINUS { - ?s rdf:type . - ?s aocat:has_title ?title . - } - } -}; - -PREFIX aocat: -PREFIX skos: -INSERT { - GRAPH { - ?record aocat:was_issued ?issued . - ?record aocat:was_modified ?modified . - ?record aocat:has_contributor ?contributor . - ?contributor aocat:has_name ?contrib . - ?record aocat:has_responsible ?legalResponsible . - ?legalResponsible aocat:has_name ?resp . - ?record aocat:has_owner ?owner . - ?owner aocat:has_name ?own . - ?record aocat:has_publisher ?publisher . - ?publisher aocat:has_name ?pub . - ?record aocat:has_access_rights ?accessRights . - ?record aocat:has_language ?lang . - ?lang skos:prefLabel ?langL - } -} -USING -WHERE { - ?record aocat:is_part_of ?collection . - ?collection aocat:was_issued ?issued . - ?collection aocat:was_modified ?modified . - ?collection aocat:has_contributor ?contributor . - ?contributor aocat:has_name ?contrib . - ?collection aocat:has_responsible ?legalResponsible . - ?legalResponsible aocat:has_name ?resp . - ?collection aocat:has_owner ?owner . - ?owner aocat:has_name ?own . - ?collection aocat:has_publisher ?publisher . - ?publisher aocat:has_name ?pub . - ?collection aocat:has_access_rights ?accessRights . - ?collection aocat:has_language ?lang . - ?lang skos:prefLabel ?langL -}; - -PREFIX aocat: -PREFIX skos: -PREFIX rdf: -INSERT { - GRAPH { - ?s aocat:has_original_id "Original Id not provided" . - } -} -WHERE { - GRAPH { - ?s rdf:type aocat:AO_Individual_Data_Resource . - MINUS { - ?s rdf:type aocat:AO_Individual_Data_Resource . - ?s aocat:has_original_id ?id . - } - } -}; - -PREFIX skos: -PREFIX aocat: -PREFIX rdf: -PREFIX rdfs: -INSERT { - GRAPH { - ?s aocat:has_creator . - 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_creator ?agent . - } - } -}; - -PREFIX aocat: -PREFIX rdf: -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 . - } - } -}; \ No newline at end of file