{"error":"db/shacl-validation","cause":"SHACL PropertyShape exception - sh:class: class(es) #{211106232533039} must be same set as #{211106232533465}."}
Of note: if you change the shacl constraint in Charge Class from
"shacl:class": {
"@id": "Offering"
},
to
"shacl:class": {
"@id": "ServiceOffering"
},
the error goes away so it seems It's not observing inheritance.
repro
create a class "Offering"
create a child class "ServiceOffering" that is rdfs:subClassOf Offering
create a "Charge" class
Create a ServiceOffering
Create a Charge referencing the ServiceOffering
expected
it works with no errors
actual
{"error":"db/shacl-validation","cause":"SHACL PropertyShape exception - sh:class: class(es) #{211106232533039} must be same set as #{211106232533465}."}
Of note: if you change the shacl constraint in
Charge
Class fromto
the error goes away so it seems It's not observing inheritance.