Skip to content

What is the graph of a quoted triple? #275

@tpluscode

Description

@tpluscode

Related to #49, there has been a discussion in rdfjs/N3.js#311 and rdfjs/types#34 about representing quoted triples.

The winning alternative is to assume that a quoted triple << :a :b :c >> gets parsed as a Quad in default graph.
I have been trying to express my concern that it would cause subtle error when code attempts to assert a quoted quad. Without additional transformation, that quad would be added to the default graph indeed, which may not be obvious if the "parent" triple is asserted in a named graph.

Bottom line, I have been trying to pass a proposal that an asserted triple is not treated as a quad and would require explicitly selecting the graph when asserting. Either default or named.

Also related, PR rdfjs/types#35

What are your thoughts?

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