Summary
The update script seems to updates only instances of the last member of the inheritance hierarchy.
Steps to reproduce
- Load CGMES 3.0 DiagramLayoutProfile
- Add a new mandatory attribute DiagramObject.test, cim:String, mutiplicity:1..1, no default, no isFixed
- Start migration from fresh upload of DiagramLayoutProfile to the latest modified DiagramLayoutProfile in the store
- Klick throug the assistant, which correctly aks for a default value
- Download the migration script
Expected behavior
- a SPARQL update script to update all concrete instances of DiagramObject from the inheritance hierarchy with the default value for DiagramObject.test, which in this case should be any instance of DiagramObject or TextDiagramObject
Actual behavior
The migration contains only one update for TextDiagramObject. Any DiagramObjects would not be updated using this script.
INSERT {
?instance http://iec.ch/TC57/CIM100#DiagramObject.test "default" .
}
WHERE
{ ?instance a http://iec.ch/TC57/CIM100#TextDiagramObject
FILTER NOT EXISTS { ?instance http://iec.ch/TC57/CIM100#DiagramObject.test ?any }
}
Impact
Blocks usage / critical
RDFArchitect version
1.1.0-12-gb6c2400c
Environment
any
Logs and screenshots
No response
Summary
The update script seems to updates only instances of the last member of the inheritance hierarchy.
Steps to reproduce
Expected behavior
Actual behavior
The migration contains only one update for TextDiagramObject. Any DiagramObjects would not be updated using this script.
INSERT {
?instance http://iec.ch/TC57/CIM100#DiagramObject.test "default" .
}
WHERE
{ ?instance a http://iec.ch/TC57/CIM100#TextDiagramObject
FILTER NOT EXISTS { ?instance http://iec.ch/TC57/CIM100#DiagramObject.test ?any }
}
Impact
Blocks usage / critical
RDFArchitect version
1.1.0-12-gb6c2400c
Environment
any
Logs and screenshots
No response