RDF 解析错误:元素或属性“http:”不匹配 QName 产生: QName::=(NCName:)?NCName
我刚刚创建了一个新的 Ontotext 数据库,并且正在尝试将 rdf 文件导入到该数据库中。
这些文件来自官方机构网站。
内容是(前三行):
<http://dati.camera.it/ocd/persona.rdf/p301553> <http://www.w3.org/2000/01/rdf-schema#label> "Red John"^^<http://www.w3.org/2001/XMLSchema#string> .
<http://dati.camera.it/ocd/persona.rdf/p25460> <http://xmlns.com/foaf/0.1/gender> "male" .
<http://dati.camera.it/ocd/persona.rdf/p300460> <http://purl.org/dc/elements/1.1/title> "John Doe" .
并且我在第一行收到以下错误:
RDF Parse Error: Element or attribute "http:" do not match QName production: QName::=(NCName:)?NCName. [line 1, column 7]
所以,问题是:如何在 Ontotext
QName Production > 导入外部资源时?
I just created a new Ontotext DB, and I'm trying to import an rdf file into the DB.
The files comes from an official institutional site.
The content is (first three lines):
<http://dati.camera.it/ocd/persona.rdf/p301553> <http://www.w3.org/2000/01/rdf-schema#label> "Red John"^^<http://www.w3.org/2001/XMLSchema#string> .
<http://dati.camera.it/ocd/persona.rdf/p25460> <http://xmlns.com/foaf/0.1/gender> "male" .
<http://dati.camera.it/ocd/persona.rdf/p300460> <http://purl.org/dc/elements/1.1/title> "John Doe" .
and I received the following error on the first line:
RDF Parse Error: Element or attribute "http:" do not match QName production: QName::=(NCName:)?NCName. [line 1, column 7]
So, the question is: how can I set/match a QName production
on Ontotext
when importing an external resource?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论