Create a Linked Data Resource with RDF/XML content
The following guide presents simple scenario how to import Linked Data from RDF/XML file format:
- Go to http://cname/ods .
- Enter your user credentials. In this example we will use user "demo".
- Go to Briefcase.
- Create a folder from type "Linked Data Import" ( for ex. with name "MyData?" and assigned graph "urn:mydata" ) using the ODS-Briefcase UI.
- Go to path "DAV/home/demo/MyData":
- Click "Create":
- In the presented form:
- Specify File name, for ex. "data.rdf";
- Specify File Mime type: "text/rdf+xml";
- Enter this content in the File Content text-area:
- Click "Create".
- As result the new file "data.rdf" should be created.
Note additional file "urn_mydata.RDF" has been created too:
- Now let's check the inserted triples.
Go to your Virtuoso SPARQL endpoint, i.e.
http://cname/sparql
. - Enter in the Query area the following simple query:
SELECT * FROM <urn:mydata> WHERE { ?s ?p ?o }
- Click "Run Query".
- Should be shown the inserted triples:
Related
- ODS-Briefcase Data Space.
- Create Linked Data Resources using a variety content formats from the RDF family:
- RDF Insert Methods in Virtuoso.
- Virtuoso Tips and Tricks Collection.