Giter Club home page Giter Club logo

the-qa-company / qendpoint Goto Github PK

View Code? Open in Web Editor NEW
65.0 3.0 8.0 33.65 MB

A highly scalable RDF triple store with full-text and GeoSPARQL support

Home Page: https://the-qa-company.com/products/qEndpoint

License: Other

Dockerfile 0.01% Shell 0.38% Java 96.08% HTML 0.99% Ruby 0.82% PowerShell 0.29% CSS 0.01% SCSS 0.14% TypeScript 1.24% Batchfile 0.04%
full-text-search java semantic-web sparql triple-store geosparql graph-database wikidata rdf

qendpoint's People

Contributors

alyhdr avatar ate47 avatar d063520 avatar dependabot[bot] avatar diazork avatar hmottestad avatar pratibhahub avatar sereyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

qendpoint's Issues

Filter connections not closed

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

The connection used by the Type filter isn't closed, a shutdown after using this filter is resulting into a dead lock

Excepted behavior

no lock

Obtained behavior

lock

How to reproduce

  • create a filtering sail with a type, call a sparql request and shutdown the repository

Endpoint version

1.6.2

Do I want to contribute to fix it?

Yes

Something else?

No response

open log button should open in the browser the logs and not download them

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

the downloaded file also has no proper extention so it is not handy to check the logs currently

Do I want to contribute to make it?

No

Something else?

No response

Port isn't updating on the frontend if the backend define a new one

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-benchmark)
  • Benchmark (hdt-qs-frontend)
  • Other

Description of the issue

If we replace the port config to another port, the frontend will still use the default port and not the new one

Excepted behavior

Using the new port

Obtained behavior

The front-end can't query the endpoint (backend)

How to reproduce

add this config to the repo_model.ttl file in the configs

# Describe the endpoint server port
mdlc:main mdlc:serverPort 1237 .

Endpoint version

1.4.0

Do I want to contribute to fix it?

Maybe

Something else?

No response

Releases post v1.3.0 not available on Maven Central

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

hdtSparqlEndpoint jar v1.6.3 is missing.

Excepted behavior

Expecting v1.3.0 and onwards to be available on Maven Central.

Obtained behavior

Most recent release from Maven Central is for example hdtSparqlEndpoint v1.3.0.

How to reproduce

NA

Endpoint version

NA

Do I want to contribute to fix it?

NA

Something else?

NA

save SPARQL query requests in front-end

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-benchmark)
  • Benchmark (hdt-qs-frontend)
  • Other

Description of the request

When leaving this view:
Screenshot 2022-06-27 at 19 44 05
and returning to it, it would be nice to still have the sparql queries

Do I want to contribute to make it?

No

Something else?

No response

Connection not closed after execute

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

Non-custom connections aren't closed in SparqlRepository

Excepted behavior

close the connection

Obtained behavior

Non-closed connection taking a lock

How to reproduce

Use a simple request

Endpoint version

1.6.1

Do I want to contribute to fix it?

Yes

Something else?

No response

Statements are marked to be removed that should not be in the store, for resource <subject> and context null. Nothing done

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

When adding statements to index to the store while it is merging, we get the error message

Statements are marked to be removed that should not be in the store, for resource <subject> and context null. Nothing done

Excepted behavior

Nothing

Obtained behavior

Warning

How to reproduce

Add a statement to index by Lucene while merging

Endpoint version

1.6.3

Do I want to contribute to fix it?

Yes

Something else?

No response

Create default node for multi-type node

Description of the request

Add default node for the mdlc:multiFilterNode node type.

For example

_:multiTypeFilter mdlc:type mdlc:multiFilterNode ;
                   mdlc:typeFilterPredicate <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ;
                   mdlc:node [
                       mdlc:typeFilterObject <https://schema.org/Message>;
                       mdlc:node _:lucenesail_message
                   ] ;
                   mldlc:defaultNode _:lucenesail_default;

Do I want to contribute to make it?

Yes

Something else?

No response

Support for the latest NODE version

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

It should be better to not ask for people working on the system to download an old node version (14) instead of using the latest one, is it possible to update the dependencies to not having to use another node version @sereyn

(Mostly because people working on that are probably Java dev and not JavaScript dev)

Excepted behavior

