## read_query()


Read a SPARQL query from a file path or URL.


Usage

``` python
read_query(query)
```


## Parameters


`query: str | Path`  
URL to fetch query from.


## Returns


`str`  
SPARQL query string.


## Raises


`DataLoadingError`  
If the query cannot be loaded.
