Mark, you could use the RDF::Sesame plugin (
http://rdf.rubyforge.org/sesame/) to interface to Sesame, which does inference for you. There is also an in-the-works RDFS gem (
http://rdfs.rubyforge.org/) that will provide RDFS++ natively in Ruby for any RDF.rb-compatible graph or repository.