Hi Florian,

is the measurement unit in your example a static value? When do you want to 
extract the value?

You can get a Unit object by using the UnitProvider.getUnit(String 
resourceUrl), this class has some methods to access unit properties.

Dominik

On 2020/06/12 15:01:57, Florian Micklich <[email protected]> wrote: 
> Hi all,
> 
> I know I create an Output-Strategy with a measrumentUnit like this:
> 
> 
> OutputStrategies.append(PrimitivePropertyBuilder
>                       .create(Datatypes.Float,"speed")
>                       .domainProperty(SO.Number)
>                       .measurementUnit(URI.create("
> http://qudt.org/vocab/unit#KilometerPerHour";))
>                       .build())
>             )
> 
> 
> But how can I extract or access this measurmentUunit from the event
> property later on again? Is there a general method to do so?
> 
> What is the best reliable way to extract the the "value" after the #-
> symbol?
> 
> Greeting
> Florian
> 
> 

Reply via email to