From 6c6cfcf6486bc534d6d178f1728e4badfd4dcea4 Mon Sep 17 00:00:00 2001 From: Enrico Ottonello Date: Tue, 10 Aug 2021 16:34:49 +0200 Subject: [PATCH] added inheritance from a few collection fields --- .../NARA/ordered_sparql_insert_nara.sparql | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/NARA/ordered_sparql_insert_nara.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/NARA/ordered_sparql_insert_nara.sparql index ebc6af7..0279884 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/NARA/ordered_sparql_insert_nara.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/enrich/NARA/ordered_sparql_insert_nara.sparql @@ -36,6 +36,28 @@ WHERE { } }; +PREFIX aocat: +PREFIX skos: +PREFIX ariadneplus: + +INSERT { + GRAPH { + ?record aocat:has_publisher ?publisher . + ?record aocat:has_access_rights ?accessRights . + ?record aocat:has_access_policy ?access_policy . + ?record aocat:has_ARIADNE_subject ?archeologicalResourceType . + } +} +USING +WHERE { + ?record aocat:is_part_of ?collection . + ?collection aocat:has_publisher ?publisher . + ?collection aocat:has_access_rights ?accessRights . + ?collection aocat:has_access_policy ?access_policy . + ?collection aocat:has_ARIADNE_subject ?archeologicalResourceType . +}; + + PREFIX aocat: PREFIX rdf: INSERT {