VladimirAlexiev opened a new issue, #2851: URL: https://github.com/apache/jena/issues/2851
### Version 5.2.0 ### What happened? Look at a complex shape https://github.com/Sveino/Inst4CIM-KG/blob/develop/source/CGMES/v3.0/SHACL/ttl/61970-302_Dynamics-AP-Con-Complex-SHACL_v3-0-0.ttl (CIM/CGMES is electrical data). Search for "GovGAST3" and you find a node that refers to multiple properties: ```ttl dyu:GovGAST3 a sh:NodeShape ; sh:property dyu:GovGAST3.ty-valueRange , dyu:GovGAST3.ttc-valueRange , dyu:GovGAST3.tsi-valueRange , dyu:GovGAST3.tg-valueRange , dyu:GovGAST3.td-valueRange , dyu:GovGAST3.tc-valueRange , dyu:GovGAST3.tac-valueRange ; sh:targetClass cim:GovGAST3 . dyu:GovGAST3.ttc-valueRange a sh:PropertyShape ; sh:description "Time constant of thermocouple (Ttc) (>= 0). Typical value = 2,5." ; sh:group dyu:ValueConstraintsGroup ; sh:message "The value is negative." ; sh:minInclusive "0.0"^^xsd:float ; sh:name "C:302:DY:GovGAST3.ttc:valueRange" ; sh:order 748 ; sh:path cim:GovGAST3.ttc ; sh:severity sh:Violation . ... ``` When converted to SHACLC, all these props are mixed together: ``` shacl.bat p -out=c 61970-302_Dynamics-AP-Con-Complex-SHACL_v3-0-0.ttl shape dyu:GovGAST3 -> cim:GovGAST3 { message="The value is negative." . cim:GovGAST3.tac minInclusive="0.0"^^xsd:float . message="The value is negative." . cim:GovGAST3.tc minInclusive="0.0"^^xsd:float . message="The value is negative." . cim:GovGAST3.td minInclusive="0.0"^^xsd:float . message="The value is negative." . cim:GovGAST3.tg minInclusive="0.0"^^xsd:float . message="The value is negative." . cim:GovGAST3.tsi minInclusive="0.0"^^xsd:float . message="The value is negative." . cim:GovGAST3.ttc minInclusive="0.0"^^xsd:float . message="The value is negative." . cim:GovGAST3.ty minInclusive="0.0"^^xsd:float . } ``` If the messages were different, it would lead to mixup of which message is for which constraint. ### Relevant output and stacktrace _No response_ ### Are you interested in making a pull request? None -- 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]