Not having an error when using the latest node/npm version

Obtained behavior

wilat:N:\qEndpoint\hdt-qs-frontend (GH-209-url-download)> npm i
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^7.32.0" from the root project
npm WARN   21 more (@babel/eslint-parser, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^8.0.0" from [email protected]
npm WARN node_modules/eslint-config-react-app
npm WARN   eslint-config-react-app@"^7.0.1" from [email protected]
npm WARN   node_modules/react-scripts
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^8.0.0" from [email protected]
npm WARN   node_modules/eslint-config-react-app
npm WARN     eslint-config-react-app@"^7.0.1" from [email protected]
npm WARN     node_modules/react-scripts
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint-plugin-promise
npm ERR!   dev eslint-plugin-promise@"^6.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-promise@"^4.2.1 || ^5.0.0" from [email protected]
npm ERR! node_modules/eslint-config-standard
npm ERR!   dev eslint-config-standard@"^16.0.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/eslint-plugin-promise
npm ERR!   peer eslint-plugin-promise@"^4.2.1 || ^5.0.0" from [email protected]
npm ERR!   node_modules/eslint-config-standard
npm ERR!     dev eslint-config-standard@"^16.0.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\wilat\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\wilat\AppData\Local\npm-cache\_logs\2022-12-18T15_19_34_394Z-debug-0.log

How to reproduce

# install latest node version
scoop install node # can be replaced with apt or brew (debian/macos)

cd hdt-qs-frontend
npm i

Endpoint version

latest

Do I want to contribute to fix it?

No

Something else?

No response

Implement Wikibase service clause

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

It would be nice to implement this SPARQL syntax that is not part of SPARQL 1.1 but which is a quasi standard since it is highly used in the Wikidata ecosystem. The most precise description of the specs I found is:

https://en.wikibooks.org/wiki/SPARQL/SERVICE_-_Label

Do I want to contribute to make it?

Yes

Something else?

No response

Clarity in instructions: is pre-processing needed for Wikibase?

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-benchmark)
  • Benchmark (hdt-qs-frontend)
  • Other

Description of the question

Typically, to ingest a Wikidata graph export into Blazegraph, you need to "munge" it using a script in order to transform the data into a more compact format. Is this needed when ingesting an NT into the HDT format?

Endpoint version (if linked with the question)

No response

Small CLI

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

I think it would be good to have a cli to control the endpoint without having to pass by the slow FE/BE thing or tricking to put an HDT in the store

some features:

  • index dataset
  • Load hdt file (+index)
  • Trigger merge
  • Trigger reindexing (Lucene)
  • load model file

Do I want to contribute to make it?

Maybe

Something else?

No response

Add button to cancel the data in the store

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

I have data loaded and I want to remove it easily. Do you think that a SPARQL DROP will do it. I would add in the upload section a button to drop things.

Do I want to contribute to make it?

No

Something else?

No response

Cors is only accepting http://localhost:3001

Description of the issue

Cannot connect the front-end expect local development

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

No response

Do I want to contribute to fix it?

No response

Something else?

No response

Wrong query result

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

With the latest version of the endpoint when uploading:

