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

Limited support for IRI in visualization graphs #337

Open
pulquero opened this issue Dec 5, 2020 · 1 comment
Open

Limited support for IRI in visualization graphs #337

pulquero opened this issue Dec 5, 2020 · 1 comment

Comments

@pulquero
Copy link

pulquero commented Dec 5, 2020

This function

supports only http and urn IRIs. Could it not also treat any string enclosed in <, > as an absolute IRI as well? https should also be added to the regex (ideally all well-known protocols too).

@Ontotext-AD Ontotext-AD deleted a comment from hudson-onto Dec 10, 2020
@AtesComp
Copy link

This seems to be an inherited problem throughout the workbench. For instance, I can import RDF files containing base IRI and IRI references to IRI containing unregistered scheme (or unregistered URN) and even query using the unregistered IRI. If I use Setup -> Namespaces, I can see the unregistered namespaces (examples: xyz://abc#, abc:xyz:mno) but I cannot change it or add new IRI namespaces that do not conform to some registered scheme (http, ftp, etc.). NOTE: It does not recognize the registered "mailto:" scheme either. In visual graph, neither the "Easy graph" or "Advance graph configurations" accepts these IRIs but complains with an "Invalid URI" message (they also annoyingly insist on converting namespace IDs to full IRI text). All of this is a major show stopper.

I don't see why the workbench should check for registered IRI scheme conformance...just check general IRI conformance. Some datasets are purpose build not to conform with registered IRI scheme, reserving that feature to "rdfs:seeAlso" references and similar. Why redundantly use "http://" on every resource when that string space can compact namespaces?

The specifications for IRI (https://tools.ietf.org/html/rfc3987) and URI (https://tools.ietf.org/html/rfc3986) do not necessitate conformance to some registered scheme. Only that when such a scheme is registered, it specifies that the scheme may further restrict the IRI format.

How would the workbench know if a scheme is registered or not? Why would it need to know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants