You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting baseIRI in the Writer constructor, the @base does not show up among the prefixes at the beginning of the generated turtle format, as the actions for it to display the @base are missing from the file.
After setting baseIRI in the Writer constructor, the @base does not show up among the prefixes at the beginning of the generated turtle format, as the actions for it to display the @base are missing from the file.
Example: Having this in my code:
new N3.Writer({ prefixes: { sh: 'http://www.w3.org/ns/shacl#', rdfs: "http://www.w3.org/2000/01/rdf-schema#"}, baseIRI: this.baseURL })
and the resulting file shows only this at the beginning, missing @base:
@Prefix sh: http://www.w3.org/ns/shacl#.
@Prefix rdfs: http://www.w3.org/2000/01/rdf-schema#.
The text was updated successfully, but these errors were encountered: