You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Abduladem Eljamel <a_...@yahoo.co.uk.INVALID> on 2017/10/06 14:09:24 UTC

Inferencing by SPARQL

Hello,,

My simple understanding of Inferencing is “inferring new facts fromexisting facts”. In that sense, I believe that there are some similarities of INSERT command in SPARQL. 

Can SPARQL be utilised in Inferencing?

Are there any researches in investigating the cons and pros of usingSPARQL as reasoner?

Thanks
Abdul 

Re: Inferencing by SPARQL

Posted by Abduladem Eljamel <a_...@yahoo.co.uk.INVALID>.
 Thanks DiogoHowever, I think it is not possible to compare OWL or OWL reasoning with SPARQL.What was in my mind when I asked the question is to compare Rule-based reasoning with SPARQL.
ThanksAbdul

    On Friday, 6 October 2017, 15:40:33 GMT+1, Diogo FC Patrao <dj...@gmail.com> wrote:  
 
 Hi

Please forgive any mistakes below.

SPARQL is a language to deal with data; OWL is meant to deal with concepts.

You may argue that both can produce the same results. However there is an
important difference: the language.

As using owl one may represent both concepts and their relations in the
same language, it allows producing new relations. I think you can't do that
on SPARQL.

Sure SPARQL may be faster and may even yield results impossible in OWL, but
it is similar to write code in any programming language.

Cheers



Em 6 de out de 2017 11:09, "Abduladem Eljamel"
<a_...@yahoo.co.uk.invalid> escreveu:

>
> Hello,,
>
> My simple understanding of Inferencing is “inferring new facts
> fromexisting facts”. In that sense, I believe that there are some
> similarities of INSERT command in SPARQL.
>
> Can SPARQL be utilised in Inferencing?
>
> Are there any researches in investigating the cons and pros of usingSPARQL
> as reasoner?
>
> Thanks
> Abdul
>  

Re: Inferencing by SPARQL

Posted by Abduladem Eljamel <a_...@yahoo.co.uk.INVALID>.
 Thank you Claire Qiu




    On Friday, 6 October 2017, 16:50:49 GMT+1, claire Qiu <cl...@gmail.com> wrote:  
 
 Hi,

as far as I understood, any inferred results are consistent with the KB.
They are the logical consequence of KB.

However, the facts inserted by SPARQL might violate with the KB, no
consistency checking involved.

Inferencing is a service provided by Description Logics, SPARQL is just a
language protocol with basic graph pattern matching.

These are just my understanding, might not be rigid.


Cheers,


On Fri, Oct 6, 2017 at 4:40 PM, Diogo FC Patrao <dj...@gmail.com>
wrote:

> Hi
>
> Please forgive any mistakes below.
>
> SPARQL is a language to deal with data; OWL is meant to deal with concepts.
>
> You may argue that both can produce the same results. However there is an
> important difference: the language.
>
> As using owl one may represent both concepts and their relations in the
> same language, it allows producing new relations. I think you can't do that
> on SPARQL.
>
> Sure SPARQL may be faster and may even yield results impossible in OWL, but
> it is similar to write code in any programming language.
>
> Cheers
>
>
>
> Em 6 de out de 2017 11:09, "Abduladem Eljamel"
> <a_...@yahoo.co.uk.invalid> escreveu:
>
> >
> > Hello,,
> >
> > My simple understanding of Inferencing is “inferring new facts
> > fromexisting facts”. In that sense, I believe that there are some
> > similarities of INSERT command in SPARQL.
> >
> > Can SPARQL be utilised in Inferencing?
> >
> > Are there any researches in investigating the cons and pros of
> usingSPARQL
> > as reasoner?
> >
> > Thanks
> > Abdul
> >
>  

Re: Inferencing by SPARQL

Posted by claire Qiu <cl...@gmail.com>.
Hi,

as far as I understood, any inferred results are consistent with the KB.
They are the logical consequence of KB.

However, the facts inserted by SPARQL might violate with the KB, no
consistency checking involved.

Inferencing is a service provided by Description Logics, SPARQL is just a
language protocol with basic graph pattern matching.

These are just my understanding, might not be rigid.


Cheers,


On Fri, Oct 6, 2017 at 4:40 PM, Diogo FC Patrao <dj...@gmail.com>
wrote:

> Hi
>
> Please forgive any mistakes below.
>
> SPARQL is a language to deal with data; OWL is meant to deal with concepts.
>
> You may argue that both can produce the same results. However there is an
> important difference: the language.
>
> As using owl one may represent both concepts and their relations in the
> same language, it allows producing new relations. I think you can't do that
> on SPARQL.
>
> Sure SPARQL may be faster and may even yield results impossible in OWL, but
> it is similar to write code in any programming language.
>
> Cheers
>
>
>
> Em 6 de out de 2017 11:09, "Abduladem Eljamel"
> <a_...@yahoo.co.uk.invalid> escreveu:
>
> >
> > Hello,,
> >
> > My simple understanding of Inferencing is “inferring new facts
> > fromexisting facts”. In that sense, I believe that there are some
> > similarities of INSERT command in SPARQL.
> >
> > Can SPARQL be utilised in Inferencing?
> >
> > Are there any researches in investigating the cons and pros of
> usingSPARQL
> > as reasoner?
> >
> > Thanks
> > Abdul
> >
>

Re: Inferencing by SPARQL

Posted by Diogo FC Patrao <dj...@gmail.com>.
Hi

Please forgive any mistakes below.

SPARQL is a language to deal with data; OWL is meant to deal with concepts.

