You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Prasad Priyadarshana Fernando <bp...@gmail.com> on 2015/03/14 20:09:53 UTC
How to write RDF model to a Semantic Database
Hi,
Can any body explain me the following cases.
[1] Is there any free semantic database which can store RDF models
[2] If so, how can jena write the RDF model to that database and retried
them.
Thanks
*Prasad Priyadarshana Fernando <http://www.linkedin.com/in/prasadfernando>*
Mobile: +1 330 283 5827
Re: How to write RDF model to a Semantic Database
Posted by Martynas Jusevičius <ma...@graphity.org>.
Have you tried looking at the official documentation?
Here is an example with transactions:
http://jena.apache.org/documentation/tdb/tdb_transactions.html#write-transactions
On Mon, Mar 16, 2015 at 6:54 PM, Prasad Priyadarshana Fernando
<bp...@gmail.com> wrote:
> 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 <
> bppf16@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 <an...@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
>>>>
>>>>
>>>
>>
Re: How to write RDF model to a Semantic Database
Posted by Prasad Priyadarshana Fernando <bp...@gmail.com>.
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 <
bppf16@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 <an...@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
>>>
>>>
>>
>
Re: How to write RDF model to a Semantic Database
Posted by Prasad Priyadarshana Fernando <bp...@gmail.com>.
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 <an...@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
>>
>>
>
Re: How to write RDF model to a Semantic Database
Posted by Andy Seaborne <an...@apache.org>.
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
>