Sha256: b8f5f3af9b44cebfb8275e2ffbb2814340a1b47ddd6a98e194439ae84f51dfcd

Contents?: true

Size: 500 Bytes

Versions: 7

Compression:

Stored size: 500 Bytes

Contents

#
# Author:  Karsten Huneycutt
# Copyright 2007 Valkeir Corporation
# License:  LGPL
#
module Pellet
  
  class << self
    bool_accessor :pellet_available
    attr_accessor :reasoner_factory
  end

  begin
    include_class('org.mindswap.pellet.jena.PelletReasonerFactory')
    self.pellet_available = true
    self.reasoner_factory = PelletReasonerFactory.theInstance
  rescue
    self.pellet_available = false
  end

  module Query
    include_package('org.mindswap.pellet.query.jena')
  end

end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
activerdf_net7-1.6.16 activerdf-jena/lib/activerdf_jena/pellet.rb
activerdf_net7-1.6.15 activerdf-jena/lib/activerdf_jena/pellet.rb
activerdf_net7-1.6.14 activerdf-jena/lib/activerdf_jena/pellet.rb
activerdf_net7-1.6.13 activerdf-jena/lib/activerdf_jena/pellet.rb
activerdf_net7-1.6.12 activerdf-jena/lib/activerdf_jena/pellet.rb
activerdf_net7-1.6.11 activerdf-jena/lib/activerdf_jena/pellet.rb
activerdf_jena-0.1 lib/activerdf_jena/pellet.rb