Version 2 (modified by joshuadf, 11 years ago) (diff) |
---|
The FMS TermServer is a interface to the FMA written in lisp. There are two versions, a very old one written in perl and a newer one written in Java by Peter Mork that works with OQAFMA. Both are in CVS (the perl and java directories, the rest is OQAFMA itself and an ancient kbd) at http://sig.biostr.washington.edu/viewcvs/viewcvs.cgi/src/symkb/server/
New java FMS
Same lisp API as old FMS, just talks to current FMA via OQAFMA. An example query is:
(fms-get-children "Heart" "lymphatic drainage")
So an entire example session might be:
tricycle:~>telnet fma.biostr.washington.edu 8098 > Trying 128.95.228.16... > Connected to 128.95.228.16 (128.95.228.16). > Escape character is '^]'. > connected > 3 > (fms-get-children "Heart" "lymphatic drainage") > received > 4 > ( "Left cardiac tributary of tracheobronchial lymphatic tree" "Right > cardiac tributary of brachiocephalic lymphatic tree" ) > 3 > (quit)
Old perl FMS
The old currently lives at tela:/usr/local/lib/ts/ and needs /var/run/fm/ to exist for PIDs and maybe logs in debug mode. It uses the fm_master mysql database, a pre-Protege copy of the FMA. The Dynamic SceneGenerator uses the old FMS.
To get it running on sphenoid, I did this:
cp -a /usr/local/data/i386-linux/lib/ts/ /usr/local/lib mkdir /var/run/fm wget http://dag.wieers.com/packages/perl-IO-stringy/perl-IO-stringy-2.109-1.2.el4.rf.noarch.rpm wget http://dag.wieers.com/packages/perl-IO-Tty/perl-IO-Tty-1.02-1.2.el4.rf.i386.rpm rpm -Uhv perl-IO*rpm
After importing the database and lightly editing a couple of files, it worked.