goofballLogic / ld-query

Querying JSON-LD
MIT License
20 stars 6 forks source link

Implemented attribute clauses #6

Closed gareth-robinson closed 8 years ago

gareth-robinson commented 8 years ago

I've added the ability to include attribute 'where' clauses that are suggested in the README.md but don't appear to be implemented. There are examples in the selection.feature e.g. "ex:favouriteReads[so:author=Iain M Banks][so:name=Excession] @index" I ended up reworking most of the internal logic in ld-query.js to do this though.

I've also corrected the 'main' entry in package.json

gareth-robinson commented 8 years ago

Ah, I appear to be using some javascript features that are not available in the release that travis is using

gareth-robinson commented 8 years ago

going to close this pull request while I rethink and refactor

goofballLogic commented 8 years ago

I'll add a note in the documentation that this library is ES5 compatible without transpiling.