4 Plugin modules for rdf_db
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • Plugin modules for rdf_db
          • Hooks into the RDF library
          • library(semweb/rdf_zlib_plugin): Reading compressed RDF
          • library(semweb/rdf_http_plugin): Reading RDF from a HTTP server
          • library(semweb/rdf_cache): Cache RDF triples
          • library(semweb/rdf_litindex): Indexing words in literals
          • library(semweb/rdf_persistency): Providing persistent storage

4.3 library(semweb/rdf_http_plugin): Reading RDF from a HTTP server

This module allows for rdf_load('http://...'). It exploits the library library(http/http_open.pl). The format of the URL is determined from the mime-type returned by the server if this is one of text/rdf+xml, application/x-turtle or application/turtle. As RDF mime-types are not yet widely supported, the plugin uses the extension of the URL if the claimed mime-type is not one of the above. In addition, it recognises text/html and application/xhtml+xml, scanning the XML content for embedded RDF.