From 1fd9337b8e65d58eea62f3ed4e3f77005da13092 Mon Sep 17 00:00:00 2001 From: bkoschicek Date: Mon, 9 Oct 2023 13:46:13 +0200 Subject: [PATCH] added RDF creation with LOUD --- openatlas/api/resources/resolve_endpoints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openatlas/api/resources/resolve_endpoints.py b/openatlas/api/resources/resolve_endpoints.py index a853cc2c6..56e8169bd 100644 --- a/openatlas/api/resources/resolve_endpoints.py +++ b/openatlas/api/resources/resolve_endpoints.py @@ -185,7 +185,8 @@ def get_entities_formatted( entities_dict[link_.domain.id]['links'].append(link_) for link_ in link_parser_check_inverse(entities, parser): entities_dict[link_.range.id]['links_inverse'].append(link_) - if parser['format'] == 'loud': + if parser['format'] == 'loud' \ + or parser['format'] in app.config['RDF_FORMATS']: return [get_loud_entities(item, parse_loud_context()) for item in entities_dict.values()] return [get_linked_places_entity(item, parser)