@igea/oac_backend 1.0.48 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igea/oac_backend",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "Backend service for the OAC project",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -106,6 +106,15 @@ class Fuseki {
106
106
  OFFSET ${offset}`
107
107
  }
108
108
 
109
+ static getQuerySearchInvestigation(id, prefix='http://indagine/') {
110
+ return `
111
+ PREFIX ex: <http://example.org/shapes/>
112
+ SELECT ?s
113
+ WHERE {
114
+ ?s ex:P48haspreferredidentifier01 <${prefix}${id}> .
115
+ }`
116
+ }
117
+
109
118
  }
110
119
 
111
120
  module.exports = Fuseki;