packages-semweb icon indicating copy to clipboard operation
packages-semweb copied to clipboard

Empty prefix not returned by parser

Open wouterbeek opened this issue 7 years ago • 0 comments

The Turtle/TriG parser does not return the empty prefix:

prefix : <https://example.org/>
prefix a: <https://example.org/a#>
?- use_module(library(semweb/rdf_db)).
?- use_module(library(semweb/turtle)).
?- rdf_load('test.trig', [prefixes(L)]),

Observe that L only contains the non-empty prefix declaration.

wouterbeek avatar Feb 22 '18 19:02 wouterbeek