fuseki 在线更新数据库命令:
s-update --service=http://localhost:3030/ds/update --file=update.ru
fuseki 的官网上写的命令是 s-update --service http://localhost:3030/ds/update --file=update.ru,其中--service之后没有写“=”,有误。
update.ru 的格式为:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ab: <http://learningsparql.com/ns/addressbook#>
PREFIX d: <http://learningsparql.com/ns/data#>
INSERT
{
d:i8301 ab:homeTel "(718) 440-9821" .
ab:Person a rdfs:Class .
}
WHERE {}
本文介绍了使用Fuseki进行在线更新数据库的方法,纠正了官方文档中命令格式的错误,并提供了正确的命令示例及SPARQL更新语法。
1万+

被折叠的 条评论
为什么被折叠?