You may argue that both can produce the same results. However there is an
important difference: the language.

As using owl one may represent both concepts and their relations in the
same language, it allows producing new relations. I think you can't do that
on SPARQL.

Sure SPARQL may be faster and may even yield results impossible in OWL, but
it is similar to write code in any programming language.

Cheers



Em 6 de out de 2017 11:09, "Abduladem Eljamel"
<a_...@yahoo.co.uk.invalid> escreveu:

>
> Hello,,
>
> My simple understanding of Inferencing is “inferring new facts
> fromexisting facts”. In that sense, I believe that there are some
> similarities of INSERT command in SPARQL.
>
> Can SPARQL be utilised in Inferencing?
>
> Are there any researches in investigating the cons and pros of usingSPARQL
> as reasoner?
>
> Thanks
> Abdul
>

Re: Inferencing by SPARQL

Posted by Martynas Jusevičius <ma...@atomgraph.com>.
Not really. Only in source code, but this part is not open-source.

It's a layer above Linked Data Templates:
https://atomgraph.github.io/Linked-Data-Templates/

On Fri, Oct 6, 2017 at 9:33 PM, Abduladem Eljamel <
a_eljamel@yahoo.co.uk.invalid> wrote:

>  Thankyou very much Martynas. it realy helps.
> Currently, I am wrting a report. I woud like to wrtie something like what
> you mentioned in your email but I have to refernece it. do you any refrence
> say what have said?
> ThanksAbdul
>
>     On Friday, 6 October 2017, 17:48:54 GMT+1, Martynas Jusevičius <
> martynas@atomgraph.com> wrote:
>
>  Abduladem,
>
> you can use both CONSTRUCT and INSERT to infer new triples.
>
> Both OWL and SPARQL have their advantages. OWL forms ontologies that you
> can import etc., but often it produces too many (trivial) triples that you
> don't care about, and performance can be poor. With SPARQL you can be more
> precise with your patterns and execute faster.
>
> As always, it depends on the use case. Given that few triplestores offer
> inferencing and we don't want to reason over the whole dataset, we use
> SPARQL to infer things like inverse properties, and then when the result is
> loaded, we use OWL over the (small) result to infer subclasses and types
> etc.
>
> Hope it helps.
>
> On Fri, Oct 6, 2017 at 4:09 PM, Abduladem Eljamel <
> a_eljamel@yahoo.co.uk.invalid> wrote:
>
> >
> > Hello,,
> >
> > My simple understanding of Inferencing is “inferring new facts
> > fromexisting facts”. In that sense, I believe that there are some
> > similarities of INSERT command in SPARQL.
> >
> > Can SPARQL be utilised in Inferencing?
> >
> > Are there any researches in investigating the cons and pros of
> usingSPARQL
> > as reasoner?
> >
> > Thanks
> > Abdul
> >
>

Re: Inferencing by SPARQL

Posted by Abduladem Eljamel <a_...@yahoo.co.uk.INVALID>.
 Thankyou very much Martynas. it realy helps.
Currently, I am wrting a report. I woud like to wrtie something like what you mentioned in your email but I have to refernece it. do you any refrence say what have said?
ThanksAbdul  

    On Friday, 6 October 2017, 17:48:54 GMT+1, Martynas Jusevičius <ma...@atomgraph.com> wrote:  
 
 Abduladem,

you can use both CONSTRUCT and INSERT to infer new triples.

Both OWL and SPARQL have their advantages. OWL forms ontologies that you
can import etc., but often it produces too many (trivial) triples that you
don't care about, and performance can be poor. With SPARQL you can be more
precise with your patterns and execute faster.

As always, it depends on the use case. Given that few triplestores offer
inferencing and we don't want to reason over the whole dataset, we use
SPARQL to infer things like inverse properties, and then when the result is
loaded, we use OWL over the (small) result to infer subclasses and types
etc.

Hope it helps.

On Fri, Oct 6, 2017 at 4:09 PM, Abduladem Eljamel <
a_eljamel@yahoo.co.uk.invalid> wrote:

>
> Hello,,
>
> My simple understanding of Inferencing is “inferring new facts
> fromexisting facts”. In that sense, I believe that there are some
> similarities of INSERT command in SPARQL.
>
> Can SPARQL be utilised in Inferencing?
>
> Are there any researches in investigating the cons and pros of usingSPARQL
> as reasoner?
>
> Thanks
> Abdul
>  

Re: Inferencing by SPARQL

Posted by Martynas Jusevičius <ma...@atomgraph.com>.
Abduladem,

you can use both CONSTRUCT and INSERT to infer new triples.

Both OWL and SPARQL have their advantages. OWL forms ontologies that you
can import etc., but often it produces too many (trivial) triples that you
don't care about, and performance can be poor. With SPARQL you can be more
precise with your patterns and execute faster.

As always, it depends on the use case. Given that few triplestores offer
inferencing and we don't want to reason over the whole dataset, we use
SPARQL to infer things like inverse properties, and then when the result is
loaded, we use OWL over the (small) result to infer subclasses and types
etc.

Hope it helps.

On Fri, Oct 6, 2017 at 4:09 PM, Abduladem Eljamel <
a_eljamel@yahoo.co.uk.invalid> wrote:

>
> Hello,,
>
> My simple understanding of Inferencing is “inferring new facts
> fromexisting facts”. In that sense, I believe that there are some
> similarities of INSERT command in SPARQL.
>
> Can SPARQL be utilised in Inferencing?
>
> Are there any researches in investigating the cons and pros of usingSPARQL
> as reasoner?
>
> Thanks
> Abdul
>