From aa823e825ac0fab902943d345f50eb2edd8a477c Mon Sep 17 00:00:00 2001 From: Balduin Landolt <33053745+BalduinLandolt@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:44:10 +0200 Subject: [PATCH] fix template --- .../twirl/queries/sparql/v2/createNewResource.scala.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapi/src/main/twirl/org/knora/webapi/messages/twirl/queries/sparql/v2/createNewResource.scala.txt b/webapi/src/main/twirl/org/knora/webapi/messages/twirl/queries/sparql/v2/createNewResource.scala.txt index 7fae590ce2..f6051fedc0 100644 --- a/webapi/src/main/twirl/org/knora/webapi/messages/twirl/queries/sparql/v2/createNewResource.scala.txt +++ b/webapi/src/main/twirl/org/knora/webapi/messages/twirl/queries/sparql/v2/createNewResource.scala.txt @@ -62,13 +62,13 @@ INSERT DATA { } case textValue: UnformattedTextValueInfo => { - textValue.valueHasLanguage.foreach { language => + @textValue.valueHasLanguage.foreach { language => <@newValueInfo.valueIri> knora-base:valueHasLanguage """@language""" . } } case textValue: FormattedTextValueInfo => { - textValue.valueHasLanguage.foreach { language => + @textValue.valueHasLanguage.foreach { language => <@newValueInfo.valueIri> knora-base:valueHasLanguage """@language""" . } <@newValueInfo.valueIri> knora-base:valueHasMapping <@textValue.mappingIri> .