out.txt
(it's a nt file but github did not like it)

This query:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX vrank:<http://purl.org/voc/vrank#> 
SELECT DISTINCT ?o (SAMPLE(?label) as ?l) (SAMPLE(?rank) as ?pageRank) {
  <http://qanswer.eu/node1> ?p ?o . ?o <http://purl.org/voc/vrank#pagerank> ?rank .  FILTER (?p != <http://purl.org/voc/vrank#pagerank>) OPTIONAL {?o <http://www.w3.org/2000/01/rdf-schema#label> ?label .  FILTER (lang(?label)="en" || lang(?label)="") } }GROUP BY ?o 

Is correct, but this is not:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX vrank:<http://purl.org/voc/vrank#> 
SELECT DISTINCT ?o (SAMPLE(?label) as ?l) (SAMPLE(?rank) as ?pageRank) {
  <http://qanswer.eu/node1> ?p ?o . ?o <http://purl.org/voc/vrank#pagerank> ?rank .  FILTER (?p != <http://purl.org/voc/vrank#pagerank>) OPTIONAL {?o <http://www.w3.org/2000/01/rdf-schema#label> ?label .  FILTER (lang(?label)="en" || lang(?label)="") } }GROUP BY ?o ORDER BY DESC (?rank) LIMIT 5

5 results are expected but only one is returned.

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

1.5.3

Do I want to contribute to fix it?

No

Something else?

No response

Fix #185 PR merge

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

The PR #185 was based on master and not dev, so some commits were squashed with the merge

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

No response

Do I want to contribute to fix it?

Maybe

Something else?

No response

Native store deleted after shutdown

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

The native store is shudown after a close

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

close the endpoint

Endpoint version

No response

Do I want to contribute to fix it?

Yes

Something else?

No response

Remove reindex button if no Lucene indexes is used in the endpoint

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-benchmark)
  • Benchmark (hdt-qs-frontend)
  • Other

Description of the request

The reindex button in the frontend is calling the /api/endpoint/reindex method, but this button can be useless/misleading if the endpoint doesn't have a Lucene node connected to it

Do I want to contribute to make it?

Maybe

Something else?

No response

Accept header quality argument ignored

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

If we are using q=??? in the accept header, it is ignored and try to find the first possible format.

Excepted behavior

Use the highest q

Obtained behavior

first known format is used

How to reproduce

// with getResultWriterFormat
assertEquals(
		TupleQueryResultFormat.JSON,
		FormatUtils.getResultWriterFormat("text/csv;q=0.8,application/sparql-results+json,text/tab-separated-values;q=0.8")
				.orElseThrow()
);
// with getRDFWriterFormat
assertEquals(
		RDFFormat.RDFJSON,
		FormatUtils.getRDFWriterFormat("text/turtle;q=0.8,application/rdf+json,application/trig;q=0.8")
				.orElseThrow()
);

(it shouldn't crash return)

Endpoint version

1.6.0

Do I want to contribute to fix it?

Yes

Something else?

No response

Lucene store enabled by default with Wikidata

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

When the system is indexing a dataset (or download it), it works fine with 10GB, but once the system is loaded, the store is trying to index the dataset, the query is really heavy because of the sort and cause an OOM.

Maybe it would be good to do some optimizations in the store to index HDTs with the LuceneIndex, to disable this feature by default or by adding a warning if the HDT size is too big (like 1B for example)

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

No response

Do I want to contribute to fix it?

Yes

Something else?

No response

GeoSPARQL filter

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

Add the same filter for Lucene Matches to Lucene GEOSPARQL queries

Do I want to contribute to make it?

Yes

Something else?

No response

Use new states in Github workflow

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

remove the usage of ::set-output**:: to use the new files

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Excepted behavior

n/a

Obtained behavior

n/a

How to reproduce

n/a

Endpoint version

n/a

Do I want to contribute to fix it?

Maybe

Something else?

No response

Update RDF-HDT

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

Title

Do I want to contribute to make it?

Yes

Something else?

No response

Compute retrive and render query plan

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

It would be nice to be able both via APIs and in the backend to get the query plan. This would use this feature:

https://rdf4j.org/documentation/programming/repository/

Explaining queries

Do I want to contribute to make it?

Maybe

Something else?

No response

java.lang.NullPointerException: Cannot invoke "org.rdfhdt.hdt.compact.sequence.SequenceLog64Big.close()

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

I try to upload some large datasets like chebi / chembl into qendpoint. However I always get the same error: java.lang.NullPointerException: Cannot invoke "org.rdfhdt.hdt.compact.sequence.SequenceLog64Big.close()

Ubuntu 20.04
machine has 32 GB of RAM / 512 GB of disk / 6 cores / 12 threads

Excepted behavior

I was expecting to have a successful upload

Obtained behavior

Generating dictionary
PREDICATES-------------------
SUBJECTS-------------------
OBJECTS-------------------
SHARED-------------------
2022-10-19 15:33:14.062 ERROR 743326 --- [nio-1234-exec-6] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException: Cannot invoke "org.rdfhdt.hdt.compact.sequence.SequenceLog64Big.close()" because "this.blocks" is null] with root cause

java.lang.NullPointerException: Cannot invoke "org.rdfhdt.hdt.compact.sequence.SequenceLog64Big.close()" because "this.blocks" is null
	at org.rdfhdt.hdt.dictionary.impl.section.PFCDictionarySectionBig.close(PFCDictionarySectionBig.java:508) ~[hdt-java-core-3.0.4.jar!/:na]
	at org.rdfhdt.hdt.dictionary.impl.FourSectionDictionaryBig.close(FourSectionDictionaryBig.java:167) ~[hdt-java-core-3.0.4.jar!/:na]
	at org.rdfhdt.hdt.hdt.impl.HDTImpl.cat(HDTImpl.java:628) ~[hdt-java-core-3.0.4.jar!/:na]
	at org.rdfhdt.hdt.hdt.HDTManagerImpl.doHDTCat(HDTManagerImpl.java:166) ~[hdt-java-core-3.0.4.jar!/:na]
	at org.rdfhdt.hdt.hdt.HDTManager.catHDT(HDTManager.java:313) ~[hdt-api-3.0.4.jar!/:na]
	at com.the_qa_company.qendpoint.controller.Sparql.compressToHdt(Sparql.java:620) ~[classes!/:1.7.0]
	at com.the_qa_company.qendpoint.controller.Sparql.loadFile(Sparql.java:546) ~[classes!/:1.7.0]
	at com.the_qa_company.qendpoint.controller.EndpointController.clearData(EndpointController.java:135) ~[classes!/:1.7.0]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilterInternal(AuthorizationFilter.java:73) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) ~[spring-security-web-5.7.3.jar!/:5.7.3]
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) ~[spring-boot-actuator-2.7.3.jar!/:2.7.3]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]

