Skip to content

Eliminate SPARQL in valueRangePair #115

Description

@VladimirAlexiev

Described in https://github.com/Sveino/Inst4CIM-KG/tree/develop/shacl-improved#use-shequals-instead-of-sparql

ls -1 *valueRangePair*
GeneratingUnit.nominalP-valueRangePair.rq
PhaseTapChangerLinear.xMin-valueRangePair.rq
PhaseTapChangerNonLinear.xMin-valueRangePair.rq
TapChanger.neutralU-valueRangePair.rq

Eg GeneratingUnit.nominalP-valueRangePair.rq has this purpose

The attribute shall be a positive value equal to or less than RotatingMachine.ratedS.

So you need to use:

sh:minExclusive 0;
sh:lessThanOrEqual cim:RotatingMachine.ratedS.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions