Skip to content

Perl modules to easily create RDF-based web applications

Notifications You must be signed in to change notification settings

nichtich/RDF-Light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RDF::Light

This project provides a set of Perl modules to create simple RDF-based web applications. It is in a very premature state of development and will not be published as "official" Perl module on CPAN before further testing and discussion. If you are interested in Perl and RDF in general, you should have a look at the RDF and Perl page.

The priority of RDF::Light is ease of use, but not 100% conformance with every aspect of the RDF technology stack.

Get started

Make sure you have installed Perl and you have a command line interface (the following statements after $ are commands). I recommend cpanminus to install required Perl modules. To use all of RDF::Light you need:

  1. RDF-Trine
  2. Plack
  3. Template Toolkit

With cpanminus you should be able to install these with the following commands:

$ cpanm RDF::Trine
$ cpanm Task::Plack
$ cpanm Template

Download RDF::Light from github via the web interface (the "Downloads" button at the right) or clone via git:

$ git clone git://github.com/nichtich/RDF-Light.git
$ cd RDF-Light

Once you have extracted all files in a directory you can run one of the example applications:

$ plackup -Ilib -r examples/countries/app.psgi
$ plackup -Ilib -r examples/lobid/app.psgi

Browse to http://localhost:5000 and you should get an HTML page with a list of country names as example. Have a look at the source code in the examples directory, modify them and see the results, and read the documentation.

Technical overview

RDF::Light consists of the following (sets of) classes, that can each be used independently. Some of them may get renamed or merged to existing Perl modules:

  • RDF::Light - a PSGI Middleware for Linked Data
  • RDF::Light::Source - a method to combine sources of RDF data

This list is not complete or stable. If you have suggestions or comments, you are welcome to submit an issue!

Author

RDF::Light is created by Jakob Voß

License

By now, licensed under the GNU Affero General Public License - that means if you use RDF::Light for public applications and extend the core modules, you must also publish your extensions. The final license may be less strict.

About

Perl modules to easily create RDF-based web applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published