Virtuoso Open-Source Wiki
Virtuoso Open-Source, OpenLink Data Spaces, and OpenLink Ajax Toolkit
Advanced Search
Help?
Location: / Dashboard / Main / VOSIndex / VirtSetCrawlerJobsGuide / VirtCrawlerGuideAtom

Virtuoso Crawler Guide for populating Virtuoso Quad Store using ATOM feed

What?

This Guide demonstrates populating the Virtuoso Quad Store using ATOM feed.

Why?

Populating the Virtuoso Quad Store can be done in different ways Virtuoso supports. The Conductor -> Content Import UI offers plenty of options, one of which is the XPath expression for crawling RDF resources URLs and this feature is a powerful and easy-to-use for managing the Quad Store.

How?

To populate the Virtuoso Quad Store, in this Guide we will use a XPAth expression for the URLs of the RDF resources references in a given ATOM feed. For ex. this one of the "National Bibliography" Store.

Sample Scenario

  1. Go to http://cname/conductor
  2. Enter dba credentials
  3. Go to Web Application Server -> Content Management -> Content Imports:



  4. Click "New Target":



  5. In the presented form specify respectively:
    • Crawl Job Name: for ex. National Bibliography ;
    • Data Source Address (URL): for ex. http://data.libris.kb.se/nationalbibliography/feed/ ;
      • Note: the entered URL will be the graph URI for storing the imported RDF data. You can also set it explicitly by entering another graph URI in the "If Graph IRI is unassigned use this Data Source URL:" option.
    • Local WebDAV Identifier : for ex.

      /DAV/temp/nbio/

    • XPath expression for links extraction:

      //entry/link/@href

    • Update Interval (minutes): for ex. 10 ;
    • Run Sponger: hatch this check-box ;
    • Accept RDF: hatch this check-box ;
    • Store metadata: hatch this check-box ;
    • RDF Cartridge: hatch this check-box and specify what cartridges will be used:





  6. Click "Create":
  7. The new created target should be displayed in the list of available Targets:



  8. Click "Import Queues":



  9. Click for "National Bibliography" target the "Run" link from the very-right "Action" column:
  10. Should be presented list of Top pending URLs:



  11. Finally when the import is finished, should be shown the total URLs that were processed:



  12. Click "Back"



  13. Click "Retrieved Sites".



  14. Out target should be presented in the list of available retrieved sites. From here you could manage the retrieved URLs by editing the imported URLs or exporting to External/Internal WebDAV destination. Click for ex. the "Edit" link of the very-right "Action" column for our retrieved site.
  15. Should be presented all downloaded URLs of RDF resources referenced in our initial ATOM feed.



  16. To view the imported RDF data, go to http://cname/sparql and enter a simple query for ex.:

    SELECT * FROM <http://data.libris.kb.se/nationalbibliography/feed/> WHERE { ?s ?p ?o }





  17. Click "Run Query".
  18. The imported RDF data triples should be shown:



Related

Powered By Virtuoso