Hi Andy,
My issue was #2, I edited shiro.ini and can now see my dataset in the web UI. Thanks for your help, it saved me time and frustration.
Cheers,
Todd

Landon Todd Detwiler
Structural Informatics Group (SIG)
University of Washington

phone: 206-351-7721

On 10/20/15 6:18 AM, Andy Seaborne wrote:
Todd,

1/ Are you using the Fuseki1 interface with Fuseki2? It won't work - there is a new UI.

2/ Is the server on "localhost"? if not, you need to edit shiro.ini to allow user/password access to the UI.

    Andy

On 20/10/15 04:47, Todd Detwiler wrote:
OK, I'm sort of pulling my hair out about this one. The web client
always worked fine for me until I udated to Fuseki_2.3/Jena_3.0. Now, I
cannot see my dataset in the web client. But, if I send it a query via
other means, it replies just fine. I suspect it might have something to
do with either the changes that were made to config file syntax
(namespaces) or to the config location convention change. But I'm not
sure. Below is my config. Any ideas?
Thanks,
Todd

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tdb:     <http://jena.hpl.hp.com/2008/tdb#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix text:    <http://jena.apache.org/text#> .
@prefix fuseki:  <http://jena.apache.org/fuseki#> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@prefix fma:      <http://purl.org/sig/ont/fma/> .
@prefix :        <http://localhost/jena_example/#> .

[] rdf:type fuseki:Server ;
   fuseki:services (
     :service_text_tdb
   ) .

## Example of a TDB dataset and text index
## Initialize TDB
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" .
tdb:DatasetTDB  rdfs:subClassOf  ja:RDFDataset .
tdb:GraphTDB    rdfs:subClassOf  ja:Model .

## Initialize text query
[] ja:loadClass       "org.apache.jena.query.text.TextQuery" .
# A TextDataset is a regular dataset with a text index.
text:TextDataset      rdfs:subClassOf   ja:RDFDataset .
# Lucene index
text:TextIndexLucene  rdfs:subClassOf   text:TextIndex .

## ---------------------------------------------------------------
## This URI must be fixed - it's used to assemble the text dataset.

:text_dataset rdf:type     text:TextDataset ;
    text:dataset   :dataset ;
    text:index     :indexLucene ;
    .

# A TDB datset used for RDF storage
:dataset rdf:type      tdb:DatasetTDB ;
    tdb:location "databases" ;
    .

<#graph1> rdf:type tdb:GraphTDB ;
    tdb:dataset <#dataset> ;
    tdb:graphName <http://purl.org/sig/ont/fma.owl> ;
    .

# Text index description
:indexLucene a text:TextIndexLucene ;
    text:directory
<file:///usr/local/service/fuseki-tdb/run/configuration/Lucene> ;
    ##text:directory "mem" ;
    text:entityMap :entMap ;
    .

# Mapping in the index
# URI stored in field "uri"
# rdfs:label is mapped to field "text"
:entMap a text:EntityMap ;
    text:entityField      "uri" ;
    text:defaultField     "text" ;
    text:map (
         [ text:field "text" ; text:predicate fma:preferred_name ]
         [ text:field "text" ; text:predicate fma:synonym ]
         [ text:field "text" ; text:predicate
fma:non-English_equivalent ]
         ) .

:service_text_tdb rdf:type fuseki:Service ;
    rdfs:label                      "TDB/text service" ;
    fuseki:name                     "sig" ;
    fuseki:serviceQuery             "query" ;
    fuseki:serviceQuery             "sparql" ;
    fuseki:serviceUpdate            "update" ;
    fuseki:serviceUpload            "upload" ;
    fuseki:serviceReadGraphStore    "get" ;
    fuseki:serviceReadWriteGraphStore    "data" ;
    fuseki:dataset                  :text_dataset ;
    .



Reply via email to