Re: Compile Forked Version

2017-01-04 Thread Samur Araujo
Hi Rob, I tried your approach but I got this error when packing: It still cannot solve the dependencies. Am I missing any parameter? ~/tools/jena-master-forked/jena-arq$ mvn package [INFO] Scanning for projects... [INFO] [INFO]

Re: Code for SpinRDF for Jena

2017-01-04 Thread Claude Warren
Perhaps the version should be 3.0.1-SNAPSHOT? On Wed, Jan 4, 2017 at 11:58 PM, Martynas Jusevičius wrote: > Looks like Java was repackaged under "org.spinrdf" but the Maven > artifact is still under TopBraid namespace? Is that intended? > > 4.0.0 > org.topbraid > spin >

Re: Code for SpinRDF for Jena

2017-01-04 Thread Martynas Jusevičius
Looks like Java was repackaged under "org.spinrdf" but the Maven artifact is still under TopBraid namespace? Is that intended? 4.0.0 org.topbraid spin jar 3.0.0 TopBraid SPIN API http://spinrdf.org/ BTW, shouldn't we change the version to 3.0.0-SNAPSHOT until any releases are planned/made? On

Re: Code for SpinRDF for Jena

2017-01-04 Thread Martynas Jusevičius
I have opened an issue for this: https://github.com/spinrdf/spinrdf/issues/2 Any comments? On Fri, Dec 30, 2016 at 5:34 PM, Martynas Jusevičius wrote: > I'll have a thing or two to contribute. This behavior is especially > annoying for us :) > > "Queries using sp:text

Re: Compile Forked Version

2017-01-04 Thread Rob Vesse
Probably the easiest thing to do is to change the versions in all the pom.xml files to a custom version so it can only use locally installed artefacts because the version won’t exist anywhere else i.e. Even if it looks for it on the Internet it won’t find it. You can do this automatically like

Re: Measuring cold-boot query execution times. Unexplained 2 seconds difference with official release.

2017-01-04 Thread Rob Vesse
On 04/01/2017 16:19, "Andy Seaborne" wrote: Given enough data, a rotating disk, cold, a portable, and bytes codes not JIT'ed, 2s for reading the data is possible. There is also potentially OS caching effects. Reading data may be faster on subsequent runs if the file

Re: Compile Forked Version

2017-01-04 Thread Andy Seaborne
The other modules will look for jena-core. If you want a different one, then change the pom.xml files to name a different artifact. Andy On 04/01/17 15:41, Lorenz Buehmann wrote: You can specify the modules that you want to install or ignore mvn clean install -pl !jena-core should do

Re: Measuring cold-boot query execution times. Unexplained 2 seconds difference with official release.

2017-01-04 Thread Andy Seaborne
> Is there some sort of > optimization applied to the official release JARs? No. For Java, optimization is done at runtime via the JIT. I don't think compile time optional optimization means anything any more. Anyway, all the time consuming parts are likely Jena and HDT, not your command.

Re: Rules

2017-01-04 Thread javed khan
Let me explain : There are 4 students, having scores of three subjects (1) Bob: Cryptographyscore 50, SE score 58, *Networking score 70* (2) Jim: *Cryptographyscore 86*, SEscore 55, Networkingscore 48 (3) Smith: Cryptographyscore 78, *SEscore 79*, Networkingscore 60 (4) David:

Re: Compile Forked Version

2017-01-04 Thread Lorenz Buehmann
You can specify the modules that you want to install or ignore mvn clean install -pl !jena-core should do the trick and omit jena-core On 04.01.2017 15:53, Samur Araujo wrote: > My forked version overwrite the dependencies. I do not want it to get the > jena-core from repository but look for

Re: Rules

