Skip to content

Add support for SPARQL prefix syntax in Turtle files #81

@rjyounes

Description

@rjyounes

Turtle allows SPARQL prefix declaration syntax:

The Turtle language originally permitted only the syntax including the '@' character for writing prefix and base directives. The case-insensitive 'PREFIX' and 'BASE' forms were added to align Turtle's syntax with that of SPARQL. It is advisable to serialize RDF using the '@Prefix' and '@base' forms until RDF 1.1 Turtle parsers are widely deployed.

Currently the serializer converts the SPARQL syntax back to Turtle. Could you let it pass through instead - or at least as an option?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions