Re: OR Operation

2017-01-03 Thread tina sani
Thank you Dave and Lorenz. On Tue, Jan 3, 2017 at 11:38 AM, Lorenz B. < buehm...@informatik.uni-leipzig.de> wrote: > No. It's the same as for SWRL, no native disjunction support. > > > Thank you Dave, Isn't there any operator we use for OR operation like we > > use + for

Re: OR Operation

2017-01-03 Thread Lorenz B.
No. It's the same as for SWRL, no native disjunction support. > Thank you Dave, Isn't there any operator we use for OR operation like we > use + for AND. > > On Mon, Jan 2, 2017 at 6:18 PM, Dave Reynolds <dave.e.reyno...@gmail.com> > wrote: > >> On 02/01/17 14:56, t

Re: OR Operation

2017-01-02 Thread tina sani
Thank you Dave, Isn't there any operator we use for OR operation like we use + for AND. On Mon, Jan 2, 2017 at 6:18 PM, Dave Reynolds <dave.e.reyno...@gmail.com> wrote: > On 02/01/17 14:56, tina sani wrote: > >> How can we declare/specify an Or operation in our Jena rule

Re: OR Operation

2017-01-02 Thread Dave Reynolds
On 02/01/17 14:56, tina sani wrote: How can we declare/specify an Or operation in our Jena rules. For instance, if we have something like this If ?x rdf:type emp:Managers OR ?x rdf:type emp:Programmer --> ?x rdf:type emp:Employee Expand the OR out to two rules: ?x rdf:type emp:Manag

OR Operation

2017-01-02 Thread tina sani
How can we declare/specify an Or operation in our Jena rules. For instance, if we have something like this If ?x rdf:type emp:Managers OR ?x rdf:type emp:Programmer --> ?x rdf:type emp:Employee

Re: Add(Sum) operation about individuals not working

2017-01-02 Thread Lorenz B.
I don't understand your question and also I don't understand the code: Is it the whole snippet? If yes, the code cannot compile... If no, show the whole code. setProperty overrides the value, but this makes sense since a team can only have one value for each league/cup. By the way, it's called

Add(Sum) operation about individuals not working

2016-12-31 Thread neha gupta
Hello I have team ontology in which we need to store information about teams like team wins, goals etc. I need to calculate the team goals in three categories: PremiurLeague, ChampionsLeague and FA cup.(From combo box each category should be selected) if (Category=="PremiurLeague"){ //get goals

batch operation for each stage

2016-01-11 Thread Zen 98052
Hi, I am trying to optimize the call to our backend storage. Current implementation is it will create scan request (which will return iterator) for each binding. For example if the SPARQL query is something like: SELECT ?vendor WHERE { ?vendor p:product category:electronic . ?vendor

Re: Canceled tdbloader operation generates WARN DatasetPrefixesTDB :: Mangled prefix map: graph name=

2015-07-24 Thread Andy Seaborne
Compound data (https://pubchem.ncbi.nlm.nih.gov/rdf/#_Toc421254632) into an Apache Jena TDB database. Given 18 hours, the load of PubChem RDF Compound data was only 12/109 .ttl.gz files (11%) complete. Therefore, I hit CTRL+C to cancel the tdbloader operation and try other approaches

Multiple add operation using apache jena TDB

2014-06-27 Thread Alessandro Suglia
Good morning to all, I'm having some trouble using apache Jena TDB API, in particular when I have to add a lot of statement to my model. I need to save the result which I get from the dbpedia endpoint for about two thousand entities. For each entity I get about ten properties that I need for my

Re: Multiple add operation using apache jena TDB

2014-06-27 Thread Andy Seaborne
Hi there, What does PropertiesManager do? That seems critical here. You should be using dataset transactions, ReadWrite.WRITE for an update. Which version of jena is this? Inconsistency: base.allocOffset() = 1982292 : allocOffset = 0 That usually means that at some point in the past,

Re: Multiple add operation using apache jena TDB

2014-06-27 Thread Alessandro Suglia
Thank you for your reply. Exactly in this moment I'm writing the answer to my problem here and on SemanticWeb.com. In fact, during some experiments I've seen that for each transaction (delimited by a begin() and an end()) I need to get the default dataset and do the add operations on the new

Apache Jena Unsupported Operation Exception

2013-05-21 Thread Meraj A. Khan
Hello there I get the following exception when I run the code below. I use the maven dependency for Jena apache-jena-libs:2.10.1 : pom WARNING: Exception java.lang.UnsupportedOperationException INFO: ERROR: nodecfcd208495d565ef66e7dff9f98764da is not a URI node: The following code causes this