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 .