OpenEnergyPlatform / OpenEnergyPlatform/oemetadata

Transitioning from 'isAbout' blank objects to direct SKOS semantic relations

Open
#308 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: low 🦥 status: discussion 💬
Dominant language
Python
Stars
26
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I was wondering what we get out of the JSON-LD semantically if we use skos like this. I think currently we get a triple that says our isAbout blank object has a skos:mappingRelation to a string literal. What we want to express with that is rather that the value in the string should be treated as the actual predicate of that triple towards the isAbout term placed in "@id".

So semantically we should rather replace the isAbout property with the actual names of the skos properties:
So instead of :

{
    "isAbout": [
        { "@id": "http://other.stuff", "label": "troll"},
        { "@id": "http://more.stuff"}
    ]
}
{
    "exactMatch": [
        { "@id": "http://other.stuff", "label": "troll"}
    ],
    "narrowMatch": [
        { "@id": "http://more.stuff"}
    ]
}

But that would probably affect everything that relies on isAbout. So I am not sure this is wise (though semantically correct).

Originally posted by @Cpprentice in https://github.com/OpenEnergyPlatform/oemetadata/issues/307#issuecomment-4221999409

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue 307 and the examples in this issue, then identify which metadata schema, templates, examples, or consumers rely on isAbout. Decide whether direct SKOS properties are the intended model, document the compatibility impact, and define the affected representations and migration expectations before any implementation.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.