You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In electrical CIM, all props are unique to the domain class, and prop names duplicate the domain
Furthermore, most object prop names also include the range class (or a plural version of it). We like the practice that a prop name replicates the range
But replicating the domain is verbose, so we'd like to shorten prop names by removing the domain local name from the prop name
add option -shorten 1 to do this (see column SOML, where cim: is the default voc_prefix)
domain
prop
range
SOML name
cim:ApparentPower
cim:ApparentPower.value
cim:Float
value
cim:CurrentLimit
entsoe2:CurrentLimit.normalValue
cim:CurrentFlow
entsoe2:normalValue
cim:Equipment
cim:Equipment.EquipmentContainer
cim:EquipmentContainer
equipmentContainer
cim:EquipmentContainer
cim:EquipmentContainer.Equipments
cim:Equipment.EquipmentContainer
equipments
This allows natural and shorter GraphQL querying, eg:
In addition to removing the domain class name (eg DiagramObject below), we should remove all its superclass names (eg IdentifiedObject).
Eg from ENTSO-E_Test_Configurations_v3.0.2\v3.0\MicroGrid\MicroGrid-Type2\MicroGrid-Type2-HVDC-MAS\20210401T1730Z_1D_HVDC_DL_1.xml:
-shorten 1
to do this (see column SOML, where cim: is the default voc_prefix)This allows natural and shorter GraphQL querying, eg:
A bigger example: instead of queries like this:
You can use shorter queries like this:
Mirrored from https://ontotext.atlassian.net/browse/DATA-119
The text was updated successfully, but these errors were encountered: