OM icon indicating copy to clipboard operation
OM copied to clipboard

Duplicated Dimensions

Open jmkeil opened this issue 5 months ago • 0 comments

There are 5 cases of a pair of om:Dimension instances with the same dimension exponent vector:

Dimension 1 Dimension 2
om:illuminance-Dimension om:luminance-Dimension
om:energyDensity-Dimension om:pressure-Dimension
om:luminousFlux-Dimension om:luminousIntensity-Dimension
om:angularSpeed-Dimension om:frequency-Dimension
om:powerDensity-Dimension om:radiance-Dimension

They are named to fit for different quantities. However, to my understanding, dimensions are quantity agnostic. So they better should have multiple labels expressing the relatedness to different quantities, but the dimension vector should be unique.

As a first fix, I suggest to link them with owl:sameAs.

Query to find them:

PREFIX om: <http://www.ontology-of-units-of-measure.org/resource/om-2/>

SELECT ?dimension1 ?dimension2 WHERE {
  ?dimension1
    om:hasSIAmountOfSubstanceDimensionExponent ?AmountOfSubstance ;
    om:hasSIThermodynamicTemperatureDimensionExponent ?ThermodynamicTemperature ;
    om:hasSIElectricCurrentDimensionExponent ?ElectricCurrent ;
    om:hasSILuminousIntensityDimensionExponent ?LuminousIntensity ;
    om:hasSILengthDimensionExponent ?Length ;
    om:hasSIMassDimensionExponent ?Mass ;
    om:hasSITimeDimensionExponent ?Time .
  ?dimension2
    om:hasSIAmountOfSubstanceDimensionExponent ?AmountOfSubstance ;
    om:hasSIThermodynamicTemperatureDimensionExponent ?ThermodynamicTemperature ;
    om:hasSIElectricCurrentDimensionExponent ?ElectricCurrent ;
    om:hasSILuminousIntensityDimensionExponent ?LuminousIntensity ;
    om:hasSILengthDimensionExponent ?Length ;
    om:hasSIMassDimensionExponent ?Mass ;
    om:hasSITimeDimensionExponent ?Time .
  FILTER(STR(?dimension1) < STR(?dimension2))
}

PS: For OM3 I suppose to use the vector in the IRI. That would make it lot easier to find appropriated dimension and avoid duplicates.

jmkeil avatar Sep 09 '24 08:09 jmkeil