How to reproduce

download chebi.owl
upload it to qendpoint over the frontend

Endpoint version

1.7.0

Do I want to contribute to fix it?

Maybe

Something else?

Small datasets are working fine

Duplicate prefixes

Description of the issue

Endpoint used: /api/endpoint/sparql

Description:
The query is an INSERT and if I use a PREFIX such as rdf. The server response is:

error: "Internal Server Error"
message: "Multiple prefix declarations for prefix 'rdf'"
path: "/api/endpoint/sparql"
status: 500
timestamp: "2022-06-08T13:50:57.537+0000"

It's because the server adds default prefixes

Excepted behavior

We should remove duplicate prefixes

Obtained behavior

Duplicate prefixes are not removed

How to reproduce

curl 'http://localhost:1234/api/endpoint/sparql' \
  -H 'Accept: text/plain,*/*;q=0.9' \
  -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8,fr;q=0.7' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Origin: http://localhost:3001' \
  -H 'Referer: http://localhost:3001/' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-site' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36' \
  -H 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="102", "Google Chrome";v="102"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "macOS"' \
  -H 'timeout: 5' \
  --data-raw 'update=PREFIX%20rdf%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0AINSERT%20DATA%20%7B%0A%20%20%3Chttps%3A%2F%2Fme.com%2Fa%3E%20%3Chttps%3A%2F%2Fme.com%2Fa%3E%20%3Chttps%3A%2F%2Fme.com%2Fa%3E%20.%0A%7D' \
  --compressed

Endpoint version

1.3.0

Do I want to contribute to fix it?

Maybe

Something else?

Your "submit issue" form is a pain 😡

Is merging button working in UI?

Description of the issue

can you try the merging button, for me it is not clear if this is the expected behavieur ...

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

No response

Do I want to contribute to fix it?

No response

Something else?

No response

confusing response of merge request API

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

The answer of the api call is "Completed". But it sounds like the merge is completed, not the request. I would answer.

{
merging: true
}

or something similar

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

No response

Do I want to contribute to fix it?

No response

Something else?

No response

Add mdlc:endpointThreshold to the default repo model

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

The option mdlc:endpointThreshold isn't present in the repo model file, maybe it should be good to put it with a description for -1

Do I want to contribute to make it?

Maybe

Something else?

No response

qEndpoint stops after a merge

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

The qEndpoint crashed in a merge process. The problem seams to be that the tempTriples.nt file is not parsable. I tried to parse it with serdi and this fails at line 4444 (the same place where also the RDF4J parser complains).

Screenshot 2022-10-20 at 21 08 41

I made I copy of the whole dataset to debug

Excepted behavior

That the merge finishes

Obtained behavior

No response

How to reproduce

