Skip to content

Use SPARQL production rules for prefixed and unprefixed identifiers  #150

Description

@althonos

This is a proposal for 1.6 to use the production rules from SPARQL 1.1 to define prefixed identifiers.

Proposed rules:

Prefixed-ID ::= PN_PREFIX ':' PN_LOCAL

The advantage is that SPARQL prefixed identifiers still use backslashes to escape special characters, so I think this will introduce less breakage than requiring CURIE which would mean switching to percent-escaping for special characters.

Then prefix expansion from OBO ID-space can be done the same way as SPARQL expansion, with an added rule to use http://purl.obolibrary.org/obo/<prefix>_<local> for any OBO ID-space not defined in the header.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.6 spec proposalsconcrete proposals for changes in 1.6

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions