Re: Inferencing by SPARQL

2017-10-06 Thread Abduladem Eljamel
ations 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 Eljam

Inferencing by SPARQL

2017-10-06 Thread Abduladem Eljamel
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

Re: One Condition with Two results in the same Jena Rule

2017-07-22 Thread Abduladem Eljamel
Thank you very much Dave. I just want to hear a confirmation from someone expertise. Regards Abdul On Saturday, July 22, 2017, 9:37:45 PM GMT+1, Dave Reynolds <dave.e.reyno...@gmail.com> wrote: On 22/07/17 20:14, Abduladem Eljamel wrote: > Hello AllIs it possible in jena rul

One Condition with Two results in the same Jena Rule

2017-07-22 Thread Abduladem Eljamel
Hello AllIs it possible in jena rules excute a condtion with two results in the same rule: if (condtion) then (result) else (other result) For example [rule: (?suri  myuri:hasValueP ?P) (?vuri  myuri:hasValueV ?V)   lessThan(?P, ?V)  ->  ( myuri:instance   mine:hasResult 'Some Result') ] 

Re: OWL2 Support in Jena

2017-05-26 Thread Abduladem Eljamel
lling/has the time to do the work.  So, it is unlikely that > this will ever happen unless such a volunteer steps up > > Rob > > On 25/05/2017 09:23, "Abduladem Eljamel" <a_elja...@yahoo.co.uk.INVALID> > wrote: > >    What does it mean that "OWL2 support in Jena will be added in due course"? > > > >

Re: OWL2 Support in Jena

2017-05-25 Thread Abduladem Eljamel
2 supports more features, e.g. qualified cardinality restrictions like hasChild min 1 Person in OWL 1 you could only say hasChild min 1 On 24.05.2017 14:25, Abduladem Eljamel wrote: > Thank Lorenz for answering my email However, what do you mean by "OWL-2 class > expressions"?What is

Re: OWL2 Support in Jena

2017-05-24 Thread Abduladem Eljamel
andle e.g. OWL 2 class expressions. On 18.05.2017 13:28, Abduladem Eljamel wrote: > Hello All ,, > I have read in Jena website that "OWL2 support in Jena will be added in due > course." Also, the wesite mentioned that Jena has a limited support for > OWL2's qualified cardina

OWL2 Support in Jena

2017-05-18 Thread Abduladem Eljamel
Hello All ,, I have read in Jena website that "OWL2 support in Jena will be added in due course." Also, the wesite mentioned that Jena has a limited support for OWL2's qualified cardinality restrictions. Does Jena have a support for OWL2 Ontolgies which are created by other ontology editors

Re: Jena Rules

2017-03-30 Thread Abduladem Eljamel
Thank you Lorenz Bühmann for answering my email. But what do you mean by using the URI I have in mind? I want to create an instance to a class already in the ontology. For example, If I have these triples in my data: inst1 type class1 inst1 hasPrice price inst1 hasValue value class2 type Class I

Jena Rules

