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