diff --git a/lib/Cube.js b/lib/Cube.js index 3fa00ff..e6525d7 100644 --- a/lib/Cube.js +++ b/lib/Cube.js @@ -17,7 +17,6 @@ class Cube extends Node { this.source = source this.ignore = new TermSet(ignore) - this.queryPrefix = '#pragma describe.strategy cbd\n' this.quads = [] } @@ -38,10 +37,8 @@ class Cube extends Node { } cubeQuery () { - const prefix = this.queryPrefix || '' const query = cubeQuery({ cube: this.term, graph: this.source.graph }) - - return [prefix, query.toString()].join('') + return query.toString() } async fetchCube () { @@ -54,10 +51,10 @@ class Cube extends Node { shapeQuery () { if (!this.source.graph) { - return `${this.queryPrefix}DESCRIBE <${this.ptr.out(ns.cube.observationConstraint).value}>` + return `DESCRIBE <${this.ptr.out(ns.cube.observationConstraint).value}>` } - return `${this.queryPrefix}DESCRIBE <${this.ptr.out(ns.cube.observationConstraint).value}> FROM <${this.source.graph.value}>` + return `DESCRIBE <${this.ptr.out(ns.cube.observationConstraint).value}> FROM <${this.source.graph.value}>` } async fetchShape () {