You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Amira Sifaoui Ep Ghaddab <am...@gmail.com> on 2014/08/18 10:34:35 UTC
Storing Rules and SPARQL Queries with Jena
Hi all,
I'm working with jena TDB to store ontologies and datasets.
I have also rules and Sparql queries , I want to know if I can store them
with Jena TDB. (I know that with jena TDB we can store "triple" and rules
for exemple are a set of "triple").
So I want to know if there is a way to store rules and sparql queries with
Jena.
Thank you !
Re: Storing Rules and SPARQL Queries with Jena
Posted by Andy Seaborne <an...@apache.org>.
On 18/08/14 23:09, Bob DuCharme wrote:
> >You can invent an encoding of them as triples
>
> (Andy, you knew that we wouldn't let that go by without a comment...)
>
> Or you can use an encoding of rules as triples that's already been
> invented[1] , implemented, and submitted to the W3C, where it's making
> progress to strongly influence a new W3C standard[2].
I was talking about Jena rules.
Andy
>
> Bob DuCharme (a.k.a. bducharme at
> topquadrant.com)
>
> [1] http://spinrdf.org
> [2] http://www.w3.org/2014/data-shapes/charter
>
>
>
> On 8/18/2014 5:46 PM, Andy Seaborne wrote:
>> On 18/08/14 09:34, Amira Sifaoui Ep Ghaddab wrote:
>>> Hi all,
>>>
>>> I'm working with jena TDB to store ontologies and datasets.
>>> I have also rules and Sparql queries , I want to know if I can store
>>> them
>>> with Jena TDB. (I know that with jena TDB we can store "triple" and
>>> rules
>>> for exemple are a set of "triple").
>>> So I want to know if there is a way to store rules and sparql queries
>>> with
>>> Jena.
>>>
>>> Thank you !
>>>
>>
>> TDB stores RDF -- rules and queries are not triples
>>
>> You can invent an encoding of them as triples or included in a string
>> literal but you can't store the as rules or queries.
>>
>> Andy
>
Re: Storing Rules and SPARQL Queries with Jena
Posted by Bob DuCharme <bo...@snee.com>.
>You can invent an encoding of them as triples
(Andy, you knew that we wouldn't let that go by without a comment...)
Or you can use an encoding of rules as triples that's already been
invented[1] , implemented, and submitted to the W3C, where it's making
progress to strongly influence a new W3C standard[2].
Bob DuCharme (a.k.a. bducharme at
topquadrant.com)
[1] http://spinrdf.org
[2] http://www.w3.org/2014/data-shapes/charter
On 8/18/2014 5:46 PM, Andy Seaborne wrote:
> On 18/08/14 09:34, Amira Sifaoui Ep Ghaddab wrote:
>> Hi all,
>>
>> I'm working with jena TDB to store ontologies and datasets.
>> I have also rules and Sparql queries , I want to know if I can store
>> them
>> with Jena TDB. (I know that with jena TDB we can store "triple" and
>> rules
>> for exemple are a set of "triple").
>> So I want to know if there is a way to store rules and sparql queries
>> with
>> Jena.
>>
>> Thank you !
>>
>
> TDB stores RDF -- rules and queries are not triples
>
> You can invent an encoding of them as triples or included in a string
> literal but you can't store the as rules or queries.
>
> Andy
Re: Storing Rules and SPARQL Queries with Jena
Posted by Andy Seaborne <an...@apache.org>.
On 18/08/14 09:34, Amira Sifaoui Ep Ghaddab wrote:
> Hi all,
>
> I'm working with jena TDB to store ontologies and datasets.
> I have also rules and Sparql queries , I want to know if I can store them
> with Jena TDB. (I know that with jena TDB we can store "triple" and rules
> for exemple are a set of "triple").
> So I want to know if there is a way to store rules and sparql queries with
> Jena.
>
> Thank you !
>
TDB stores RDF -- rules and queries are not triples
You can invent an encoding of them as triples or included in a string
literal but you can't store the as rules or queries.
Andy