mauriciobomfim / lua-activerdf

Lua ActiveRDF is a library for accessing RDF data from Lua programs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lua ActiveRDF
(http://activerdf.luaforge.net/)

Lua ActiveRDF is a library for accessing RDF data from Lua programs. 
In fact, Lua ActiveRDF is a Lua version of ActiveRDF (www.activerdf.org) for Ruby.
Lua ActiveRDF allows you to rapidly create semantic web applications.
Lua ActiveRDF gives you a Domain Specific Language (DSL) for your RDF model: you can 
address RDF resources, classes, properties, etc. programmatically, without queries.

Simple Example
--------------
The following example uses a SPARQL endpoint and displays all 
people found in the data source:

	rdf = require 'activerdf'
	url = 'http://tecweb08.tecweb.inf.puc-rio.br:8890/sparql'
	rdf.ConnectionPool.add_data_source { type = 'sparql', engine = 'virtuoso', url = url }
	
	foaf = rdf.Namespace.register ( 'test', 'http://activerdf.luaforge.net/test/' )
	
	people = foaf.Person:find_all()
	for _, person in ipairs(people) do
		print(person.name)
	end

Lua ActiveRDF is distributed as a Lua module.

Lua ActiveRDF is free software and uses the same license as Lua 5.1.

Current version is 0.1. It was developed for Lua 5.1.

Download

Lua ActiveRDF source can be downloaded from its Lua Forge page:
http://luaforge.net/frs/?group_id=370

Dependencies

Lua ActiveRDF depends on three modules:	
	* LOOP 2.2	
	* uuid library for Lua 5.1 / Sep 2007	
	* LPeg 0.8
	 
History

Version 0.1 [17/Jul/2008]

Installing

Authors
	* Mauricio Henrique de Souza Bomfim

About

Lua ActiveRDF is a library for accessing RDF data from Lua programs


Languages

Language:Lua 94.2%Language:HTML 3.7%Language:CSS 2.1%