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

malformed owl #280

Open
justin2004 opened this issue Aug 8, 2024 · 5 comments
Open

malformed owl #280

justin2004 opened this issue Aug 8, 2024 · 5 comments

Comments

@justin2004
Copy link

$ ~/apache-jena-5.1.0/bin/riot --validate iao.owl
05:11:29 WARN  riot            :: [line: 7974, col: 45] Bad IRI: <urn:swrl#e> Code: 61/SCHEME_PATTERN_MATCH_FAILED in PATH: The scheme specific syntax rules are violated. 
05:11:29 WARN  riot            :: [line: 7977, col: 45] Bad IRI: <urn:swrl#d> Code: 61/SCHEME_PATTERN_MATCH_FAILED in PATH: The scheme specific syntax rules are violated.
... 

here is one of the offending lines:

<rdf:Description rdf:about="urn:swrl#e">
@justin2004
Copy link
Author

looks like jena expects a fully qualified URI.
e.g.

<hi:hi rdf:resource="http://somethinghere.com/swrl#e"/>

@alanruttenberg
Copy link
Contributor

There's no equivalent of "fully qualified" (as opposed to relative) for urns. The urn: should be fine. Looks like a riot bug to me.

@justin2004
Copy link
Author

the relations ontology had the same situation and jim fixed them:

oborel/obo-relations#803 (comment)

it sounds like an old version of the OWL API created those.

@alanruttenberg
Copy link
Contributor

alanruttenberg commented Aug 13, 2024 via email

@justin2004
Copy link
Author

andy says the URN isn't valid:
apache/jena#2626 (comment)

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