LinkedDataFragments / Client.js

[DEPRECATED] A JavaScript client for Triple Pattern Fragments interfaces.

Home Page:http://linkeddatafragments.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STR operator supported?

pheyvaer opened this issue · comments

When executing a query with STR in a FILTER I don't get neither a response or error. The fucntions of results.on('data') and results.on('end') are never called. When trying to use STRSTARTS I get the error that this operator is not supported, so I guess STR should work then?

Might be related to #30?

Indeed. I tried again and noticed that it has to check > 40.000 triples. So this is why it is taking so long. Something else though, should it not be return isLiteral(a) ? literalValue(a) : '"' + a + '"';, because str should return the literal value. str("\"Ghent\"@en") should be the same as str("\"Ghent\""), no?

OK, I'll close this issue then as it will be resolved when merging #30.