Hi, Damian & Paolo, 

So far, I am able to dynamically create SDB/TDB and all other related things  
based on the name the user specify on the fly ... I can share the Java codes 
with you if you are also interested
The only thing I need help from you is that how to tie these DBs to the 
corresponding endpoints, like dataset, dataset1 ..datasetN ...

Cheers, 
Frank



________________________________
 From: Frank Lee <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Monday, May 7, 2012 2:10 PM
Subject: Re: [jena-dev] How to save multiple RDF file  in SDB and corresponding 
SPARQL endpoints
 
Hi, Damian & Paolo, 



This is the 'old' question I re-posted here as you requested, hope to get your 
answer asap. Thanks in advance.

Cheers, 
Frank.

____

Normally, the dataset (endpoint ) needs to be specified when the fuseki server 
starts, see the followings:

java -classpath lib\fuseki\fuseki-0.1.0- server.jar;lib\sdb\sdb-1.3.4. 
jar;lib\sdb\mysql-connector- java-5.1.19-bin.jar  -Xmx1024M 
org.openjena.fuseki.FusekiCmd --update --desc config/sdbGraph.ttl /dataset

 INFO [main] (FusekiCmd.java:165) - Dataset from assembler
 INFO [main] (SPARQLServer.java:135) - Update enabled
 INFO [main] (SPARQLServer.java:55) - Fuseki 0.1.0
 INFO [main] (SPARQLServer.java:57) - Jetty 7.x.y-SNAPSHOT
 INFO [main] (SPARQLServer.java:58) - Dataset = /dataset
 INFO [main] (SPARQLServer.java:59) - Started 2012/04/26 17:32:28 PDT on port 
3030
 INFO [main] (Slf4jLog.java:55) - jetty-7.x.y-SNAPSHOT
 ...

My question is:

Is it possible to dynamically specify another endpoint (e.g, /dataset2 with 
sdbGraph2.ttl) and upload the data to the newly specified endpoint (/dataset2) 
from SDB backed by MySQL in java codes? Is there any example codes I can take a 
look and follow up?

Move forward, we have more graphs(workspaces) stored in 
the corresponding stores and sdb assemblers:

dataset1               sdb1                  sdb1.ttl
dataset2               sdb2                  sdb2.ttl
dataset3                sdb3                  sdb3.ttl
dataset4                sdb4                  sdb4.ttl
dataset5               sdb5                  sdb5.ttl

...

datasetN               sdbN                  sdbN.ttl


n can be over 100 or 10,000 ... and we need feel free to dynamically create the 
endpoint for these graphs so that multiple users can have corresponding 
endpoints to operate on.... 

Or do you have any better to do these kind of jobs?

Thanks in advance.

Cheers, 
Frank
____


________________________________
From: Damian Steer <[email protected]>
To: [email protected] 
Sent: Thursday, May 3, 2012 12:10 AM
Subject: Re: [jena-dev] How to save multiple RDF file  in SDB and corresponding 
SPARQL endpoints


  

On 3 May 2012, at 00:20, Frank Lee wrote:

> 
> Hi, Paolo, 
> 
> So far, I still could not get confirmed with this subscribe.  How come? Can 
> you help me with that? Thanks; 
> Looks like the link had some issues and is not valid email address as 
> complained:
> jena-users-sc.1335909418.lagekpagemaakoflbkip-frank88usa=yahoo....@incubator.apache.org
> 
> Cheers, 
> Frank

Hi Frank,

I'm one of the list moderators on jena-* at apache. You sent your subscription 
confirmation to [email protected], not the above email address. (I did try 
to explain that when rejecting the message)

Could you just try sending a message to:

<jena-users-sc.1335909418.lagekpagemaakoflbkip-frank88usa=yahoo....@incubator.apache.org>

? (Content isn't important)

It may work if anyone else does it, I suppose.

Damian

__._,_.___
Reply to sender | Reply to group | Reply via web post | Start a New Topic 
Messages in this topic (8) 
Recent Activity:     * New Members 2  
Visit Your Group 
The Jena user list has moved to Apache.

The new list name is 'jena-users' and the mail server is 
'incubator.apache.org'. 

Send email to 
  'jena-users-subscribe' at 'incubator.apache.org'
to subscribe.



Switch to: Text-Only, Daily Digest • Unsubscribe • Terms of Use
. 

__,_._,___ 

Reply via email to