class_docstr: Base class of the connectors.
  
  Attributes:
      _asession: The aiohttp session to use for asynchrone requests.
          Defaults to None.
      _headers: The HTTP headers to use.
          Defaults to {"Accept": "application/sparql-results+json"}.
      cache: The policy and size cache to use.
          Defaults to TTLCache(maxsize=1024, ttl=1200).
      endpoint: The endpoint to execute the queries.
class_docstr_tok: ["Base","class","of","the","connectors",".","Attributes",":","_asession",":","The","aiohttp","session","to","use","for","asynchrone","requests",".","Defaults","to","None",".","_headers",":","The","HTTP","headers","to","use",".","Defaults","to","{","``","Accept","''",":","``","application\/sparql-results+json","''","}",".","cache",":","The","policy","and","size","cache","to","use",".","Defaults","to","TTLCache","(","maxsize=1024",",","ttl=1200",")",".","endpoint",":","The","endpoint","to","execute","the","queries","."]
docstr: Fetchs the result of a query.
  
  Args:
      query: The query to fetch the result
  
  Returns:
      The JSON response.
  
  Raises:
      NotImplementedError: If this method is called, without having
          provided an implementation.
docstr_tok: ["Fetchs","the","result","of","a","query",".","Args",":","query",":","The","query","to","fetch","the","result","Returns",":","The","JSON","response",".","Raises",":","NotImplementedError",":","If","this","method","is","called",",","without","having","provided","an","implementation","."]
code: def fetch(self, query: str):
      """Fetchs the result of a query.
  
      Args:
          query: The query to fetch the result
  
      Returns:
          The JSON response.
  
      Raises:
          NotImplementedError: If this method is called, without having
              provided an implementation.
  
      """
      raise NotImplementedError("This must be implemented!")
  
file_path: pyRDF2Vec/pyrdf2vec/connectors.py
imports: import asyncio
  import operator
  from abc import ABC, abstractmethod
  from typing import Dict, List, Optional, Tuple, Union
  from urllib import parse
  import aiohttp
  import attr
  import numpy
  import requests
  from cachetools import Cache, TTLCache, cachedmethod
  from pyrdf2vec.typings import Literal, Response
label_desc: Use image node_id 1 for calling the Connector obj's underlying member method code with example usage: obj.fetch(query) without return types