The URL validation method, sends a HEAD request to SPARQL endpoint. However Qlever does not suport HEAD method yet:
ERROR: Request method "HEAD" not supported (only GET and POST are supported; PUT, DELETE, HEAD and PATCH for graph store protocol are not yet supported)
So, maybe this URL validation method should use GET instead.
|
res_code = requests.head(url, params={"query": query}).status_code |
The URL validation method, sends a HEAD request to SPARQL endpoint. However Qlever does not suport HEAD method yet:
So, maybe this URL validation method should use GET instead.
pyRDF2Vec/pyrdf2vec/utils/validation.py
Line 95 in 940ef53