2017-01-04 Thread Lorenz Buehmann
> Hello Rob, > > We are in a group and we discussed it. > > We have three data properties , CryptographyScore, SoftwareEngineering > score and NetworkingScore and we need the maximum of these three scores for > a student. > > Can we do it like this > > SELECT ?student (MAX(?score1, ?score2,

Re: Rules

2017-01-04 Thread Dave Reynolds
Hi Rob, On 04/01/17 14:05, Rob Vesse wrote: Most likely not You seem to be running into the XY problem a lot (http://xyproblem.info) You keep asking how to do things with rules for which rules are not really designed. And from some of your responses it sounds like the problems you’re trying

Re: Compile Forked Version

2017-01-04 Thread Samur Araujo
My forked version overwrite the dependencies. I do not want it to get the jena-core from repository but look for it locally, in the jena-master local folder structure. Is there any way to easily configure this? On 4 January 2017 at 15:03, Andy Seaborne wrote: > > "mvn clean

Measuring cold-boot query execution times. Unexplained 2 seconds difference with official release.

2017-01-04 Thread Thomas Krijnen
Dear all, I am trying to benchmark cold-boot query times so to say. So not only the actual execution of the query, but also parsing the model, and maybe even the time for the JVM et al. to boot up and load the jars. For that purpose I have the following trivial code base [1], which I thought is

Re: Rules

2017-01-04 Thread javed khan
Hello Rob, We are in a group and we discussed it. We have three data properties , CryptographyScore, SoftwareEngineering score and NetworkingScore and we need the maximum of these three scores for a student. Can we do it like this SELECT ?student (MAX(?score1, ?score2, ?score3) AS ?topScore)

Hello, I have a question regarding loading data to TDB

2017-01-04 Thread claire Qiu
Hi, I have got a data file which is in N-Triples form, and while I was loading the data to TDB,syntactic error occurred. Then, it showed me that some of the URIs contains illegal symbols. Below are two of them, and illegal symbols are "{" and "|". a. <

Re: Rules

2017-01-04 Thread Rob Vesse
Most likely not You seem to be running into the XY problem a lot (http://xyproblem.info) You keep asking how to do things with rules for which rules are not really designed. And from some of your responses it sounds like the problems you’re trying to solve don’t actually need rules at all.

Re: Compile Forked Version

2017-01-04 Thread Andy Seaborne
"mvn clean install" On 04/01/17 13:17, Samur Araujo wrote: Hi all, how do I compile a forked version of Jena? What are the parameters I need to be passed to maven? I used "mvn package -o" But I got the error: Could not resolve dependencies. You will need to let it down dependencies at

Re: Rules

2017-01-04 Thread Dave Reynolds
On 04/01/17 13:25, javed khan wrote: Thanks Dave and Lorenz for your response. What if we have entered the score for a student in Cryptography and SoftwareEngineering and did not entered for Networking subject and stored something like this in our owl file: Student1 Name: Bob

Re: Rules

2017-01-04 Thread javed khan
Thanks Dave and Lorenz for your response. What if we have entered the score for a student in Cryptography and SoftwareEngineering and did not entered for Networking subject and stored something like this in our owl file: Student1 Name: Bob CryptographyScore: 60 SoftwareEngineeringScore: 80

Compile Forked Version

2017-01-04 Thread Samur Araujo
Hi all, how do I compile a forked version of Jena? What are the parameters I need to be passed to maven? I used "mvn package -o" But I got the error: Could not resolve dependencies. -- Senior Data Scientist Geophy www.geophy.com Nieuwe Plantage 54-55 2611XK Delft +31 (0)70 7640725 1 Fore

Restricting add/delete based on data in the graph

2017-01-04 Thread Claude Warren
Greetings, This is not a question, just an observation. If you have referential data integrity requirements along the order of Only allow if both exit. It is possible to implement the referential rules using the permissions layer. If anyone is interested I will write up a how to type

Re: Jena with Lucene 5 or 6

2017-01-04 Thread Samur Araujo
Hi Osma, there is I want lucene 6 is because I want the fastest spatial index. However, I would like to test the performance of lucene 5.5.3. I could not build the fork using mvn package. Do you know how can I build it to test it? Best On 3 January 2017 at 13:32, Osma Suominen

Re: Rules

2017-01-04 Thread Lorenz B.
Inline comments: > I have three subjects marks for a student. > Cryptography, Networking, Software Engineering with different marks for > each student. > I want to calculate in which subject a student got maximum marks using Jena > rule and will set that subject as HighScoreSubject of the student

Re: Rules

2017-01-04 Thread Dave Reynolds
On 03/01/17 22:50, javed khan wrote: Hello I have three subjects marks for a student. Cryptography, Networking, Software Engineering with different marks for each student. I want to calculate in which subject a student got maximum marks using Jena rule and will set that subject as