Re: Security Module

2013-04-11 Thread Claude Warren
I believe that D2RQ can be presented as a Graph or Model. The security module can wrap either (I recommend Model for most cases). Fuseki can serve any model as a data set. I think that the architecture would look something like. Fuseki -> 3rd party Authentication Module |^ v

Re: Security Module

2013-04-11 Thread Johan Kumps
Hi, Just another question. Could I use this libary together with D2RQ server and a SPARQL endpoint? It should be possible to only get triples from the SPARQL endpoint to which the user has access to. How can I get this to work using your or a similar library (if it exists?)? Johan, 2013/4/11 Jo

Re: Security Module

2013-04-11 Thread Johan Kumps
Hi, I would be interested in using the framework. I will be starting a project in a few months using triple graphs for integrating/linking different data sets. Security is a hot topic for the customer. Not all users may have access to all triples although they are linked to triples to which they d

Security Module

2013-04-11 Thread Claude Warren
I have a security framework for Jena ( https://github.com/Claudenw/JenaSecurity) that wraps any Apache Jena graph or model to provide a authorization layer. The module includes an assembler and a query engine to handle ARQ queries. The framework is licensed under the Apache 2 license. The framew

Where is this link?

2013-04-11 Thread Tim Harsch
There is a link referenced at: http://seaborne.blogspot.com/2007/08/syntax-comparison-of-n3-and-turtle.html for: "Some notes on the syntax differences between N3 and Turtle" that is broken.  I once added a comment for the new location, but that one is broken too now.  Did it make it to the new

[ANN] Jena and text search

2013-04-11 Thread Andy Seaborne
There is a new, experimental module - jena-text - for anyone interested to try out. This is a possible replacement for LARQ (whether to call it "LARQ2" or something else is for discussion). It is not compatible with current LARQ1. == Features * works in Fuseki, with assembler setup, witho

Re: SERVICE problem

2013-04-11 Thread Diogo FC Patrao
Hi Andy I did some more tests and the problem was that some SQL expression were returning a binary data type instead of varchar for the URI, and D2R got that serialized as a string of hex codes. Thanks anyway! -- diogo patrão On Thu, Apr 11, 2013 at 8:58 AM, Andy Seaborne wrote: > On 11/04

Re: Re: Re:

2013-04-11 Thread Mark Fischer
As always with problems of this nature, attempt to create a minimal example. Something like, public static void main(String args[]){ RDFNode node = // initialize an RDFNode; Resource res = node.asResource(); } Now you have a short two line program. If it fails, that lets you know the prob

Re: Re: Re:

2013-04-11 Thread aarthi
this is my code... i got this code from a person in users@apache. please help me import com.hp.hpl.jena.graph.FrontsNode; import com.hp.hpl.jena.graph.Node; import com.hp.hpl.jena.ontology.BooleanClassDescription; import com.hp.hpl.jena.ontology.OntClass; import com.hp.hpl.jena.ontology.OntModel

Re: Re: Re:

2013-04-11 Thread Chris Dollin
On Thursday, April 11, 2013 05:51:30 AM aarthi wrote: > i'm comparing two classes.. if its a resource, asResource() will return > the resource else it will through the exception.. Yes, that's what it's for, but you /don't need to use/ asResource or asLiteral to do an equality test. > for th

RE: Concurrency in Jena/SDB

2013-04-11 Thread Lebling, David (US SSA)
Andy, It has been used with Postgres and MySQL. Dave -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Thursday, April 11, 2013 8:16 AM To: users@jena.apache.org Subject: Re: Concurrency in Jena/SDB David, Your not executing inside a database level (JDBC) transacti

Re: Re:

2013-04-11 Thread aarthi
i'm comparing two classes.. if its a resource, asResource() will return the resource else it will through the exception.. for this asResource() i found an error that " cannot find symbol symbol: method asResource() location: interface com.hp.hpl.jena.rdf.model.RDFNode"... so what to

mapping two ontologies

2013-04-11 Thread aarthi
hi.. i have create two sample ontologies. i need to map them using jena. can anyone help me how to proceed?

Re: Concurrency in Jena/SDB

2013-04-11 Thread Andy Seaborne
David, Your not executing inside a database level (JDBC) transaction. I'm afraid model.begin/commit does not know about JDBC properly. You need to control the JDBC transaction in your code to get isolation between JVMs. Which SQL database are you using? Andy On 10/04/13 16:12, Leb

Re: How to completely detach a ResultSet from a TDB model

2013-04-11 Thread Andy Seaborne
On 10/04/13 15:23, "Dr. André Lanka" wrote: Dear Jena community, we didn't find a way (in the original Jena API 2.10) to completely detach a result set from the underlying model. It's possible to detach it from the QueryExecution by using ResultSetFactory.copyResults but the bindings still point

Re: SERVICE problem

2013-04-11 Thread Andy Seaborne
On 11/04/13 12:45, Diogo FC Patrao wrote: Hello Andy joseki-3.4.4 Use Fuseki I'll try; Any help in order to get things straight will be appreciated. I can't think of anything You say the query directly to the D2R-server -- what format is that using? Could you show a sample of t

Re: SERVICE problem

2013-04-11 Thread Diogo FC Patrao
Hello Andy > joseki-3.4.4 >> > > Use Fuseki > I'll try; > Any help in order to get things straight will be appreciated. >> > > I can't think of anything > > You say the query directly to the D2R-server -- what format is that using? > Could you show a sample of the results (inc MIME type)? >

Re: question about outputting query result as JSON format

2013-04-11 Thread Kapoor, Shruti
On 11 April 2013 16:22, Andy Seaborne wrote: > new JSONOutput Hi It worked! But now i need to visualize this data using arbor.js. How should i sent this data? Regards Shruti -- "This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may co

Re: question about outputting query result as JSON format

2013-04-11 Thread Andy Seaborne
On 11/04/13 11:35, Jie wrote:> Hello, I need to get the query result in the format of JSON and I have find the two class dealing with this in jena, which are JSONOutputResultSet and ResultSetFormatter. I wonder which is the difference between using this two, and if anyone have got some sample co

Re: question about outputting query result as JSON format

2013-04-11 Thread Kapoor, Shruti
On 11 April 2013 16:05, Jie wrote: > et the query result in the format of JSON and I have find the Hi, I have the same problem. I need to convert sparql result into Json. Regards Shruti -- "This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s

question about outputting query result as JSON format

2013-04-11 Thread Jie
Hello, I need to get the query result in the format of JSON and I have find the two class dealing with this in jena, which are JSONOutputResultSet and ResultSetFormatter. I wonder which is the difference between using this two, and if anyone have got some sample code for this? Thank you very much.

Re: how to use rdfcat in command line for merging ontologies

2013-04-11 Thread Andy Seaborne
On 11/04/13 11:05, suganya wrote: hi i used as u said.. but i came up with lot of exceptions... i think there are some jar files that are need to be added to library... i want to know what are those jar files... Inline image 2 No attachments here. rdfcat is a command lien application

Re: how to use rdfcat in command line for merging ontologies

2013-04-11 Thread suganya
hi i used as u said.. but i came up with lot of exceptions... i think there are some jar files that are need to be added to library... i want to know what are those jar files... [image: Inline image 2] On Thu, Apr 11, 2013 at 2:51 PM, Andy Seaborne wrote: > On 11/04/13 08:52, suganya wrot

Re: SERVICE problem

2013-04-11 Thread Andy Seaborne
On 10/04/13 14:19, Diogo FC Patrao wrote: Hello all I have a d2r-server (a joseki server providing a sparql endpoint using d2rq, a library that translates sparql to sql) and noticed a strange effect when issuing a certain query: SELECT DISTINCT * WHERE { SERVICE

Re: how to use rdfcat in command line for merging ontologies

2013-04-11 Thread Andy Seaborne
On 11/04/13 08:52, suganya wrote: Hi, i want to merge two rdf/xml file using rdfcat in jena... > how to merge them??? merging files is simply a matter of combining the triples. Give rdfcat several files and it will write the combined RDF model. Andy

how to use rdfcat in command line for merging ontologies

2013-04-11 Thread suganya
Hi, i want to merge two rdf/xml file using rdfcat in jena... > how to merge them??? -- with regards. sugan,...