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

Text Index. Issue with apostrophe and dash. #1704

Open
aindlq opened this issue Jan 8, 2025 · 1 comment
Open

Text Index. Issue with apostrophe and dash. #1704

aindlq opened this issue Jan 8, 2025 · 1 comment

Comments

@aindlq
Copy link

aindlq commented Jan 8, 2025

Essentially the same as #1399 but for apostrophe:

SELECT * WHERE {
  ?text <http://qlever.cs.uni-freiburg.de/builtin-functions/contains-entity> ?subject;
    <http://qlever.cs.uni-freiburg.de/builtin-functions/contains-word> "Villa* D'Este*".
  ?subject a <http://www.cidoc-crm.org/cidoc-crm/E53_Place>
}
ERROR: Assertion `isValidVariableName(_name)` failed. "?ql_matchingword_text_d'este" is not a valid SPARQL variable. Please report this to the developers. In file "/qlever/src/parser/data/Variable.cpp " at line 18
@aindlq aindlq changed the title Text Index. Issue with apostrophe. Text Index. Issue with apostrophe and dash. Jan 9, 2025
@aindlq
Copy link
Author

aindlq commented Jan 9, 2025

The same issue is with dash, so if contains word is bhex-le-2017-14-005* one gets the following error:

ERROR: Assertion `isValidVariableName(_name)` failed. "?ql_matchingword_text_bhex-le-2017-14-005" is not a valid SPARQL variable. Please report this to the developers. In file "/qlever/src/parser/data/Variable.cpp " at line 18

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

No branches or pull requests

1 participant