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

SWRL variable IRIs violate URN spec #732

Closed
balhoff opened this issue Jan 17, 2018 · 1 comment
Closed

SWRL variable IRIs violate URN spec #732

balhoff opened this issue Jan 17, 2018 · 1 comment

Comments

@balhoff
Copy link
Contributor

balhoff commented Jan 17, 2018

OWL API produces SWRL variables with IRIs like urn:swrl#foo (at least it reads these into ?foo, maybe they're only created by Protégé?). But a URN should have two colons:

<URN> ::= "urn:" <NID> ":" <NSS>

Could they be changed to urn:swrl:foo or urn:swrl:var#foo? We ran into one tool that complains about urn:swrl#foo.

@ignazio1977
Copy link
Contributor

That string is used as a marker for variable IRIs - the SWRL classes use IRIs for variable identifiers, and so they're forced to have something to replace the "?" used, for example, in Manchester syntax.

(Protege has no responsibility for that :-) )

The fact that it only has one colon is an error, one that most tools don't care about...

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