2017-03-29 Thread Abduladem Eljamel
Hello,I am trying to excute this rule in Jena: [r1:  (?c http://somewhere#rel1 ?price)    (?c http://somewhere#rel2 ?value)   lessThan(?price, ?value) ->   (?y http://somewhere#AnyRelation 'Some Text')] I have two questions:1- I would like ?y to be a specific instance of a specific

Re: External Reasoners in Jena

2016-10-31 Thread Abduladem Eljamel
ly how you are using Pellet and Jena together. When you say that you have "managed to include Pellet API with Jena" do you mean simply having both frameworks available on the classpath? --- A. Soroka The University of Virginia Library > On Oct 30, 2016, at 5:24 PM, Abduladem

External Reasoners in Jena

2016-10-30 Thread Abduladem Eljamel
Hello,, I know that this mailing list is not the right place to discuss Pellet reasoning problems; however, my question is about the caparison between Jena reasoning and Pellet reasoning. I wrote SWRL rules and applied Pellet reasoner in protégé and then I wrote the same rules by Jena general

Re: No Such Method Error

2016-08-23 Thread Abduladem Eljamel
21:34 Subject: Re: No Such Method Error On 23/08/16 17:07, Abduladem Eljamel wrote: > Thanks AndySorry, it could be a basic question. I could not understand what I > have done wrong to make my project call old jena library. I removed all jena > 2.11 libraries from my project

Re: No Such Method Error

2016-08-23 Thread Abduladem Eljamel
users@jena.apache.org Sent: Tuesday, 23 August 2016, 16:06 Subject: Re: No Such Method Error On 23/08/16 15:08, Abduladem Eljamel wrote: > Hi ALL > I have migrated from  Jena 2.11 to Jena 3.1.0 Lately. After modifying my code > to fit JENA 3.1.0  I have gotten this

No Such Method Error

2016-08-23 Thread Abduladem Eljamel
Hi ALL I have migrated from  Jena 2.11 to Jena 3.1.0 Lately. After modifying my code to fit JENA 3.1.0  I have gotten this error exception:    java.lang.NoSuchMethodError: org.apache.jena.atlas.lib.Cache.getIfPresent(Ljava/lang/Object;)Ljava/lang/Object; After searching the jena-users mailing

Re: Model Inconsisten

2016-08-10 Thread Abduladem Eljamel
Hi AndyThankyou agian.Does upgrading Jena from ver 2.x to 3.x require a lot of code changing?ThanksAbdul From: Andy Seaborne <a...@apache.org> To: users@jena.apache.org Sent: Wednesday, 10 August 2016, 14:40 Subject: Re: Model Inconsisten On 10/08/16 14:36, Abduladem Eljamel

Re: Model Inconsisten

2016-08-10 Thread Abduladem Eljamel
ct: Re: Model Inconsisten On 10/08/16 12:57, Abduladem Eljamel wrote: > Hi,,I hope everyone is fine.I would like to know the difference between code > 1 andcode 2 below. When can each one be used for? > What is "NoSuchElementException" Exception andmodel inconsistent?I

Model Inconsisten

2016-08-10 Thread Abduladem Eljamel
Hi,,I hope everyone is fine.I would like to know the difference between code 1 andcode 2 below. When can each one be used for? What is "NoSuchElementException" Exception andmodel inconsistent?If there is a reference to cite the explanation,please tell me. ThanksAbdul- code

Inferred Named Graphs

2016-05-05 Thread Abduladem Eljamel
Hi,,I am justwondering if this scenario is correct or not. I have a TDB dataset containsseveral named graphs and I would like to apply reasoning on all these namedgraphs. I will apply the following steps:1-    Loading the named graphs into models one by one. 2-    Applying reasoning on every

Re: Jena Reasoning

2016-04-17 Thread Abduladem Eljamel
From: Dave Reynolds <dave.e.reyno...@gmail.com> To: users@jena.apache.org Sent: Sunday, 17 April 2016, 9:52 Subject: Re: Jena Reasoning Hi, Your email came through too scrambled to read but ... On 16/04/16 18:26, Abduladem Eljamel wrote: > Hi,,I am not sure if I am u

Jena Reasoning

2016-04-16 Thread Abduladem Eljamel
Hi,,I am not sure if I am using Jena reasoning and rules correctly. I could not get any results after following some of examples in jena website. This one of the codes which I do not know where is wrong in it: OntModel schema =

Chained Properties

2016-04-15 Thread Abduladem Eljamel
HiDoes the reasoning engine in Jena supports the chained propertiesrules of OWL2?ThanksAbdul

Reasoning On Graphs

2016-04-14 Thread Abduladem Eljamel
Hi,, I have a DBT dataset contains several named graphs and ontology file. I would like to apply the same reasoning on all graphs in the dataset. I tried this code to apply reasoning on one named graph.   OntModel ontmodel = ModelFactory.createOntologyModel(OntModelSpec.OWL_DL_MEM, null);

Updated Information Related to this error "Error 500: No known block type for 0"

2016-03-24 Thread Abduladem Eljamel
pache.org Sent: Wednesday, 23 March 2016, 17:38 Subject: Re: Error 500: No known block type for 0 On 22/03/16 19:37, Abduladem Eljamel wrote: > Hi allI hope you are all fine.I have a TDB store contains a small data. When > I query that data directly from JENA, I got results and it works f

Re: Error 500: No known block type for 0

2016-03-23 Thread Abduladem Eljamel
    From: Andy Seaborne <a...@apache.org> To: users@jena.apache.org Sent: Wednesday, 23 March 2016, 17:38 Subject: Re: Error 500: No known block type for 0 On 22/03/16 19:37, Abduladem Eljamel wrote: > Hi allI hope you are all fine.I have a TDB store

Error 500: No known block type for 0

2016-03-22 Thread Abduladem Eljamel
Hi allI hope you are all fine.I have a TDB store contains a small data. When I query that data directly from JENA, I got results and it works fine. But when I use Fuseki server (1.0.2) to query the same data with the same SPARQL code, I got this error: Error 500: No known block type for 0 The

Re: TDB Optimization

2015-03-15 Thread Abduladem Eljamel
Hi Andy,, Thank you for answering my email. The Jena version is (2.11.0) included TDB version (1.0.0). I am using the last DBPedia dump file of size around (64GB). I used “TDBloader2” to load this dump file to TDB store. It loaded (410345971 triples) to TDB store. The total size of TDB files is

TDB Optimization

2015-03-13 Thread Abduladem Eljamel
Hi All I loaded DBPedia RDF dump File to JenaTDB store. The triples were loaded successively including the indexingphase and “stats,opt” file was created; however, the SPARQL queries are notworking for complex queries. It takes very long time (and non-stop runningsometimes). I ran “tdbstats”