I am using OpenLink Virtuoso to convert a Relational Database to RDF using this tutorial.
I have a database with 5 tables (Authors
, Keywords
, Publications
, References
, Rights
), and I imported them in Virtuoso database using .csv
files.
In the end of the "conversion" from RDB to Linked-Data graphs it presents the status of the operations which turn out OK, and gives me the following links:
SQL Relations (Tables) to RDF Statements (Predicate / Property Graph) Mappings
http://localhost:8890/schemas/CSV/qm-authors_csv
http://localhost:8890/schemas/CSV/qm-keywords_csv
http://localhost:8890/schemas/CSV/qm-publications_csv
http://localhost:8890/schemas/CSV/qm-references_csv
http://localhost:8890/schemas/CSV/qm-rights_csv
http://localhost:8890/schemas/CSV/qm-VoidStatistics
Sample Graph IRIs & Linked Data Entity URIs
RDFDocument (Named Graph) IRIs:
Transient Views: http://localhost:8890/CSV#
http://localhost:8890/CSV/authors_csv/ID/1#this
http://localhost:8890/CSV/authors_csv/ID/1#this
http://localhost:8890/CSV/keywords_csv/ID/1#this
http://localhost:8890/CSV/publications_csv/ID/1#this
http://localhost:8890/CSV/publications_csv/ID/1#this
http://localhost:8890/CSV/objects/publications_csv/ID/1/DisplayOnMLKD.bin
http://localhost:8890/CSV/references_csv/ID/1#this
http://localhost:8890/CSV/references_csv/ID/1#this
http://localhost:8890/CSV/rights_csv/ID/1#this
http://localhost:8890/CSV/rights_csv/ID/1#this
Metadata Data Document (VoiD) URI/URL: http://localhost:8890/CSV/stat#
Linked Data Ontology URI: http://localhost:8890/schemas/CSV/
I tried using the following SPARQL query to view all the results to check them:
SELECT *
FROM <http://localhost:8890/CSV>
WHERE {?s ?o ?p}
But what I need is to check each graph separately.
Question 1:
Based on the above results how can I access each of the graphs (for the tables Authors
, Publications
, References
etc.) that were created using SPARQL?
Question 2:
What query should I write to delete a graph?