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

Document Query use cases #46

Open
bblfish opened this issue Jan 29, 2016 · 3 comments
Open

Document Query use cases #46

bblfish opened this issue Jan 29, 2016 · 3 comments

Comments

@bblfish
Copy link
Member

bblfish commented Jan 29, 2016

There are many places where it seems to make sense to have the server support some form of query. This could be done by adding a QUERY verb or even potentially allow GET to accept a body with a query. (see thread Proposed HTTP SEARCH method by the LDP group in April 2015 to the HTTP mailing list.

This is quite a lot of work to implement, so it should only be done when it is clear what the value of doing it is.

There usually are ways of doing things without such a query feature, but doing it that way may actually make things much more complex. We'll only know if we document the cases where a decision was made to do things one way, that could have been achieved more easily with a query.

I opened up a wiki page to document such use cases: Query Use Cases

@akuckartz
Copy link

Triple Pattern Fragments are rather simple to implement and would allow implementing queries by clients.

@bblfish
Copy link
Member Author

bblfish commented Jan 29, 2016

That's worth adding to the wiki, as otherwise this thread will soon be unreadable.

@zoggy
Copy link

zoggy commented Feb 4, 2016

Hello,

Here is one additional use case I think could be added to the wiki page.

Suppose you have a solid app to publish blog posts. You may want to provide a rss feed listing the N last blog posts. To do so, you'd like to be able to query all blog posts in a workspace (or under a container) and retrieve their date, title, ... and build a feed from this information. The building of the feed needs not being part of the solid spec, but the way to query workspaces and containers should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants