eclipse-thingweb / td-tools

Tooling for Thing Descriptions and Thing Models
https://thingweb.io
Other
4 stars 3 forks source link

[AID] Redesigning Semantic References for TD -> AID #52

Open egekorkan opened 1 day ago

egekorkan commented 1 day ago

Looking into how the semantic annotations are currently translated, we need to rethink due to the following points:

I would propose starting with the first point already. The second one can be done after a thorough discussion.

wiresio commented 1 day ago

https://github.com/wiresio/domus-tdd-api-plugin-aid does it like this:

{
    "modelType": "Property",
    "semanticId": {
        "keys": [
            {
                "type": "GlobalReference",
                "value": "https://eclass-cdp.com/rdf/v1/eclass/hasQuantity"
            }
        ],
        "type": "ExternalReference"
    },
    "value": "eclass14-0:0173-1-Z4-BAJ267-004",
    "valueType": "xs:string",
    "idShort": "hasQuantity"
}