Hi All,

I am currently using the last version of Fuseki :  version 0.2.4-SNAPSHOT
(Build date: 20120715-0501)
I have setup the following configuration file to an instance of VIVO :
*
*
*# Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0*
*
*
*@prefix : <#> .*
*@prefix fuseki: <http://jena.apache.org/fuseki#> .*
*@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 jumble: <http://rootdev.net/vocab/jumble#> .*
*@prefix sdb: <http://jena.hpl.hp.com/2007/sdb#> .*
*
*
*[] rdf:type fuseki:Server ;*
*   # Timeout - server-wide default: milliseconds.*
*   # Format 1: "1000" -- 1 second timeout*
*   # Format 2: "10000,60000" -- 10s timeout to first result, then 60s
timeout to for rest of query.*
*   # See java doc for ARQ.queryTimeout*
*   ja:context [ ja:cxtName "arq:queryTimeout" ;  ja:cxtValue "10000,60000"
] ;*
*
*
*   fuseki:services (*
*     <#service_VIVO_read_only>*
*   ) .*
*
*
*   *
*# SDB*
*[] ja:loadClass "net.rootdev.fusekisdbconnect.SDBConnect" .*
*jumble:SDBConnect rdfs:subClassOf ja:RDFDataset .*
*
*
*<#service_VIVO_read_only> rdf:type fuseki:Service ;*
*    rdfs:label                      "UF VIVO Service (R)" ;*
*    fuseki:name                     "VIVO" ;*
*    fuseki:serviceQuery             "query" ;*
*    fuseki:serviceQuery             "sparql" ;*
*    fuseki:serviceUpdate            "update" ;*
*    fuseki:serviceUpload            "upload" ;*
*    fuseki:serviceReadWriteGraphStore      "data" ;*
*    # A separate read-only graph store endpoint:*
*    fuseki:serviceReadGraphStore       "get" ;*
*    fuseki:dataset           <#ufvivo_dataset_read> ;*
* .*
*
*
*<#ufvivo_dataset_read> rdf:type sdb:DatasetStore ;*
*    sdb:store <#VIVOStore>*
*    .*
* *
*<#VIVOStore> rdf:type jumble:SDBConnect;*
*    rdfs:label "UF VIVO SDB Store";*
*    sdb:layout "layout2";*
*    jumble:defaultUnionGraph "true" ;*
*    sdb:engine "InnoDB";*
*    sdb:connection*
*    [ rdf:type sdb:SDBConnection;*
*        sdb:sdbHost "localhost";*
*        sdb:sdbType "mysql";*
*        sdb:sdbName "vitrodb";*
*        sdb:sdbUser "vivo";*
*        sdb:sdbPassword "vivo";*
*        sdb:driver "com.mysql.jdbc.Driver";*
*    ]*
*    .*

I can query the endpoint without trouble but i cannot get it work with
update.
For example, with the following statement :

* INSERT DATA*
*{*
*<http://uritest/monannotation1> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Annotation>*
*}*

the following error is thrown from Fuseki :

*Error 500: 
com.hp.hpl.jena.query.DatasetFactory.create(Lcom/hp/hpl/jena/sparql/core/DatasetGraph;)Lcom/hp/hpl/jena/query/DataSource;*

It drives me crazy for about two days :'(

Please can you tell me what i'm doing wrong, any advice appreciated


Thank You

-- 

Cordialement,

Cyril Holzer

06.81.84.93.51


P *Adoptons ensemble des gestes responsables :* *N'imprimez ce message que
si cela est indispensable***

** **

" Ce courriel et les documents qui y sont attaches peuvent contenir des
informations confidentielles. Si vous n'êtes pas le destinataire escompte,
merci d'en informer l'expéditeur immédiatement et de détruire ce courriel
ainsi que tous les documents attaches de votre système informatique. Toute
divulgation, distribution ou copie du présent courriel et des documents
attaches sans autorisation préalable de son émetteur est interdite."****

** **

"This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, please
advise the sender immediately and delete this e-mail and all attached
documents from your computer system. Any unauthorized disclosure;
distribution or copying hereof is prohibited."****

**




-- 

Cordialement,

Cyril Holzer

06.81.84.93.51


P *Adoptons ensemble des gestes responsables :* *N'imprimez ce message que
si cela est indispensable***

** **

" Ce courriel et les documents qui y sont attaches peuvent contenir des
informations confidentielles. Si vous n'êtes pas le destinataire escompte,
merci d'en informer l'expéditeur immédiatement et de détruire ce courriel
ainsi que tous les documents attaches de votre système informatique. Toute
divulgation, distribution ou copie du présent courriel et des documents
attaches sans autorisation préalable de son émetteur est interdite."****

** **

"This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, please
advise the sender immediately and delete this e-mail and all attached
documents from your computer system. Any unauthorized disclosure;
distribution or copying hereof is prohibited."****

**

Reply via email to