
/*
  It's tempting to use "me" instead of "self:me" and have 
  toURI(me, 'http://127.0.0.1:7116/terms/me') somewhere
  down the line, ... but that would mean a KB would not be
  directly transferrable.  Hrm.
*/

% note that this may be re-run during operation, and or during startup
% with a saved state from another machine.

% define the function; run it at the bottom
reset_local_configuration :-

	Web_Prefix = 'http://roke.hawke.org:7116',
	Self_Prefix = 'http://roke.hawke.org:7116/terms/',

	
	rdf_unregister_ns(self),
	rdf_register_ns(self, Self_Prefix),

	rdf_register_ns(sw, 'http://www.w3.org/2004/01/semwalker/terms/'),

	update([],
	       [
		says(_, _, _, me(config))
		],
	       [
		rdf(self:me, rdf:type, sw:'Agent'),
		rdf(self:me, sw:adminUri, 'http://www.w3.org/2000/01/sw/'),
		rdf(self:me, sw:adminName, 'W3C-SWAD'),
		rdf(self:me, sw:version, 'unreleased_version'),
		rdf(self:me, sw:policiesUri, 'http://www.w3.org/Consortium/Legal/privacy-statement-20000612#Public'),
		rdf(self:me, sw:self_uri_prefix, Web_Prefix),
		rdf(self:me, sw:http_service_port, 7116)
	       ], me(config)
	      ),
	true.

:- reset_local_configuration.