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

Parsing error on prefix:N.N syntax #647

Open
paulwilton opened this issue May 7, 2024 · 2 comments
Open

Parsing error on prefix:N.N syntax #647

paulwilton opened this issue May 7, 2024 · 2 comments

Comments

@paulwilton
Copy link

paulwilton commented May 7, 2024

I noticed this turtle/N3 syntax fails to parse

@prefix myprefix: <http://www.example.com/ontologies/test/> .
<http://example.com/data/> myprefix:version myprefix:1.18 .

with error: "Bad syntax: EOF found in middle of path syntax"
this syntax is used in many open source / public domain ontologies for describing ontology / definition versions

if the value of the statement is fully qualified
<http://example.com/data/> myprefix:version <http://www.example.com/ontologies/test/1.18> .
it parses ok, it is the prefix / qname style syntax that throws the parsing error

@bourgeoa
Copy link
Contributor

bourgeoa commented May 11, 2024

Yes this is is a known issue #601

@bourgeoa
Copy link
Contributor

If anyone wants to look at the issue that would be wonderfull

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