kinow commented on code in PR #2422:
URL: https://github.com/apache/jena/pull/2422#discussion_r1572720276


##########
jena-shacl/src/main/java/org/apache/jena/shacl/validation/VR.java:
##########
@@ -107,38 +107,38 @@ private static void prefixes(PrefixMapping pmap) {
 
 
     private static String qs = StrUtils.strjoinNL
-        (PREFIXES
-            ,"CONSTRUCT {"
-            , "    ?X a sh:ValidationReport ;"
-            , "        sh:conforms ?conforms ;"
-            , "        sh:result ?R"
-            , "    ."
-            , "    ?R"
-            , "       sh:focusNode ?focusNode ;"
-            , "       sh:resultMessage ?message ;"
-            , "       sh:resultSeverity  ?severity ; "
-            , "       sh:sourceConstraint ?constraint ;"
-            , "       sh:sourceConstraintComponent ?component ;"
-            , "       sh:sourceShape ?sourceShape ;"
-            , "       sh:resultPath  ?path ;"
-            , "       sh:value ?value ;"
-            , "."
-            ,"}"
-            ," WHERE {"
-            , "    ?X a sh:ValidationReport ;"
-            , "       sh:result ?R"
-            , "    OPTIONAL { ?X sh:conforms ?conforms }"
-            , "    ?R"
-            , "       sh:focusNode ?focusNode ;"
-            , "       sh:resultSeverity  ?severity ; "
-            , "       ."
-            , "    OPTIONAL { ?R sh:resultMessage ?message }"
-            , "    OPTIONAL { ?R sh:sourceConstraintComponent ?component }"
-            , "    OPTIONAL { ?R sh:sourceConstraint ?constraint }"
-            , "    OPTIONAL { ?R sh:sourceShape ?sourceShape }"
-            , "    OPTIONAL { ?R sh:resultPath  ?path }"
-            , "    OPTIONAL { ?R sh:value ?value }"
-            ,"}");
+        (PREFIXES,
+         """

Review Comment:
   I feel like I'm still using Java 8 as I never remember I can use multiline 
strings like this. :+1: 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to