-
Notifications
You must be signed in to change notification settings - Fork 17
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
Compare Query and Filter approaches #17
Comments
I wonder if we should also consider JSON pointers: https://tools.ietf.org/html/rfc6901 |
Re JSON pointers, we should understand at least how they fit in. But my understanding is that they let you point at part of a JSON document, but aren't in themselves a search or query mechanism. |
We used to use a little bit of SPARQL for discovering TDs. Giving full support to SPARQL syntax/protocol is quite challenging and I think the approach used here by @vcharpenay is the most appropriate. The problem is how to treat application/sparql results and present them as a list of valid TDs. Using only GropuGraphPatterns is a nice workaround to filter TDs but you lack ways to use the CONSTRUCT primitive and enrich TDs with external semantic information, which might be a powerful feature too. Furthermore, the SPARQL protocol does not provide a way to specify only GropuGraphPatterns. Consequently, a new HTTP protocol should be defined to specify the exchange of these "not-full-specified" SELECT queries. |
@relu91 we'll have to follow up on your comment. Can you make the next Discovery call? Ultimately we need to compare options and nail one down for a standardized directory service API definition. |
Yet another one: http://jsoniq.org/ |
Yes, I will! see you the next Monday. |
So from my understanding, the term to be used should be a JSON query language. This StackOverflow thread has a nice list: https://stackoverflow.com/questions/777455/is-there-a-query-language-for-json It is important to note that XPath 3.1 supports JSON querying and it is standardized:
Another little point to note would be that TDs can be serialized in JSON but not necessarily. Since we don't see many uses of other serialization formats, we can ignore this but it should be maybe at least noted. |
Interesting find regarding this topic. |
Right now we only have normative support for SPARQL and it is optional, which frankly is not ideal for interoperability. It would still be useful to have a mandatory query language of some kind. I will mark this as Deferred since I think that some of the above options are worth looking at again for Discovery 2.0. |
We need to compare, contrast, and ultimately select a query/filter language for discovery.
Some candidates we have seen:
Consider two purposes:
Need to evaluate against use cases, eg semantic query, ability to do comparison operations, ability to take apart structure, etc.
Possible requirements to consider:
The text was updated successfully, but these errors were encountered: