From de6bf8a4c4025c8d5e7ee341813c340ac0854d23 Mon Sep 17 00:00:00 2001 From: Alessia Bardi Date: Mon, 21 Nov 2022 17:10:05 +0100 Subject: [PATCH] spatial_coverage and aocat:has_place_name are not mandatory --- .../ariadneplus/sparql/read_record_data_template.sparql | 6 ++++-- 1 file changed, 4 insertions(+), 2 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 920a692..1b8e71c 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 @@ -241,8 +241,10 @@ where { { select * where { - %record aocat:has_spatial_coverage ?spatialRegion . - ?spatialRegion aocat:has_place_name ?spatialPlaceName . + optional { + %record aocat:has_spatial_coverage ?spatialRegion . + ?spatialRegion aocat:has_place_name ?spatialPlaceName . + } optional { %record aocat:has_spatial_coverage ?spatialRegionPoint . ?spatialRegionPoint aocat:has_latitude ?spatialLocationLat ;