I can share the dataset with the crashing merging step.

Endpoint version

1.6.4

Do I want to contribute to fix it?

No

Something else?

No response

buildx failed with: error: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

The docker image can't have multiple platforms, the full logs are available here

It is probably due to the commit b40e058 adding:

          platforms: linux/amd64,linux/arm64

Excepted behavior

publishing on multiple platform

Obtained behavior

Failed to build the docker image

How to reproduce

run the publish action

Endpoint version

1.5.2

Do I want to contribute to fix it?

Maybe

Something else?

No response

The URL isn't working in the frontend

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

When we are in http://localhost:1234/ and we click on a navigation button, like Upload, the URL become http://localhost:1234/upload, but when we reload the page, we got a 404

Excepted behavior

Receiving the right page

Obtained behavior

404

How to reproduce

http://localhost:1234/upload

Endpoint version

1.7.0

Do I want to contribute to fix it?

Maybe

Something else?

No response

Validate model file

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

It would be good to validate the model file to avoid weird things

  • add file location verification
  • stack overflow verification

Do I want to contribute to make it?

Yes

Something else?

No response

Use an URL to set a dataset instead of a file

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

In the upload page, it would be useful to specify the URL of a dataset instead of uploading a dataset, the dataset would then we downloaded from the URL instead of uploaded by the user

In the backend, we need to add an option in the API to allow that, it would also be better to cache the file into small chunk instead of downloading/indexing at the same time, so the download is constant and we don't have a full file at the same time.

Do I want to contribute to make it?

Yes

Something else?

No response

Prefix page bug

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

When in the prefix page, if we try to add a prefix, the page become white

Uncaught TypeError: i.block is not a function
    at block.ts:22:31
    at Fl (react-dom.production.min.js:262:359)
    at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
    at Vi (react-dom.production.min.js:122:325)
    at Dl (react-dom.production.min.js:261:308)
    at bl (react-dom.production.min.js:243:50)
    at react-dom.production.min.js:123:115
    at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
    at Vi (react-dom.production.min.js:122:325)
    at Ki (react-dom.production.min.js:123:61)

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

1.8.0

Do I want to contribute to fix it?

Maybe

Something else?

No response

Can't config the endpoint

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-benchmark)
  • Benchmark (hdt-qs-frontend)
  • Other

Description of the issue

There is no way to config the endpoint in the client version, the application.properties file is in the jar and can't be config, a new way should be defined to set:

  • repo_model rdf file
  • port
  • native/hdt/endpoint location
  • max timeout (update/query)
  • hdt specification

an option would be to set this in the repo_model file and put it in the qendpoint application directory

Excepted behavior

be able to config the endpoint

Obtained behavior

nothing

How to reproduce

No response

Endpoint version

No response

Do I want to contribute to fix it?

Yes

Something else?

No response

problem with SPARQL operators

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

Over this dataset:

data-4.ttl.txt

the query

SELECT (MAX(?o2) as ?avg) WHERE { ?s1 http://workingontologist.poolparty.biz/JobsandSkillsDemoApplication/2 http://workingontologist.poolparty.biz/JobsandSkillsDemoApplication/5 . ?s1 https://sharepoint-demo.eu/hr/gross-salary-per-year ?o2 . } LIMIT 1000

SELECT (AVG(?o2) as ?avg) WHERE { ?s1 http://workingontologist.poolparty.biz/JobsandSkillsDemoApplication/2 http://workingontologist.poolparty.biz/JobsandSkillsDemoApplication/5 . ?s1 https://sharepoint-demo.eu/hr/gross-salary-per-year ?o2 . } LIMIT 1000

is not giving the expected results

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

No response

Do I want to contribute to fix it?

No response

Something else?

No response

CTRL+C not working while merging

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

CTRL+C not stopping the endpoint while merging

Excepted behavior

stop the merge correctly

Obtained behavior

No response

How to reproduce

No response

Endpoint version

latest

Do I want to contribute to fix it?

Yes

Something else?

No response

Load a custom application.properties file

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-benchmark)
  • Benchmark (hdt-qs-frontend)
  • Other

Description of the question

I wrote a customized application.properties file that changes the port number and extends the timeout duration. When I run the JAR file I see it runs at the default port, suggesting to me the file isn't loading. I am not sure where to put the file to load it or what command line parameter to use.

Endpoint version (if linked with the question)

No response

NullPointerException when importing wikidata-20220711-all-BETA.nt

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

Exception is thrown when trying to import a Wikidata NT file.

Excepted behavior

Data import to start

Obtained behavior

2022-07-16 04:24:34.874 ERROR 7 --- [nio-1234-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause

java.lang.NullPointerException: null
at java.base/java.io.File.(File.java:359) ~[na:na]
at com.the_qa_company.qendpoint.controller.Sparql.compressToHdt(Sparql.java:582) ~[classes!/:1.5.1]
at com.the_qa_company.qendpoint.controller.Sparql.loadFile(Sparql.java:537) ~[classes!/:1.5.1]
at com.the_qa_company.qendpoint.controller.EndpointController.clearData(EndpointController.java:136) ~[classes!/:1.5.1]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.21.jar!/:5.3.21]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilterInternal(AuthorizationFilter.java:73) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183) ~[spring-security-web-5.7.2.jar!/:5.7.2]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) ~[spring-boot-actuator-2.7.1.jar!/:2.7.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.21.jar!/:5.3.21]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1787) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.64.jar!/:na]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

