Re: About SPARQL predicates as variables...

2015-08-24 Thread Mark Feblowitz
It occurred to me that I had previously tested a related (sub)query and it seems very simple and quick, looking for predicates for a given entity: PREFIX : PREFIX rdf: SELECT (COUNT(DISTINCT ?predicate) as ?PC) WHERE

Re: Upgrading from Fuseki 2.0 to 2.3

2015-08-24 Thread Andy Seaborne
On 24/08/15 18:32, Colin Maudry wrote: Thanks Adam! I guess a "System requirements" section in here would be useful https://jena.apache.org/documentation/fuseki2/ I'd be glad to add it if I could. Does the "improve this button" work for you? It should bring up a page where the first entry is

Re: Fuseki 2.0 configuration issues

2015-08-24 Thread Adrian Gschwend
On 24.08.15 13:05, Andy Seaborne wrote: Hi Andy, > Adrian - That would be perfect. I don't think I need the data, just > the setup. It would also be useful to know exactly how you are > making the call. A per-query timeout is possible with the header > "Timeout:" or parameter &timeout=. I use

Re: Upgrading from Fuseki 2.0 to 2.3

2015-08-24 Thread Colin Maudry
Thanks Adam! I guess a "System requirements" section in here would be useful https://jena.apache.org/documentation/fuseki2/ I'd be glad to add it if I could. Colin On 24/08/2015 19:27, aj...@virginia.edu wrote: > Fuseki (and the rest of Jena) now requires Java 8. That's the problem you > have

Re: Upgrading from Fuseki 2.0 to 2.3

2015-08-24 Thread aj...@virginia.edu
Fuseki (and the rest of Jena) now requires Java 8. That's the problem you have here. --- A. Soroka The University of Virginia Library On Aug 24, 2015, at 1:25 PM, Colin Maudry wrote: > Hello, > > I've been using Fuseki 2.0 for months on Ubuntu 14.04, and realized a > v2.3 was out. > > 1. I d

Upgrading from Fuseki 2.0 to 2.3

2015-08-24 Thread Colin Maudry
Hello, I've been using Fuseki 2.0 for months on Ubuntu 14.04, and realized a v2.3 was out. 1. I downloaded it 2. Added the necessary permissions "chmod u+x fuseki-server" 3. ./fuseki-server --update --mem /datagouvfr Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apach

Re: Apache Maven

2015-08-24 Thread kumar rohit
I got it.. thanks On Mon, Aug 24, 2015 at 5:32 PM, Colin Maudry wrote: > Hi Kumar, > > What you describe is "using Jena". > > Doing development means writing code to extend Jena functionality with > plugins, bug fixes, etc. > > So it seems like you don't need Maven. > > Colin > > On 24/08/2015

Re: Apache Maven

2015-08-24 Thread Colin Maudry
Hi Kumar, What you describe is "using Jena". Doing development means writing code to extend Jena functionality with plugins, bug fixes, etc. So it seems like you don't need Maven. Colin On 24/08/2015 18:10, kumar rohit wrote: > yes I develop ontology in Protege, import it in Jena, iterate thr

Re: Apache Maven

2015-08-24 Thread kumar rohit
yes I develop ontology in Protege, import it in Jena, iterate through its triples, and running SPARQL queries using Jena. If this is Jena code writing, then what is using jena code? Thanks for your time. On Mon, Aug 24, 2015 at 4:54 PM, aj...@virginia.edu wrote: > Are you _using_ Jena's code or

Re: Apache Maven

2015-08-24 Thread kumar rohit
what does "actual development work on Jena, " means? can you differentiate between Jena as a framework and actual development with Jena? On Mon, Aug 24, 2015 at 4:21 PM, aj...@virginia.edu wrote: > Apache Maven is the build management system used by Jena. You will find > info here: > > https://

Re: Fuseki 2 HA or on-the-fly backups?

2015-08-24 Thread Andy Seaborne
On 24/08/15 16:15, Jason Levitt wrote: Great info, thanks. Some organisations achieve this by running a load balancer in front of several replicas then co-ordinating the update process. So, they're running the same query against other nodes behind the load balancer to keep things in sync? Y

Re: Clearing cache does not effect query execution time

