Virtuoso Open-Source Edition

  • Topic
  • Discussion
  • 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:

    1. Go to http:///ods -- ODS home page.
    2. Login, in this guide we do so as user 'demo'.
    3. Go to the Briefcase application.
    4. Create a folder from type "Linked Data Import" (for ex. with name "MyData" and assigned graph "urn:mydata" ) using the ODS-Briefcase UI.
    5. Go to path "DAV/home/demo/MyData":



    6. Click "Create":



    7. 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:



    8. Click "Create".
    9. At this point a new file "data.nt" would have been be created. Note additional resource "urn_mydata.RDF" has been created too:



    10. To verify insertion triples into the underlying Quad Store. Go to your Virtuoso SPARQL endpoint, i.e. http:///sparql.
    11. Enter in the Query area the following simple query:

      SELECT * FROM <urn:mydata> WHERE { ?s ?p ?o }





    12. Click "Run Query".
    13. Should be shown the inserted triples:



    Related