You should try to talk to and collaborate with your team members, Javed
Khan and Sidrah Shah...

Next, you're comparing a query language with a rule engine - those are
obviously different things  (although you can do some things also in
SPARQL that you can do with Jena rules.)

Regarding performance, there is no answer. Obviously in Jena both is
executed in Java probably using some shared Jena core functionalities.
Nevertheless, there is no need for comparison.

The question that comes up here in the mailing list - why are you still
asking those basic questions? What is the task of the project? I
remember that you used Jena rules all the time - now you're think about
using SPARQL? Why? Inferencing and querying are totally different
things. So why are you thinking about refactoring the whole project? How
much time do you need for this academic project? I mean, it sounds like
you're working on it for almost one year now? Is this really necessary
and useful to spend so much time on it?


Lorenz


On 24.08.2017 13:25, tina sani wrote:
> Andy, I need some points in which SPARQL query can be better than rules to
> get the desired result?
>
> Is it fast (in terms of time) than jena rules to be executed by the engine?
> Second, in terms of expressiveness, how SPARQL is better than the rules?
> One point I think is jena rules does not support dis-junction while SPARQL
> does (UNION). ,
>
> On Thu, Aug 24, 2017 at 2:07 PM, Andy Seaborne <[email protected]> wrote:
>
>> This has been asked before, most recently 2017-08-14.
>>
>> https://lists.apache.org/thread.html/ae4c1f5dfbacfb9bf4294a4
>> cf2967e0c7050c81b20f80e6c425a9aa8@%3Cusers.jena.apache.org%3E
>>
>> Please search the archives before asking questions.
>>
>>     Andy
>>
>> On 24/08/17 08:50, tina sani wrote:
>>
>>> What are some of advantages of SPARQL over (Jena) rules? I know only that
>>> SPARQL is W3C recommendation and jena rules are not. Similarly, Jena rules
>>> are monotonic which does not add/remove any data just infer new knowledge.
>>> How SPARQL is more expressive than rules?
>>>
>>> If we get some inference using SPARQL, how it differs (better) than
>>> inference using rules.
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source
>>> =link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
>>> Virus-free.
>>> www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source
>>> =link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>>> <#m_-5991634784996563873_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>>

Reply via email to