Create a Linked Data Resource with N-Triples content
The following guide presents simple step-by guide for creating a Linked Data style of hypermedia resource based on content in N-Triples format:
- Go to http://
/ods -- ODS home page. - Login, in this guide we do so as user 'demo'.
- Go to the Briefcase application.
- 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 e.g.,. "data.nt";
- Specify File Mime type: "text/plain";
- Enter this content in the File Content text-area:
- Click "Create".
- At this point a new file "data.nt" would have been be created.
Note additional resource "urn_mydata.RDF" has been created too:
- To verify insertion triples into the underlying Quad Store.
Go to your Virtuoso SPARQL endpoint, i.e.
http://
/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.