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

TriG export incorrectly includes default graph name #75

Open
wouterbeek opened this issue Dec 20, 2017 · 0 comments
Open

TriG export incorrectly includes default graph name #75

wouterbeek opened this issue Dec 20, 2017 · 0 comments

Comments

@wouterbeek
Copy link
Contributor

Steps to reproduce:

?- [library(semweb/rdf_db)].
?- [library(semweb/turtle)].
?- rdf_assert(rdf:s, rdf:p, rdf:o).
?- rdf_save_canonical_trig('test.trig', []).

File test.trig now has the following content:

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<user> {
rdf:s rdf:p rdf:o .
}

Notice that <user> is not a legal IRI.

Expected: TriG to not export the <...> { ... } graph notation for triples in the default graph.

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