我试图在marmotta上更新我的数据库中的查询值。我有很多这样的资源:
a = A
我想编辑a.method_a()
字段,我有这样的值:
<rdf:Description rdf:about="http://desktop-pqb3a65:8080/marmotta/resource/7e31bb9e-5dee-4f44-b082-9f770d465ea0">
<hasContentPath xmlns="http://www.kiwi-project.eu/kiwi/core/">D:\Software\Marmotta\marmotta-home\resources\56\cc\73\56cc736b-f597-47e8-9ffc-f37c3dbf66be</hasContentPath>
<about xmlns="http://schema.org/">Fondamenti di Informatica</about>
<name xmlns="http://schema.org/">Hello World!</name>
<author xmlns="http://schema.org/">EduOpen</author>
<audience xmlns="http://schema.org/">Qualsiasi</audience>
<actor xmlns="http://schema.org/">Gianni Vercelli</actor>
<description xmlns="http://schema.org/">Accenni storici sulla nascita del calcolatore</description>
<width xmlns="http://schema.org/"></width>
<height xmlns="http://schema.org/"></height>
<duration xmlns="http://schema.org/"></duration>
</rdf:Description>
我想编辑并插入如下值:
hasContentPath
你能帮帮我吗?我试过这个问题:
D:\Software\Marmotta\marmotta-home\resources\56\cc\73\56cc736b-f597-47e8-9ffc-f37c3dbf66be
答案 0 :(得分:0)
字符串中的单\
用于转义序列。与linux shell不同,''
字符串也有转义。 \S
作为一种逃避是非法的 - 严格来说,这是一种语法错误。它似乎以某种方式解释,但它不太可能是字符\
和S
。