https://github.com/blackwinter/ontopia-tldr
Tolog Document Retrieval with Ontopia.
https://github.com/blackwinter/ontopia-tldr
bibliographic-references ontopia ruby rubynlp topicmaps
Last synced: 6 months ago
JSON representation
Tolog Document Retrieval with Ontopia.
- Host: GitHub
- URL: https://github.com/blackwinter/ontopia-tldr
- Owner: blackwinter
- License: other
- Created: 2013-07-30T11:37:51.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-10-12T09:50:11.000Z (almost 9 years ago)
- Last Synced: 2025-03-05T03:11:19.915Z (7 months ago)
- Topics: bibliographic-references, ontopia, ruby, rubynlp, topicmaps
- Language: Ruby
- Homepage: http://blackwinter.github.io/ontopia-tldr
- Size: 465 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
= ontopia-tldr - Tolog Document Retrieval with Ontopia
== VERSION
This documentation refers to ontopia-tldr version 0.1.2
== DESCRIPTION
Ontopia::TLDR is an attempt at bridging the gap between the worlds of formal
knowledge representation (ontologies, topic maps, etc.) and bibliographic document
retrieval (bibliographic databases). It allows for retrieving documents from
bibliographic databases (currently, only Midos[http://progris.de] databases are
supported) by means of tolog[http://ontopia.net/omnigator/docs/query/tutorial.html],
Ontopia's[http://ontopia.net] topic map query language.=== Deployment
Ontopia::TLDR comes as a Sinatra application, so all the standard deployment
options apply (rackup, Passenger[https://www.phusionpassenger.com/], etc.).
However, in order to allow for maximum flexibility, you need to supply your
own config.ru file; e.g. (see Ontopia::TLDR for available options):require 'ontopia/tldr'
run Ontopia::TLDR.set(
dbm_file: File.expand_path('../tldr.dbm', __FILE__),
xtm_file: File.expand_path('../tldr.xtm', __FILE__),document_keys: %w[YOUR DOCUMENT KEYS],
topic_keys: %w[YOUR TOPIC KEYS],title: 'YOUR TITLE'
)Assuming the following directory layout:
/srv/tldr
|
+-- config.ru
|
+-- tldr.dbm
|
+-- tldr.xtm
|
`-- tmp/Place your database and topic map files there and adjust their paths in the
config.ru file. The tmp/ directory is used by Passenger
for the restart.txt file.To deploy Ontopia::TLDR with Passenger on Apache, create a symlink in the
DocumentRoot pointing to the app's public/ directory (this example
makes use of current_gem[http://blackwinter.github.com/current_gem]; adjust
the paths according to your environment):/var/www
|
`-- tldr -> /usr/local/jruby/lib/ruby/gems/shared/current/ontopia-tldr/lib/ontopia/tldr/publicThen put the following snippet in Apache's VirtualHost configuration:
...RackBaseURI /tldr
Options -MultiViews
PassengerAppRoot /srv/tldr # <-- This (non-standard) line is important
PassengerRuby /usr/local/jruby/bin/jruby # <-- And this one sets the Ruby interpreter to JRuby
== SUPPORTED PLATFORMS
Ontopia::TLDR requires JRuby[http://jruby.org]. It has been tested with jruby
1.7.4 (1.9.3p392) on OpenJDK 64-Bit Server VM 1.6.0_27-b27 [linux-amd64] and
jruby 9.0.0.0 (2.2.2) on OpenJDK 64-Bit Server VM 24.79-b02 1.7.0_79-b14
[linux-amd64].== LINKS
Ontopia:: http://ontopia.net/
Demo:: http://ixtrieve.fh-koeln.de/ghn
Documentation:: https://blackwinter.github.com/ontopia-tldr
Source code:: https://github.com/blackwinter/ontopia-tldr
RubyGem:: https://rubygems.org/gems/ontopia-tldr== AUTHORS
* Jens Wille
== LICENSE AND COPYRIGHT
Copyright (C) 2013-2015 Jens Wille
ontopia-tldr is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.ontopia-tldr is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
License for more details.You should have received a copy of the GNU Affero General Public License
along with ontopia-tldr. If not, see .