什么是SPARQL查询以获取我的triplestore中存在的所有图的名称?

栏目: 数据库 · 发布时间: 7年前

内容简介:我想在我的Fuseki服务器中获取所有现有图形的名称,它应该返回一个带有所有图形名称列表的消息.翻译自:https://stackoverflow.com/questions/32274562/what-is-the-sparql-query-to-get-the-name-of-all-graphs-existing-in-my-triplestor

我想在我的Fuseki服务器中获取所有现有图形的名称,它应该返回一个带有所有图形名称列表的消息.

我在Virtuoso尝试了 the answer given by Joshua Taylor 但没有得到任何结果.

什么是SPARQL查询以获取我的triplestore中存在的所有图的名称?

也许在fuseki和virtuoso之间有所不同.

所以我为那些只找到像我这样的答案的virtuoso用户提供了一个sparql.

SELECT DISTINCT ?g 
WHERE {
  GRAPH ?g { ?s ?p ?o }
}

翻译自:https://stackoverflow.com/questions/32274562/what-is-the-sparql-query-to-get-the-name-of-all-graphs-existing-in-my-triplestor


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Text Algorithms

Text Algorithms

Maxime Crochemore、Wojciech Rytter / Oxford University Press / 1994

This much-needed book on the design of algorithms and data structures for text processing emphasizes both theoretical foundations and practical applications. It is intended to serve both as a textbook......一起来看看 《Text Algorithms》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具