Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy JSON-LD contexts on a permanent network location #110

Open
VladimirAlexiev opened this issue Oct 12, 2024 · 3 comments
Open

deploy JSON-LD contexts on a permanent network location #110

VladimirAlexiev opened this issue Oct 12, 2024 · 3 comments
Assignees
Labels
jsonld Pertains to JSON-LD serialization urlpolicy Considerations about URL/namespace/folder/filename design/carving

Comments

@VladimirAlexiev
Copy link
Collaborator

VladimirAlexiev commented Oct 12, 2024

curl -LI https://github.com/Sveino/Inst4CIM-KG/raw/refs/heads/develop/rdfs-improved/CIM-ontology-context.jsonld
Content-Type: text/html; charset=utf-8
Location: https://raw.githubusercontent.com/Sveino/Inst4CIM-KG/refs/heads/develop/rdfs-improved/CIM-ontology-context.jsonld
Content-Type: text/plain; charset=utf-8
  • output ontologies as JSONLD #99 initially was done with a local contextfile://CIM-ontology-context.jsonld . The output included the same relative URL, which is not good.
  "@context": "file://CIM-ontology-context.jsonld",

rawgit2 is very reliable, and I've been using it for my publications https://rawgit2.com/VladimirAlexiev/my/master/index.html for 10 years.
But it's not a permanent CIMug/ENTSOE location, so we need to look for a better location.
Just like rawgit, it should be updated automatically when the github file changes.

For the ontologies, the context is small so we we could embed it.
But for instance data we definitely need a network context, so we better find a solution.

@VladimirAlexiev VladimirAlexiev added jsonld Pertains to JSON-LD serialization ontology Pertains to ontology representation labels Oct 12, 2024
@VladimirAlexiev
Copy link
Collaborator Author

@Sveino wrote:

  • The www.model4powersystem.eu domain intends at referencing the power system models, or Individual Grid Model (IGM) and Common Grid Model (CGM) as stated in the network code.
  • The www.cim4.eu domain is though to refer structure metadata that describe classes, attributes and association and organisation and relationship within a dataset to form an information model or ontology.
  • The www.referencedata.eu will be used for referencing instance data that is common for one or more business process in a semantic web structure and format (e.g., referencing the electrical market bidding zone).

@griddigit-ci
Copy link
Collaborator

We need to describe - How do we solve the need to access the context when you read instance data in an environment that does not have internet connection?

@VladimirAlexiev
Copy link
Collaborator Author

  • Many JSONLD tools support caching
  • Maybe some support "URL redirection" through a registry, kind of like XML files can specify the location of a schema to be different from its namespace.

GraphDB has a whitelist of network contexts (URL patterns) because it was judged a security risk to allow fetching any URL from a JSONLD file.
But I'm not sure it has a "URL redirection" registry. If this issue confirms that's needed, I'll ask for such feature.

@VladimirAlexiev VladimirAlexiev changed the title deploy CIM-ontology-context.jsonld on a network location deploy JSON-LD contexts on a permanent network location Nov 19, 2024
@VladimirAlexiev VladimirAlexiev added urlpolicy Considerations about URL/namespace/folder/filename design/carving and removed ontology Pertains to ontology representation labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jsonld Pertains to JSON-LD serialization urlpolicy Considerations about URL/namespace/folder/filename design/carving
Projects
None yet
Development

No branches or pull requests

3 participants