assert(require('excel')) function test(file) excel.toXML(file) local T = excel.XML2table(file..'.xml') for name,sheet in pairs(T) do print('sheet name', name, #sheet) for _,row in ipairs(sheet) do local s = '' for _,v in ipairs(row) do s = s..tostring(v)..' ' end print(s) end end end function test1(file) excel.toXML(file) -- translate into Excel/XML (Microsoft format for Excel) excel.toTriples -- translate from Excel/XML into triples { input = file..'.xml', --output = file..'.ttl', --this is the default output, could be changed baseURI='http://myserver/datas/', schemaURI='http://myserver/onto', joinSheets=false, -- if false, one file for each shhet genID='obj', -- generator name for sheet RDF resources log='xxx.log' } end --test('D:/RDF/SAMPLES/projetManagement') test1( 'D:/RDF/SAMPLES/projetManagement' )