Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Labels with apostrophe(') do not work #18

Closed
johnsamuelwrites opened this issue Sep 25, 2021 · 3 comments
Closed

Labels with apostrophe(') do not work #18

johnsamuelwrites opened this issue Sep 25, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@johnsamuelwrites
Copy link

Labels with apostrophe(') currently do not work. I think that an escape character needs to be added, before sending the query string to WDQS.

Take for example:

Alzheimer's disease (Q11081)

returns the following error

Fetching items with labels that have one of the search strings by running a total of 11 queries on WDQS...INFO:backoff:Backing off execute_sparql_query(...) for 1.0s (requests.exceptions.HTTPError: 400 Client Error: Bad Request for url

@dpriskorn
Copy link
Owner

Try the latest pre-release and see if it works https://github.com/dpriskorn/ItemSubjector/releases/tag/v0.2-alpha1 :)

@johnsamuelwrites
Copy link
Author

@dpriskorn Thanks for this pre-release change, it's working.

@dpriskorn dpriskorn added the bug Something isn't working label Sep 26, 2021
@dpriskorn
Copy link
Owner

fixed by #25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants