Skip to content

Sets and lists #6

Open
Open

Description

@marqh

RDF statements are distinct and unordered. RDF TTL supports a shortened syntax, where a subject () and predicate () may declare a number of objects as a set, separated by a ,.

<subj> <pred> <obj0>, <obj1>, <obj2> .

I propose the same interpretation is used for attribute: value entries in BALD files

Where an explicit ordered list is required, the ttl syntax is again simple and useful, explicitly a space separated, parenthesis bound collection

<subj> <pred> (<obj0> <obj1> <obj2>) .

Activity

  1. jyucsiro commented on Nov 22, 2016

    @jyucsiro
    Contributor

    @nicholascar mentions Existing convention in json-ld for differentiating lists. Could we use this for netcdf-ld in values.
    Unordered: key = “[ ‘a’, ‘b’, ‘c’]”
    Ordered: key = “@list: [ ‘a’, ‘b’, ‘c’]”

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions