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

empty prefix is not in the prefixes(-Pairs) of rdf_read_turtle/3 #114

Open
josd opened this issue Apr 13, 2024 · 0 comments
Open

empty prefix is not in the prefixes(-Pairs) of rdf_read_turtle/3 #114

josd opened this issue Apr 13, 2024 · 0 comments

Comments

@josd
Copy link

josd commented Apr 13, 2024

The following TriG file has an empty namespace prefix

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix : <http://example.org/ns#>.

:A rdfs:subClassOf :B.

and reading it via rdf_read_turtle(stream(In), Triples, [base_uri(Arg), format(trig), prefixes(Pfxs), on_error(error)]),
works fine but the Pfxs is [rdfs-'http://www.w3.org/2000/01/rdf-schema#'] whereas I would expect it to be
[rdfs-'http://www.w3.org/2000/01/rdf-schema#', ''-'http://example.org/ns#']

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

1 participant