UNPKG

@netwerk-digitaal-erfgoed/ld-workbench

Version:

LDWorkbench is a Linked Data Transformation tool designed to use only SPARQL as transformation language.

6 lines 378 B
import { type SelectQuery, type ConstructQuery } from 'sparqljs'; type QueryTypes = 'select' | 'construct'; type QueryType<T> = T extends 'select' ? SelectQuery : T extends 'construct' ? ConstructQuery : never; export default function getSPARQLQuery<T extends QueryTypes>(queryStringOrFile: string, type: T): QueryType<T>; export {}; //# sourceMappingURL=getSPARQLQuery.d.ts.map