diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FindSampo/ordered_sparql_insert_FindSampo.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FindSampo/ordered_sparql_insert_FindSampo.sparql new file mode 100644 index 0000000..a74eed5 --- /dev/null +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu.dnetlib.ariadneplus.sparql.enrich.FindSampo/ordered_sparql_insert_FindSampo.sparql @@ -0,0 +1,31 @@ +PREFIX aocat: +PREFIX skos: +INSERT { + GRAPH { + ?record aocat:has_derived_subject ?aat_subject . + } + } +USING +WHERE { + ?record aocat:has_derived_subject ?aat_subject . +}; + + +PREFIX aocat: +PREFIX skos: +PREFIX skosxl: +PREFIX gvp: +INSERT { + GRAPH { + ?aat_subject skos:prefLabel ?label . + } + } +USING +USING +WHERE { + ?record aocat:has_derived_subject ?aat_subject . + ?aat_subject rdf:type gvp:Concept . + ?aat_subject gvp:prefLabelGVP ?lab . + ?lab gvp:term ?label . +}; +