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

Why are we using lists so extensively? #81

Open
aaronc opened this issue Dec 6, 2023 · 2 comments
Open

Why are we using lists so extensively? #81

aaronc opened this issue Dec 6, 2023 · 2 comments

Comments

@aaronc
Copy link
Member

aaronc commented Dec 6, 2023

RDF lists are useful if we need to have an ordered collection of elements. However, they make the data harder to query if we don't care about order (traversing over rdf:first and rdf:rest as opposed to simply binding ?s ?p ?o). It seems like we're almost always using lists in these schemas whenever there may be more than one element. Are these really all ordered collections?

One guess I have is that we are using ordered lists to define a UI order but in that case I think we are not being clear enough about what the responsibility of our data is. Order in a UI is a presentational detail whereas order in something like metadata implies a semantic order. But if there is no semantic order then we are mixing concerns - presentational order should be a database concern whereas semantic order should be the only relevant thing in semantic data.

@clevinson
Copy link
Member

Generally this makes sense to me. I'd be in favor of us getting rid of lists where it felt unecessary.

@blushi
Copy link
Member

blushi commented Dec 18, 2023

We should look at the existing data and check where it does make sense to keep using linked lists.

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

3 participants