无法访问 RDF 文档(命名图)IRI:
cannot access RDF Document (Named Graph) IRIs:
我正在努力学习 Virtuoso,我尝试了 'Generating Linked Data Views from Relational Data Sources'。我得到了 URN 并尝试执行 SPARQL 执行。
详细信息如下:
Default Graph IRI: urn:localhost:8890:CSV
Query:
SELECT *
FROM <urn:sparql:tests:create:data>
WHERE
{
?s ?p ?o
}
我得到这样的输出:
s p o
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://localhost:8890/schemas/CSV/emp_csv
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://localhost:8890/schemas/CSV/dept_csv
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/ 7369
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/ename "smith"
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/job "clerk"
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://localhost:8890/schemas/CSV/deptno 10
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/deptno 10
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://localhost:8890/schemas/CSV/dname "appserver"
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://localhost:8890/schemas/CSV/loc "newyork"
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://localhost:8890/schemas/CSV/id 1
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/id 1
现在,当我尝试访问上述 table 中提到的链接时,出现错误。找不到位置。
For example if i select:
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this
I get the selected link addressed to:
http://localhost:8890/about/html/http://localhost:8890/CSV/emp_csv/DEPTNO/1#this
and the page shows:
Error HTTP/1.1 404 File not found
The requested URL was not found URI =
'/about/html/http:/localhost:8890/CSV/emp_csv/DEPTNO/1'
我们非常欢迎任何帮助或建议。
谢谢。
您似乎没有遵循文档 Automated Generation of Linked Data Views over Relational Data Sources with Virtuoso,因此没有安装 cartridges_dav.vad
和 fct_dav.vad
VAD 包,它们带来了 /about/
页面为您提供 404
.
请注意,每个 Commercial and Open Source Virtuoso 都有不同的 VAD 版本,这些通常应与使用的 Virtuoso 版本相匹配。
ObDisclaimer:OpenLink Software produces Virtuoso,并雇用了我。
我正在努力学习 Virtuoso,我尝试了 'Generating Linked Data Views from Relational Data Sources'。我得到了 URN 并尝试执行 SPARQL 执行。 详细信息如下:
Default Graph IRI: urn:localhost:8890:CSV
Query:
SELECT *
FROM <urn:sparql:tests:create:data>
WHERE
{
?s ?p ?o
}
我得到这样的输出:
s p o
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://localhost:8890/schemas/CSV/emp_csv
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://localhost:8890/schemas/CSV/dept_csv
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/ 7369
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/ename "smith"
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/job "clerk"
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://localhost:8890/schemas/CSV/deptno 10
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/deptno 10
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://localhost:8890/schemas/CSV/dname "appserver"
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://localhost:8890/schemas/CSV/loc "newyork"
http://localhost:8890/CSV/emp_csv/DEPTNO/1#this http://localhost:8890/schemas/CSV/id 1
http://localhost:8890/CSV/dept_csv/EMPNO/1#this http://localhost:8890/schemas/CSV/id 1
现在,当我尝试访问上述 table 中提到的链接时,出现错误。找不到位置。
For example if i select: http://localhost:8890/CSV/emp_csv/DEPTNO/1#this
I get the selected link addressed to: http://localhost:8890/about/html/http://localhost:8890/CSV/emp_csv/DEPTNO/1#this
and the page shows: Error HTTP/1.1 404 File not found
The requested URL was not found URI = '/about/html/http:/localhost:8890/CSV/emp_csv/DEPTNO/1'
我们非常欢迎任何帮助或建议。 谢谢。
您似乎没有遵循文档 Automated Generation of Linked Data Views over Relational Data Sources with Virtuoso,因此没有安装 cartridges_dav.vad
和 fct_dav.vad
VAD 包,它们带来了 /about/
页面为您提供 404
.
请注意,每个 Commercial and Open Source Virtuoso 都有不同的 VAD 版本,这些通常应与使用的 Virtuoso 版本相匹配。
ObDisclaimer:OpenLink Software produces Virtuoso,并雇用了我。