antoniogarrote / rdfstore-js

JS RDF store with SPARQL support
MIT License
563 stars 109 forks source link

Use promises in query filters to correctly handle filter (not) exists. #129

Open kenwenzel opened 8 years ago

kenwenzel commented 8 years ago

This is a minimal-invasive change that effectively makes the execution of filters asynchronous by using promises. The change allows the use of filter (not) exist in any combination with other filters and at any depth within filter expressions. The promises are implemented by using the 'es6-promise' module.

This is a fix for the issue #125.

I will also add some tests when I have some time to do it.

kenwenzel commented 7 years ago

Is this of any interest? If this is the case then I'm happy to prepare a mergeable PR without conflicts based on the latest HEAD revision. Any comments are welcome.