LinkedDataFragments / Client.js

[DEPRECATED] A JavaScript client for Triple Pattern Fragments interfaces.
http://linkeddatafragments.org/
Other
92 stars 35 forks source link

Install instructions from git and example-query.sparql #7

Closed petervandenabeele closed 10 years ago

petervandenabeele commented 10 years ago

This commit request explains the case of installation from a local git checkout.

It also adds an example-query.sparql to make it even easier to have a hello world working immediately.

Open for improvements :-) Maybe an npm commands can be added that will allow

$ ldf-client example-query.sparql

without needing the give the explicit ./bin/ path.

RubenVerborgh commented 10 years ago

Thanks, Peter, that's very helpful! Merged as e8c599083ada2be6c27f9a2b65e5250de9958ec5.

I removed example-query.sparql, because there is already a folder with example queries in queries. The example is now:

$ ./bin/ldf-client queries/artists-york.sparql

I prefer keeping the executables in the bin folder (and queries in queries) to avoid cluttering the main folder. It's a convention in other npm packages as well.