Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed May 9, 2019
1 parent 830a6e1 commit 937bdf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/rdf/applyQuery.ts
Expand Up @@ -17,6 +17,8 @@ export async function applyQuery (dataset: any, sparqlQuery: string): Promise<st
const myEngine = newEngine()
const result: any = await myEngine.query(sparqlQuery,
{ sources: [ { type: 'rdfjsSource', value: store } ] })
// const sparqlResult = await myEngine.resultToString(result, 'application/json')
// debug(sparqlResult)
const bindings = await new Promise((resolve) => {
const bindings: any = []
result.bindingsStream.on('end', () => {
Expand Down

0 comments on commit 937bdf4

Please sign in to comment.