GAIA-X4PLC-AAD / ontology-management-base

Our implementation for an open automated ontology management process for GAIA-X interoperable ecosystems. Please use a community agreed domain specific class or if not yet available please create a new class and submit it for review.
Other
2 stars 0 forks source link

LinkShape alows to define or describe there an link to the location of the asset #69

Open jtdemer opened 4 days ago

jtdemer commented 4 days ago

In the general domain we have defined an LinkShape which alows to define or describe there an link to the location of the asset.

I have folllowing concerns about that:

general:LinkShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ("Document" "Image" "Model" "Routing" "Video" "3DPreview" "Asset") ;
            sh:message "Validation of type failed!"@en ;
            sh:description "Choose type of link." ;
            sh:name "type"@en ;
            sh:order 1 ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path general:type ],
        [ sh:datatype xsd:anyURI ;
            sh:message "Validation of url failed!"@en ;
            sh:description "Enter link as URL or DID." ;
            sh:name "url"@en ;
            sh:order 0 ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path general:url ] ;
    sh:targetClass general:Link .

An example of how data providers interpret this is already available here: https://github.com/GAIA-X4PLC-AAD/hd-map-asset-example/blob/main/metadata/Gaia_X_Example_Asset_TestfeldNiedersachsen_ALKS_ODR_offset.json

rcrswld commented 4 days ago

@jtdemer I have created in issue going in the same direction as yours here: https://github.com/GAIA-X4PLC-AAD/hd-map-asset-example/issues/7

@robertschubert proposed some ways of solving the issue over there.

jtdemer commented 4 days ago

@jtdemer I have created in issue going in the same direction as yours here: GAIA-X4PLC-AAD/hd-map-asset-example#7

@robertschubert proposed some ways of solving the issue over there.

Thx @rcrswld but I think we should fix it here in the general ontology as well

robertschubert commented 4 days ago

@jtdemer please see my comment in the other repo. please close the issue if ok for you. If not, we should talk.

rcrswld commented 1 day ago

Would it help if we add in the documentation that data providers shall not use the 'url'-property to directly refer to their asset (apart from open-data)?