Reputation: 99
I am trying to learn Virtuoso, and I tried for 'Generating Linked Data Views from Relational Data Sources'. I got the URN and try executing the SPARQL execution. with following details:
Default Graph IRI: urn:localhost:8890:CSV
Query:
SELECT *
FROM <urn:sparql:tests:create:data>
WHERE
{
?s ?p ?o
}
I got output like this:
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
Now when i tried to access the links mentioned in above table, i get error. location not found.
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'
Any help or suggestions are more than welcomed. Thank you.
Upvotes: 0
Views: 78
Reputation: 9434
It seems likely you haven't followed the documentation, Automated Generation of Linked Data Views over Relational Data Sources with Virtuoso, and so haven't installed the cartridges_dav.vad
and fct_dav.vad
VAD packages, which bring the /about/
page which is giving you the 404
.
Note that there are different VAD builds for use with each of Commercial and Open Source Virtuoso, and these should generally be matched to the Virtuoso version in use.
ObDisclaimer: OpenLink Software produces Virtuoso, and employs me.
Upvotes: 0