-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 27/04/12 02:54, Haoqiu Zhang (张豪秋) wrote: > Hi, Dear Sir,
Hi Haoqiu, > Normally, the dataset (endpoint ) needs to be specified when the > fuseki server starts, [...] Correct. > > 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 after fuseki server started? Is there any example I can take > a look and follow up? (To be clear, sdbGraph2.ttl is a configuration file for an SDB dataset) Currently this isn't possible, as far as I know. However you may not need to do this... > Move forward, we have more graphs stored in the corresponding > stores and sdb assemblers: > > graph1 sdb1 sdb1.ttl > > ... > > graphn 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 this kind of jobs? If I understand you correctly each sdb configuration corresponds to one graph. But SDB can hold numerous graphs, and will work much better that way. What you want is an endpoint for each graph, I think? To do that I suggest writing an proxy servlet that will rewrite queries from: select ... { pattern } to select ... { graph <graphN> { pattern } } Damian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+aag8ACgkQAyLCB+mTtykooQCcCvyPLt+qjeF67Z5hgJ73B1NT ssIAn1U2UOkRdRcenii17yD42f7N3Zsf =ykLP -----END PGP SIGNATURE-----