Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sets and lists #6

Open
marqh opened this issue Jun 22, 2016 · 1 comment
Open

Sets and lists #6

marqh opened this issue Jun 22, 2016 · 1 comment

Comments

@marqh
Copy link
Member

marqh commented Jun 22, 2016

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>) .
@jyucsiro
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants