From 5e4b1a87b94961fd7d1b0e8d67df1d4151e4f09d Mon Sep 17 00:00:00 2001 From: Enrico Ottonello Date: Tue, 7 Sep 2021 12:39:43 +0200 Subject: [PATCH] fix periodo name for native period --- .../ariadneplus/sparql/read_record_data_template.sparql | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/read_record_data_template.sparql b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/read_record_data_template.sparql index 0411ea4..10b71d0 100644 --- a/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/read_record_data_template.sparql +++ b/dnet-ariadneplus-graphdb-publisher/src/main/resources/eu/dnetlib/ariadneplus/sparql/read_record_data_template.sparql @@ -93,11 +93,9 @@ where { optional { graph { - %record aocat:has_temporal_coverage ?temporalNative . - ?temporalNative aocat:has_native_period ?nativeLabel . - ?nativeLabel skos:prefLabel ?temporalNativePeriodName . - } - graph { + %record aocat:has_temporal_coverage ?temporalNative . + ?temporalNative aocat:has_native_period ?nativeLabel . + ?nativeLabel skos:prefLabel | rdfs:label ?temporalNativePeriodName . optional { ?temporalNative aocat:from ?temporalNativeFrom . ?temporalNative aocat:until ?temporalNativeUntil .