Closed anthony-o closed 6 years ago
I have some other SPARQL issues to investigate, and I'll through this into the list. Note that JRuby has had issues with testing across many gems in the RDF.rb ecosystem, which could be a contributing factor. The JRuby issues could use a champion who is vested in that platform. (Same with Erubis).
Recent changes seem to have fixed this on the develop branch. It will be released as 3.0 shortly.
I'm trying to create a Logstash filter that parses SPARQL queries.
So I'm using sparql v2.2.2 to parse those queries.
I'm testing 3 queries using rspec tests that correctly pass.
Nevertheless, when running Logstash with this filter, I have some random error when parsing (
parsed_query = SPARQL::Grammar.parse(sparql_query, {:resolve_iris => TRUE})
.For example, for this one:
I can have this error
or this one
For this query:
I can have the error
or
At last, for this one
I can have this error
or this one
Do you know if
SPARQL::Grammar.parse(sparql_query, {:resolve_iris => TRUE})
depends on some various environment settings on runtime or is those error can be explained differently?I asked to the Elasticsearch community the same issue and specify how to reproduce this (Docker and
docker-compose
are needed):Then connect to http://localhost:5602, create the index pattern
*
and go to the "Discover" tab. If none of the events contain the fieldexception
, restart the ELK stack withocker-compose down --volumes && docker-compose build && docker-compose up -d