WDscholia / scholia

Wikidata-based scholarly profiles
https://scholia.toolforge.org
Other
215 stars 77 forks source link

id-to-quickstatements crashes with specific query #2459

Closed fnielsen closed 2 months ago

fnielsen commented 2 months ago

Describe the bug id-to-quickstatements crashes with specific query aft PR #2453

To Reproduce Steps to reproduce the behavior:

  1. https://github.com/WDscholia/scholia/commit/cf198c1cdee2a08d8d02c54dae7bdff2f0bef71a
  2. http://127.0.0.1:8100/id-to-quickstatements?query=Zhang%2C+R.%2C+Madumal%2C+P.%2C+Miller%2C+T.%2C+Ehinger%2C+K.A.%2C+Rubinstein%2C+B.I.%3A+Invertible+concept-based+explanations+for+cnn+models+with+non-negative+concept+activation+vectors.+In%3A+Proceedings+of+the+AAAI+Conference+on+Artificial+Intelligence.+vol.+35%2C+pp.+11682%E2%80%9311690+%282021%29.+https%3A%2F%2Fdoi.org%2F10.1609%2Faaai.v35i13.17389

Expected behavior Should not crash, e.g., return an error message.