Skip to content

N3 parser does not support the has and is … of verb forms #688

Description

@jeswr

The current N3 grammar includes both verb forms:

:s has :p :o .
:s is :p of :o .

N3.js currently tokenizes these as errors in text/n3 mode. Ten applicable parser-manifest cases exposed by #640 fail on these forms.

The abandoned feat/full-n3-support branch contains a prototype (8db64ec), but it has TODOs around parser context and incomplete token-boundary handling. This needs a focused implementation and tests for normal, inverse, nested/context, chunk-boundary, and non-N3 rejection behavior.

Part of #640.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions