Ruby Topic Maps integrates great with Active Record. You can link topic types with Active Record models and topics with Active Record instances. More about that will be documented soon.
Please find up-to-date documentation on http://docs.topicmapslab.de/rtm until this website is relaunched.
2009-04-29
More documentation, more examples, and related projects... soon.
It has been quiet a while around RTM. The diploma thesis around it was successfully completed in early May 2008 and other time-consuming projects followed. The most important of all is founding of the Topic Maps Lab, followed by scientific research, customer surveys and a business plan. Phase I of this venture was successfully completed end of 2008 and we’re close a next major step now. We hired a great team and will move to our new, bigger offices next week. Expect new releases, new features, new storage back ends in the next months. Stay tuned.
¬ Read more ¬ No Comments ¬ Share
2008-04-16
Some more details about referencing topics and creating topics by reference have been added below.
¬ Read more ¬ No Comments ¬ Share
2008-04-08
gem install rtm
Celebrating this event, I’m releasing version 0.1.1 featuring some code clean up, bug fixes and such. Maybe you’ll also find a tardy easter-egg inside.
By the way, this gem was packaged using JRuby – RTM runs fine on JRuby :-)
And, I forgot to say, the type-instance and supertype-subtype-stuff mentioned below, also works like this:
require ‘rtm’
RTM.connect
tm = RTM.create “urn:/bla”
tm.get!(“a1”).add_type(“A”)
tm.get!(“b2”).add_type(“B”)
tm.get!(“c3”).add_type(“C”)
tm.get(“A”).add_subtype(“B”)
tm.get(“B”).add_subtype(“C”)
¬ Read more ¬ No Comments ¬ Share
2008-04-02
Greetings from Oslo, Norway! After a 3 hour tutorial at the Topic Maps 2008 conference this morning some bugs were ironed out and RTM is now considered Beta. Try the new gem, it’s in the Download section and will soon be in the official gem repository.
¬ Read more ¬ No Comments ¬ Share
2007-12-13
A new preview release is available.
ca and cr are the short hand commands forcreate_association and create_role:
require ‘rtm’
RTM.connect
tm = RTM.create “urn:/bla”
a = tm.ca RTM::PSI[:type_instance]
a.cr “a1”, RTM::PSI[:instance]
a.cr “A”, RTM::PSI[:type]
a2 = tm.ca RTM::PSI[:type_instance]
a2.cr “b2”, RTM::PSI[:instance]
a2.cr “B”, RTM::PSI[:type]
a3 = tm.ca RTM::PSI[:type_instance]
a3.cr “c3”, RTM::PSI[:instance]
a3.cr “C”, RTM::PSI[:type]
a4 = tm.ca RTM::PSI[:supertype_subtype]
a4.cr “A”, RTM::PSI[:supertype]
a4.cr “B”, RTM::PSI[:subtype]
a5 = tm.ca RTM::PSI[:supertype_subtype]
a5.cr “B”, RTM::PSI[:supertype]
a5.cr “C”, RTM::PSI[:subtype]
tm.get(“A”).direct_instances # returns topic a1
tm.get(“A”).instances # returns topics a1, b2, c3
tm.get(“b2”).direct_types # returns topic B
tm.get(“c3”).types # returns topics A, B, C
¬ Read more ¬ No Comments ¬ Share
2007-10-26
I thought it is a good idea to also upload the slides from TMRA, so here they are: RTM presentation slides.
The day before TMRA, I gave a 3 hours tutorial on programming Ruby and using RTM. It covered standalone Ruby and basic usage of RTM in the first part. In the second part we created a Ruby on Rails web application and integrated RTM into it.
The slides were mostly a guideline through the tutorial and a reference for explaining things. Without these explanations and the demonstrations I did, it is a load of theory. I removed a bunch of organizational slides to not clutter it up too much.
¬ Read more ¬ No Comments ¬ Share
2007-10-18
This is the preliminary web site for Ruby Topic Maps which has been presented at TMRA 2007.
RTM is provided by Benjamin Bock "as is". Use it at your own risk. For details see the disclaimer . Feedback, Comments, Questions? Please send any of these to bb--rtm-web at bockb dot de (yes, that's bb dash dash rtm dash web...) or use the bug tracker to submit bug reports and/or patches. Please tell us (and your friends) if you're using RTM.
Topic Maps Lab is a research group at the Chair for Natural Language Processing at the Department of Computer Science at the University of Leipzig, Germany .
We are looking for researchers and software developers with sound experiences in Topic Maps or other semantic technologies. We offer full time and student jobs and supervise theses .