Priyaranjan created JENA-332:
--------------------------------

             Summary: Error in config.ttl file for fuseki
                 Key: JENA-332
                 URL: https://issues.apache.org/jira/browse/JENA-332
             Project: Apache Jena
          Issue Type: Bug
          Components: Fuseki
    Affects Versions: Fuseki 0.2.4
            Reporter: Priyaranjan
            Priority: Minor


In the config.ttl file that is bundled in jena-fuseki-0.2.4-distribution.zip , 
the dataset for books in defined as follows. 

<#books>    rdf:type ja:RDFDataset ;
    rdfs:label "Books" ;
    ja:defaultGraph 
      [ rdfs:label "books.ttl" ;
        a ja:MemoryModel ;
        ja:content [ja:externalContent <file:Data/books.ttl> ] ;
      ] ;
    .

But there is no such file   <file:Data/books.ttl> in the zip.  

So we get the following error.

com.hp.hpl.jena.assembler.exceptions.AssemblerException: caught: Not found: file
:///C%3A/Softwares/fuseki/jena-fuseki-0.2.4-distribution/jena-fuseki-0.2.4-SNAPS
HOT/Data/books.ttl


The definition should be changed to 

<#books>    rdf:type ja:RDFDataset ;
    rdfs:label "Books" ;
    ja:defaultGraph 
      [ rdfs:label "books.ttl" ;
        a ja:MemoryModel ;
        ja:content [ja:externalContent <file:pages/books.ttl> ] ;
      ] ;



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to