sparql-kernel
sparql-kernel copied to clipboard
Bug when results contain an empty string
It seems that SELECT results in sparql-results+xml format are handled incorrectly when they include an empty string literal (I have not tested with langString, just String literals). On trying to display such results (display: table), the following error arises:
Error: Response processing error: 'NoneType' object has no attribute 'replace'
When I change the result format from sparql-results+xml to application/json, the query succeeds and the results are displayed.
I receive the same error and would like to debug it further. How do I get the stack track in jupyter notebook for such an error?
I still get this error. A fix for me was to change the result format with %http_header Accept application/json, but it would be nice to take a look at #46 to fix it.