Can anyone give me an example for writing the RDF module to a TDB data set?

Thanks

*Prasad Priyadarshana Fernando <http://www.linkedin.com/in/prasadfernando>*
Mobile: +1 330 283 5827

On Sun, Mar 15, 2015 at 1:46 PM, Prasad Priyadarshana Fernando <
bpp...@gmail.com> wrote:

> Hi,
>
> Can I have some example for using TDB with Jena?
>
> Thanks
>
> *Prasad Priyadarshana Fernando <http://www.linkedin.com/in/prasadfernando>*
> Mobile: +1 330 283 5827
>
> On Sun, Mar 15, 2015 at 6:37 AM, Andy Seaborne <a...@apache.org> wrote:
>
>> On 14/03/15 19:09, Prasad Priyadarshana Fernando wrote:
>>
>>> Hi,
>>>
>>> Can any body explain me the following cases.
>>> [1] Is there any free semantic database which can store RDF models
>>>
>>
>> Apache Jena
>>
>>   Fuseki for a SPARQ server
>>   TDB for a database in-jvm (Fuseki used TDB out of the box).
>>
>> (Is there something specific you had in mind with the term "semantic
>> database"?)
>>
>>  [2] If so, how can jena write the RDF model to that database and retried
>>> them.
>>>
>>
>> Fuseki:
>>
>> SPARQL Graph Store Protocol
>>
>> (which is simply a use of HTTP)
>>
>> PUT http://localhost:3030/ds/data?default
>> Content-type: text/turtle;charset=utf-8
>> ....
>>
>> and there are scripts to help do that (s-put,s-get, ...)
>> or in code a DatasetAccessor.
>>
>> TDB
>>   tdbloader
>>   or in code RDFDataMgr.read(dataset.getDefaultModel(), ....)
>>
>>
>>         Andy
>>
>>
>>> Thanks
>>>
>>> *Prasad Priyadarshana Fernando <http://www.linkedin.com/in/
>>> prasadfernando>*
>>> Mobile: +1 330 283 5827
>>>
>>>
>>
>

Reply via email to