View source with raw comments or as raw
   1:- module(conf_rdfpath, []).
   2
   3/** <module> Configure location of the RDF (ontology) library
   4
   5This module uses user:file_search_path/2 to define locations for loading
   6RDF data. Ontology library directories   contain  files =|Manifest.ttl|=
   7that describe RDF-data and their dependencies.
   8
   9Registered bundles of RDF-data that have   a dcterms:title attribute are
  10displayed on the page  that  appears   from  the  menu-item  =*File/Load
  11ontology from library*=. Manifests often specify   local files, but they
  12can also specify RDF from HTTP servers.
  13
  14@see	rdf_attach_library/1
  15*/
  16
  17:- multifile
  18	user:file_search_path/2.
  19:- dynamic
  20	user:file_search_path/2.
  21
  22/* Assume RDF files are located in a directory
  23   called 'rdf' located on the same level as the
  24   directory the server is running from.
  25*/
  26
  27user:file_search_path(rdf, '../rdf').
  28% user:file_search_path(rdf, '../econnect/demo/vocs').
  29% user:file_search_path(rdf, '../econnect/demo/metadata').