什么是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


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

查看所有标签

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

Learning PHP, MySQL, and JavaScript

Learning PHP, MySQL, and JavaScript

Robin Nixon / O'Reilly Media / 2009-7-21 / USD 39.99

Learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript - whether or not you know how to program. This simple, streamlined guide explains how the powerful combination of P......一起来看看 《Learning PHP, MySQL, and JavaScript》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

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

HTML 编码/解码