diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CONICET/ordered_sparql_insert_alemandri.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CONICET/ordered_sparql_insert_alemandri.sparql new file mode 100644 index 0000000..5772e57 --- /dev/null +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/CONICET/ordered_sparql_insert_alemandri.sparql @@ -0,0 +1,132 @@ +PREFIX aocat: +PREFIX rdf: +PREFIX rdfs: +PREFIX skos: +INSERT { + GRAPH { + ?s aocat:has_type . + rdf: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 ?t . + } + } +}; + +PREFIX aocat: +PREFIX skos: +PREFIX rdf: +PREFIX rdfs: +INSERT { + GRAPH { + ?s aocat:was_issued ?created_on . + ?s aocat:was_modified ?created_on . + } +} +USING +WHERE { + ?s rdf:type aocat:AO_Individual_Data_Resource . + ?s aocat:was_created_on ?created_on . + MINUS { + ?s rdf:type aocat:AO_Individual_Data_Resource . + ?s aocat:was_issued ?issued . + ?s aocat:was_modified ?modified . + } +}; + +PREFIX aocat: +PREFIX skos: +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 aocat:AO_Individual_Data_Resource . + MINUS { + ?s rdf:type aocat:AO_Individual_Data_Resource . + ?s aocat:has_contributor ?contributor . + } + } +}; + +PREFIX aocat: +PREFIX skos: + +INSERT { + GRAPH { + ?record aocat:has_derived_subject ?derived_subject . + } +} +USING +WHERE { + { + ?record aocat:has_derived_subject ?derived_subject . + } +}; + +PREFIX aocat: +PREFIX skos: + +INSERT { + GRAPH { + ?derived_subject skos:prefLabel ?dslabel . + } +} +USING +WHERE { + { + ?record aocat:has_derived_subject ?derived_subject . + ?derived_subject skos:prefLabel ?dslabel . + } +}; + +PREFIX skos: + PREFIX aocat: + PREFIX time: + PREFIX rdfs: + INSERT { + GRAPH { + ?temporal aocat:has_period ?native_period . + ?temporal aocat:from ?from . + ?temporal aocat:until ?until . + } + } + WHERE { + GRAPH { + ?temporal aocat:has_native_period ?native_period . + ?native_period rdfs:label|skos:prefLabel ?native_label . + ?temporal aocat:from ?from . + ?temporal aocat:until ?until . + } + }; + + PREFIX skos: + PREFIX aocat: + PREFIX time: + PREFIX rdfs: + INSERT { + GRAPH { + ?native_period skos:prefLabel ?native_label . + } + } + WHERE { + GRAPH { + ?temporal aocat:has_native_period ?native_period . + ?native_period rdfs:label|skos:prefLabel ?native_label . + ?temporal aocat:from ?from . + ?temporal aocat:until ?until . + } + }; \ No newline at end of file