How to reproduce

  1. Set up latest version of qEndpoint, either the Docker container or built in Java yourself.
  2. Import this file or a similar one: curl "http://127.0.0.1:1234/api/endpoint/load" -F "file=wikidata-20220711-all-BETA.nt"

Endpoint version

No response

Do I want to contribute to fix it?

No response

Something else?

No response

Windows support

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

The endpoint isn't working on Windows

Excepted behavior

Working on it

Obtained behavior

Non closed files, missing features.

How to reproduce

n/a

Endpoint version

1.7.0

Do I want to contribute to fix it?

Yes

Something else?

No response

Create the control UI

Task to perform

A control panel that allows one to merge, index and upload while being able to see the status

wikidata docker image fails when internet connection lost

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

I closed my laptop while the container was running and I got:

/app/qendpoint/hdt- 50%[+++++++++> ] 18.65G 5.60MB/s in 2m 59s

2022-07-21 15:56:24 (5.77 MB/s) - Connection closed at byte 20029579848. Retrying.

--2022-07-21 15:56:34-- (try:20) https://qanswer-svc4.univ-st-etienne.fr/index_big.hdt.index.v1-1
Connecting to qanswer-svc4.univ-st-etienne.fr (qanswer-svc4.univ-st-etienne.fr)|161.3.151.12|:443... failed: Connection refused.
Resolving qanswer-svc4.univ-st-etienne.fr (qanswer-svc4.univ-st-etienne.fr)... failed: Name or service not known.
wget: unable to resolve host address ‘qanswer-svc4.univ-st-etienne.fr’
/app/qendpoint/hdt-store/index_dev.hdt exists.

If I restart the container the enpoint is lunched, but the index is not ready ...

Excepted behavior

the container should continue download the dump, maybe we can set a flag to indicate if the download was complete

Obtained behavior

No response

How to reproduce

No response

Endpoint version

No response

Do I want to contribute to fix it?

No response

Something else?

No response

Create Wikidata docker image

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

Create a docker image of Wikidata using a full HDT (not only truthy)

With a custom repo_model.ttl file to remove the default Lucene sail

Do I want to contribute to make it?

Yes

Something else?

No response

Timeout not working for large queries

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

If the query takes too long, the timeout is ignored

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

1.5.2

Do I want to contribute to fix it?

Yes

Something else?

No response

Dmg was not provided with last release

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the issue

dmg was not provided with last release:

https://github.com/the-qa-company/qEndpoint/actions/runs/3303573847/jobs/5451690184

Excepted behavior

No response

Obtained behavior

No response

How to reproduce

No response

Endpoint version

1.7.1

Do I want to contribute to fix it?

No

Something else?

No response

Use latest RDFHDT version

Part of the endpoint? (leave empty if you don't know)

  • Backend (hdt-qs-backend)
  • Frontend (hdt-qs-frontend)
  • Benchmark (hdt-qs-benchmark)
  • Other

Description of the request

Update to the latest version

Do I want to contribute to make it?

Yes

Something else?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.