XTM - Topic Map, base distribution
use XTM; $tm = new XTM; # creating an empty map # reading a topic map description from an XML file use XTM::XML; $tm = new XTM (tie => new XTM::XML (file => 'mymap.tm')); # application specific persistent medium $tm = new XTM (tie => new XTM::Application::MineMineMine);
Topic Maps are a means for layering multidimensional topic spaces on top of information assets. The standard covers concepts like topics, associations, scopes and occurrences. Topic Maps are expected to have a major impact on future information systems and compete with RDF in the semantic web arena.
See http://www.topicmaps.org/xtm/1.0/ for more information.
Topic maps can be loaded from an XML based resource (local or remote via an URL) as prescribed by the XTM standard. There is also a way to tie a map to any persistent medium. The latter is especially interesting when running this module along with a (web) server.
Following programs come with this distribution:
A simple text interface to load & query topic maps locally.
An AsTMa= to XTM converter.
A filter which formats any incoming XTM stream into a nested XML document.
Following packages come with this distribution:
toplevel wrapper for (non-threaded) maps
in-memory representation of a map
PSI definitions
Abstract class
AsTMa adapter, this allows you to bind maps to an external AsTMa instance
LTM adapter, this allows you to bind maps to an external LTM instance
XML adapter, this allows to to bind maps to an external XTM document
SAX filter to create in-memory representation of a TM
logging facility will be used by others
accessor functions for all below
implementation of the 'topic' class
implementation of the 'association' class
generic class definition
Copyright 200[1-2], Robert Barta <rho@telecoma.net>, All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. http://www.perl.com/perl/misc/Artistic.html
To install XTM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XTM
CPAN shell
perl -MCPAN -e shell install XTM
For more information on module installation, please visit the detailed CPAN module installation guide.