You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2012/09/25 21:12:09 UTC

[jira] [Commented] (JENA-332) Error in config.ttl file for fuseki

    [ https://issues.apache.org/jira/browse/JENA-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463123#comment-13463123 ] 

Andy Seaborne commented on JENA-332:
------------------------------------

Thank you for the report.

I have added the "Data" area to the distribution because it makes the point that the data can be served from a non-web-accessible place.  (You proposed fix would have worked as well for the purposes of fixing that config.)

                
> 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