Treating files with a non .nt extension as NTriplesHi Alistair, since we do not have additional information about the files listed in the "imports" parameter - we check the extension of the file and in case it's ends with '.nt' we parse it as NTriples - otherwise we assume it is an rdf/xml serialized RDF. This was mainly because there are lot more variation of extensions for RDF/xml serialsedRDF files - .rdf,.rdfs,.owl, .xml, etc.
another question - it looks very strange to me that you are attempting to load this .~bak file - it is ...let say ... the older version of the intermediate backup file - new-temp-triples.nt, - it is renamed to ~.bak when its contents are merged with the main storage file - the one pointed by the 'file' parameter - so there is no need to try to add it during the initialization of the sail ... just check its contents against the main storage file and see yourself that everything is there... have a nice day, Damyan Ontotext Lab ----- Original Message ----- From: [EMAIL PROTECTED] To: owlim-discussion@ontotext.com Sent: Thursday, April 24, 2008 3:32 PM Subject: [OWLIM-discussion] Treating files with a non .nt extension asNTriples Hi Folks, In my sesame.conf file I'm attempting to load the new-temp-triples.nt.~bak file that is generated by KIM: <param name="imports" value= ... /space/applications/KIMPlatform/context/default/populated/new-temp-triples.nt.~bak; /space/applications/KIMPlatform/context/default/populated/new-temp-triples.nt;"/> <param name="defaultNS" value= ... http://www.ontotext.com/kim/2005/04/wkb#; http://www.ontotext.com/kim/2005/04/wkb#;"/> This gives me an error: [Fatal Error] wkb#:1:8: Element type "http:" must be followed by either attribute specifications, ">" or "/>". If, however, I add .nt to the end of the filename it loads fine. This won't solve the problem long-term though because KIM creates a new ~bak file when it analyses a new document. So can I: i) get OWLIM to treat non .nt files as an Ntriple file or ii) get KIM to use a different filename for new-temp-triples.nt.~bak which has .nt extension? Thanks, Alistair Alistair Duke Next Generation Web Research IT Futures Research Centre BT Group Chief Technology Office ___________________________ Office: +44(0) 1473 608192 Mobile: +44(0) 7730 426257 Fax : +44(0) 1473 609832 Email: [EMAIL PROTECTED] British Telecommunications plc Registered office: 81 Newgate Street London EC1A 7AJ Registered in England no. 1800000 This electronic message contains information from British Telecommunications plc which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately. Activity and use of the British Telecommunications plc email system is monitored to secure its effective operation and for other lawful business purposes. Communications using this system will also be monitored and may be recorded to secure effective operation and for other lawful business purposes. ------------------------------------------------------------------------------ _______________________________________________ OWLIM-discussion mailing list OWLIM-discussion@ontotext.com http://ontotext.com/mailman/listinfo/owlim-discussion_ontotext.com
_______________________________________________ OWLIM-discussion mailing list OWLIM-discussion@ontotext.com http://ontotext.com/mailman/listinfo/owlim-discussion_ontotext.com