/usr/lib/ruby/2.2.0/rdf/redland/convertfoaf.rb is in librdf-ruby 1.0.17.1+dfsg-1.2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | require 'rubyrdf'
require 'convert_owl'
model = Model.new()
parser = Parser.new()
parser.parse_into_model(model,"file:/home/dsisnero/programming/rdf-schemas/foaf.rdfs")
convert = Rdf2Owl.new(model)
serializer = Serializer.new()
serializer.to_file('/home/dsisnero/programming/rdf-schemas/foaf.owl',convert.model)
|