Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not determine operation type (Query or Update). #138

Open
rat10 opened this issue Feb 24, 2025 · 1 comment · May be fixed by #139
Open

Could not determine operation type (Query or Update). #138

rat10 opened this issue Feb 24, 2025 · 1 comment · May be fixed by #139

Comments

@rat10
Copy link

rat10 commented Feb 24, 2025

I get the following error from a Qlever UI Docker container that was created 3 days ago:

Error processing operation
Could not determine operation type (Query or Update). Please [report](https://github.com/ad-freiburg/qlever-ui/issues/new) this operation to us.

It seems that prefix declarations cause the problem. The following query returns the aforementioned error:

PREFIX : <http:/example.org>
SELECT * WHERE {
      ?s ?p ?o . 
}

https://qlever.cs.uni-freiburg.de/wikidata/aIJvR9

whereas this query returns all triples in the dataset:

SELECT * WHERE {
      ?s ?p ?o . 
}

This is the log of the Qlever UI container:

2025-02-24 15:48:24 [2025-02-24 14:48:24 +0000] [1] [INFO] Starting gunicorn 22.0.0
2025-02-24 15:48:24 [2025-02-24 14:48:24 +0000] [1] [INFO] Listening at: http://0.0.0.0:7000 (1)
2025-02-24 15:48:24 [2025-02-24 14:48:24 +0000] [1] [INFO] Using worker: sync
2025-02-24 15:48:24 [2025-02-24 14:48:24 +0000] [7] [INFO] Booting worker with pid: 7
2025-02-24 15:48:24 [2025-02-24 14:48:24 +0000] [14] [INFO] Booting worker with pid: 14
2025-02-24 15:48:24 [2025-02-24 14:48:24 +0000] [15] [INFO] Booting worker with pid: 15
@hannahbast
Copy link
Member

Uh-oh, that is from the recently merged #126

@Qup42 Can you have a look? I expect there to be an easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants