Results 1 to 3 of 3

Thread: Load RDF file

  1. #1
    Join Date
    Jun 2011
    Rep Power

    Default Load RDF file


    I have written this following code to load a local RDF file to my local Virtuoso instance with the help of Jena. But even for the smallest of RDF file it times out. Can anybody please point out what could be the possible cause

    Java Code:
    import com.hp.hpl.jena.query.*; import com.hp.hpl.jena.rdf.model.Model; import com.hp.hpl.jena.rdf.model.ModelFactory; import com.hp.hpl.jena.rdf.model.RDFNode; import com.hp.hpl.jena.update.UpdateException; import; import; import; import virtuoso.jena.driver.VirtDataSource; import virtuoso.jena.driver.VirtGraph; import virtuoso.jena.driver.VirtuosoUpdateFactory; import virtuoso.jena.driver.VirtuosoUpdateRequest;
     * @author Priyam
    public class Main {
        public static void main(String[] args) throws FileNotFoundException {
    VirtGraph set = new VirtGraph ("jdbc:virtuoso://localhost:1111", "dba", "dba");
       InputStream in = new FileInputStream("C://Users//Dell//Documents//NetBeansProjects//CoKo//build//web//files//test11.rdf");
      VirtuosoUpdateRequest vur =,set);

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    Cross posted at jena code

  3. #3
    Join Date
    Jun 2011
    Rep Power

Similar Threads

  1. Load file with a lot or lines.
    By juamd in forum Advanced Java
    Replies: 9
    Last Post: 04-26-2011, 08:41 PM
  2. file load
    By myka in forum Advanced Java
    Replies: 1
    Last Post: 04-03-2010, 09:42 PM
  3. load xml file in servlet help please
    By khdani in forum Java Servlet
    Replies: 2
    Last Post: 10-05-2009, 11:28 PM
  4. Load file in GUI instead of notepad
    By Kruptein in forum AWT / Swing
    Replies: 1
    Last Post: 08-08-2009, 06:57 PM
  5. Not able to load a properties file
    By Happy9959 in forum New To Java
    Replies: 12
    Last Post: 07-29-2008, 08:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts