SPARQL Studio API / Yasqe / qlueLs / fetchPrefixMap
Function: fetchPrefixMap()
fetchPrefixMap(
endpoint):Promise<PrefixMap>
Defined in: sparql-utils/src/languageServers/qlueLs.ts:352
Fetch a prefix map from a SPARQL endpoint by querying for prefixes declared with SHACL (sh:prefix / sh:namespace). Falls back to fallbackPrefixMap when the endpoint exposes none or the request fails.
Parameters
endpoint
string
Returns
Promise<PrefixMap>