github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

bendiken / rdfbus

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 7
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (2)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (1)
    • 0.0.1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

RDFbus is middleware for transmitting RDF publish/subscribe payloads over AMQP. — Read more

  cancel

http://rdfbus.rubyforge.org/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Bumped version to 0.0.1. 
bendiken (author)
Mon Feb 08 21:25:31 -0800 2010
commit  53e58c50a6111913b11bd9194e31f412cf39c06a
tree    f28152440840437e3b20332e89f0512de8c08d58
parent  8388de5e67ab38a1b203f9a9296a33ab8ac376b1
rdfbus /
name age
history
message
file .gemspec Mon Feb 08 14:04:53 -0800 2010 Replaced the UUIDTools gem dependency with the ... [bendiken]
file .gitignore Wed Dec 23 16:43:11 -0800 2009 Imported .gitignore. [bendiken]
file .yardopts Mon Feb 08 19:00:35 -0800 2010 Improved gem and README titling. [bendiken]
file AUTHORS Sun Feb 07 18:29:17 -0800 2010 Updated AUTHORS. [bendiken]
file README Wed Dec 23 16:39:18 -0800 2009 Unlicensed the project into the public domain. [bendiken]
file README.md Mon Feb 08 19:08:04 -0800 2010 Added links to RDF::JSON and RDF::Sesame. [bendiken]
file Rakefile Wed Dec 23 16:31:19 -0800 2009 Updated Rakefile. [bendiken]
file UNLICENSE Wed Dec 23 16:39:18 -0800 2009 Unlicensed the project into the public domain. [bendiken]
file VERSION Mon Feb 08 21:25:31 -0800 2010 Bumped version to 0.0.1. [bendiken]
directory bin/ Wed Dec 23 19:49:09 -0800 2009 Imported bin/rdfbus. [bendiken]
directory doc/ Wed Dec 23 16:43:11 -0800 2009 Imported .gitignore. [bendiken]
directory lib/ Mon Feb 08 21:25:31 -0800 2010 Bumped version to 0.0.1. [bendiken]
directory spec/ Sun Feb 07 18:30:51 -0800 2010 Added an RSpec bootstrap file. [bendiken]
README.md

RDFbus: Linked Data Transactions over AMQP

RDFbus is middleware for constructing RDF changesets/transactions and transmitting RDF publish/subscribe payloads over transports such as AMQP, XMPP or Stomp.

  • http://github.com/bendiken/rdfbus

Examples

require 'rdfbus'

Creating a transaction for updating an RDF statement

resource = RDF::URI.new("http://rdfbus.rubyforge.org/")

tx = RDFbus::Transaction.new do
  delete [resource, RDF::DC.title, "RDFbus 0.0.0"]
  insert [resource, RDF::DC.title, "RDFbus 0.0.1"]
end

Obtaining the JSON representation of a transaction

# Requires http://rdf.rubyforge.org/json/

tx.to_json   #=> {
             #     graph:  null,
             #     delete: {
             #       'http://rdfbus.rubyforge.org/': {
             #         'http://purl.org/dc/terms/title': [
             #           {'type': 'literal', 'value': 'RDFbus 0.0.0'}
             #         ]
             #       }
             #     },
             #     insert: {
             #       'http://rdfbus.rubyforge.org/': {
             #         'http://purl.org/dc/terms/title': [
             #           {'type': 'literal', 'value': 'RDFbus 0.0.1'}
             #         ]
             #       }
             #     }
             #   }

Executing a transaction against an RDF repository (1)

# Requires http://rdf.rubyforge.org/sesame/

require 'rdf/sesame'

endpoint   = "http://localhost:8080/openrdf-sesame"
server     = RDF::Sesame::Server.new(endpoint)
repository = server.repository("test")

tx = RDFbus::Transaction.new { ... }
tx.execute(repository)

Executing a transaction against an RDF repository (2)

RDFbus::Transaction.execute(repository) do |tx|
  ...
end

Documentation

  • http://rdfbus.rubyforge.org/

RDF Transactions

  • {RDFbus::Transaction}

Dependencies

  • RDF.rb (>= 0.0.9)
  • UUID (>= 2.1.1)
  • AMQP (>= 0.6.6)

Installation

The recommended installation method is via RubyGems. To install the latest official release from Gemcutter, do:

% [sudo] gem install rdfbus

Download

To get a local working copy of the development repository, do:

% git clone git://github.com/bendiken/rdfbus.git

Alternatively, you can download the latest development version as a tarball as follows:

% wget http://github.com/bendiken/rdfbus/tarball/master

Mailing List

  • http://groups.google.com/group/rdfbus

Resources

  • http://rdfbus.rubyforge.org/
  • http://github.com/bendiken/rdfbus
  • http://gemcutter.org/gems/rdfbus
  • http://rubyforge.org/projects/rdfbus/
  • http://raa.ruby-lang.org/project/rdfbus/
  • http://www.ohloh.net/p/rdfbus

Author

  • Arto Bendiken - http://ar.to/

License

RDFbus is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server