KeyError when query includes "UNION"
未關閉
bug
help wanted
- 主要語言
- Python
- 星號
- 24
- 分支
- 10
- PR 合併指標
- 30 天內沒有已合併 PR
描述
pretty much the title.
I'm a big fan of this package, it helped me alot in my Masterthesis but today I seemed to have trouble with it.
```
from aiosparql.client import SPARQLClient
async with SPARQLClient("https://dbpedia.org/sparql") as client:
result = await client.query("select ?redirects where {{?redirects dbo:wikiPageRedirects dbr:Big_Trout_Lake} union {dbr:Big_Trout_Lake dbo:wikiPageRedirects ?redirects}}")
```
this query seems to break and infact every query that includes "UNION". For now I will try to work around it by quering the endpoint two times and concatinate the results afterwards but it would be cool if you could fix that issue.
貢獻指南
評估
這個 Issue 還沒有評估資料。