Hi,I have been trying to load few NT (N-Triple files) using virtuoso API
with the following code:

===
String virtuosoBaseDir ;
String virtuosoWebServerPath ;
String file;
VirtGraph myGraph = new VirtGraph (graphname,url, "dba", "dba");

            try
            {

                String formatType = "N-TRIPLE";
                myGraph.read((virtuosoWebServerPath + file), formatType);
           }

==

The above code doesnt work. however the same code works if  I convert the NT
file to rdf/xml and change the formatType to "RDF/XML" and program loads the
file perfectly fine. I have checked Jena's
api<http://jena.sourceforge.net/IO/iohowto.html>and they do indeed
refer to the NT files as "N-TRIPLE" format type so why
doent virtuoso load it?

any hints?

Thanks


-- 
Regards

Dhaval Thakker

Reply via email to