Tag: sparql

closuresOpenLink Virtuoso HTTP连接

我们使用OpenLink Virtuoso作为NodeJS项目的主要数据库pipe理器。 我们只通过HTTP SPARQL端点使用SPARQL查询来查询数据库。 为此,我们使用request-promise库,具有以下configuration: const queryRequest = rp({ method: "POST", uri: queryObject.fullUrl, form: { query: queryObject.query, maxrows: queryObject.maxRows, format: queryObject.resultsFormat }, headers: { 'content-type': 'application/x-www-form-urlencoded' }, json: true, forever : true, // Keep connections alive instead of creating new ones timeout : Config.dbOperationTimeout, }) .then(function (parsedBody) { 运行我们的testing时,我们启动应用程序(新的快速应用程序对象和nodejs服务器)数百次,并试图closures它干净。 应用程序closures,服务器也,但我认为,virtuoso连接保持开放,因为连接的数量不断增加,尽pipe我们正试图重用现有的连接。 close()方法(将应用程序closures)运行这些函数: const closePendingConnections = function(callback) […]

Node.js模块用于RDF存储(持久存储)并支持SPARQL HTTP协议?

我正在寻找一个Node.js模块,它将充当持久性RDF存储,并且还将支持SPARQL协议(端点)。 实际上,我有一些RDF,我应该发布为关联数据,并允许通过SPARQL端点访问RDF数据。 任何帮助,欢迎! 谢谢。 干杯!