import { Algebra } from "sparqlalgebrajs" ; import { IQueryEngine } from "../lib/IQueryEngine" ; export class QueryEngineMock implements IQueryEngine { private readonly bindings : any [ ] ; constructor ( bindings ) { this . bindings = bindings ; } public async query ( query , options ? ) { return { results : { bindings : this . bindings } } ; } }