ICA-EGAD / RiC-O

ICA Records in Contexts-Ontology (ICA RiC-O) GitHub repository web pages
https://ica-egad.github.io/RiC-O/
47 stars 17 forks source link

rico:unitOfMeasurement and controlled vocabularies #28

Closed birk closed 3 years ago

birk commented 3 years ago

Hi Is there any recommendation on how to use controlled vocabularies with rico:unitOfMeasurement? Or is it indented to repeat the names of units with every instance of rico:Extent? The second option, I guess, would look like this:

:someRecord rico:hasExtent [
    a rico:Extent ;
    rico:quantity "12" ;
    rico:unitOfMeasurement "linear meters"@en, "mètre courant"@fr, "Laufmeter"@en, "metro lineare"@it 
] 

The alternative would be to create an own vocabulary or used aat:300404398 or something else.

wildit commented 3 years ago

Birk, Besides the property there's also a class rico:UnitOfMeasurement (subclass of rico:Concept). You can use this class to handle the controlled vocabulary for the units. Your example would then look like this:

:someRecord rico:hasExtent [
    a rico:Extent ;
    rico:quantity "12" ;
    rico:hasUnitOfMeasurement 
            [ a rico:unitOfMeasurement ;
            rico:name "linear meters"@en, "mètre courant"@fr, "Laufmeter"@en, "metro lineare"@it ]
] .

Does that answer your question?

birk commented 3 years ago

Great, thanks!