2015-08-24 Thread Andy Seaborne
There is another important cache - the node table cache is not a filing system cache at all. It's in-process, in Java, cache. It caches what is otherwise random I/O and potentially expensive. Depends on what your queries are as to which caching effects dominate execution. SELECT * { ?s ?p

Re: Apache Maven

2015-08-24 Thread aj...@virginia.edu
Are you _using_ Jena's code or _writing new Jena code_? The latter is actual development work. --- A. Soroka The University of Virginia Library On Aug 24, 2015, at 11:52 AM, kumar rohit wrote: > what does "actual development work on Jena, " means? can you differentiate > between Jena as a fram

Re: Apache Maven

2015-08-24 Thread aj...@virginia.edu
Apache Maven is the build management system used by Jena. You will find info here: https://maven.apache.org/ If you are just using Jena as a framework or toolkit you will probably not need Maven. If you intend to do actual development work on Jena, you will need to become familiar with Maven.

Re: Fuseki 2 HA or on-the-fly backups?

2015-08-24 Thread Jason Levitt
Great info, thanks. > Some organisations achieve this by running a load balancer in front of > several replicas then co-ordinating the update process. So, they're running the same query against other nodes behind the load balancer to keep things in sync? > You can do a live backup So, an HTTP P

Apache Maven

2015-08-24 Thread kumar rohit
What Apache Maven in Eclipse is used for? In what type of application we need it? Also I have found various tutorials showing downloading, installing, and integrating Maven in Eclipse but I think Eclipse has already Maven installed and integrated. Is it so?

Re: Clearing cache does not effect query execution time

2015-08-24 Thread Rob Vesse
Comments inline: On 24/08/2015 14:28, "Ankur Padia" wrote: >Hello everyone, > > I want to execute a bunch of queries on Fuseki server using default >settings and want to clear cache. To accomplish the goal mentioned, I used >following linux command to clean the cache, > >*sync; echo 3 | sudo t

Clearing cache does not effect query execution time

2015-08-24 Thread Ankur Padia
Hello everyone, I want to execute a bunch of queries on Fuseki server using default settings and want to clear cache. To accomplish the goal mentioned, I used following linux command to clean the cache, *sync; echo 3 | sudo tee /proc/sys/vm/drop_caches* However, instead of getting execution t

Re: Fuseki 2.0 configuration issues

2015-08-24 Thread Andy Seaborne
On 23/08/15 16:23, Adrian Gschwend wrote: On 09.07.15 11:03, Andy Seaborne wrote: Hi Andy, Could this be JENA-918? Andy https://issues.apache.org/jira/browse/JENA-918 oh I didn't see there is a tdb-config as well. I just changed it there to 5000ms and I still get the error. Can I s

Re: Fuseki 2 HA or on-the-fly backups?

2015-08-24 Thread Rob Vesse
Andy already answered 1 but more on 2 Assuming you use TDB then in-memory checkpointing already happens. TDB caches data into memory but fundamentally is a persistent disk backed database that uses write-ahead logging for transactions and failure recovery so this already happens automatically and

Re: Module.owl attached.

2015-08-24 Thread Andy Seaborne
On 23/08/15 11:50, kumar rohit wrote: Here the protege file is attached. My sparql query is SELECT ?var WHERE { ?var rr:studies rr:Course2 } Apache mailing lists do not accept attachments. For a complete, minimal, example it should be small enough to post here - if not, put on pastebi

Re: Fuseki 2 HA or on-the-fly backups?

2015-08-24 Thread Andy Seaborne
On 24/08/15 05:51, Jason Levitt wrote: Just wondering if there are any projects out there to provide: 1) HA (high availability) configuration of Fuseki such as mirroring or hot/standby failover. Some organisations achieve this by running a load balancer in front of several replicas then

Re: Apache Tinkerpop as Jena Backend ?

2015-08-24 Thread Claude Warren
Bart, You might want to look at SDB running on one of the relational databases that bluemix provides. Not a good solution in terms of high performance but one that should work. Claude On Sat, Aug 22, 2015 at 10:51 AM, Bart van Leeuwen < bart_van_leeu...@netage.nl> wrote: > Hi Andy, > > Thanks