ontola / ldget

A simple command line interface tool to get RDF items using HTTP GET requests.
GNU General Public License v3.0
8 stars 3 forks source link

Explore compatibility with Triple Pattern Fragments #5

Open joepio opened 5 years ago

joepio commented 5 years ago

Since the API of ldget seems to closely resemble Triple Pattern Fragments, it might be a good idea to mention it in the docs and make it formally compatible.

joepio commented 5 years ago

I've changed the API and the docs a little to make it resemble TPF. In a future release it might make sense to support TPF endpoints.

In order to do this, this client could support the Hypermedia Controls. However, since there exists no default IRI format, ldget would need to fetch, parse and store a hydra:search resource.

An alternative, simpler approach, would be to let users define some TPF templates, perhaps in a config file.