lunisolar / LNKD.tech-Editor

Editor for Turtle (Terse RDF Triple Language, TTL) files. This is a plugin for IntelliJ IDEA, IDEA Community Edition and others IDE environments based on IntelliJ Platform (also described here)
https://plugins.jetbrains.com/plugin/12802-lnkd-tech-editor
4 stars 0 forks source link

Unresolved namespace reference: http://purl.org/linked-data/cube# for purl namespaces #5

Closed OscarVanL closed 3 years ago

OscarVanL commented 3 years ago

Hi, I'm having problems using certain purl namespaces with your plugin, such as The RDF Data Cube Vocabulary or scovo.

image

The above error is shown when viewing the data cube example.

Any ideas why this is happening, and how I can add purl namespaces to the plugin?

Thanks!

lunisolar commented 3 years ago

In general current version of the plugin does not download graphs. It has only some most common built-in as "Global graphs". When you go to the IDE settings you can find plugin's settings. It is either under "Other settings/LNKD.tech Editor" or directly "LNKD.tech Editor" (depends if there is another plugin with "other" settings).

Global graphs is the section of the settings that should interest you. It is divided into "Builtin Graphs" and "Custom Graphs". You can disable the built-in and add any graph you want from local disk into the custom category. This way the graphs will be recognized by the plugin and at the same are not part of the project (not commit-able to GIT).

I do not invest into the functionality of downloading the graphs (yet), because I do not think there is a wide standard for this. Except for naive request for the URL hopping that graph will be dereference-able in TTL format, but I expect very low ratio of responses that actually will return TTL instead of HTML page (regardless of content negotiation in HTTP) Or do you have different opinion?

OscarVanL commented 3 years ago

I see. Thanks for the explanation. Frankly, I am new to this so do not know where the limits of TTL/RTF graph schemas lie.