Re: Use variable in SPARQL query

2016-11-02 Thread Lorenz Buehmann
On 02.11.2016 15:05, tina sani wrote: > The value of employee is either Manager or Technical. When user enter > Manager, I want the query to show instances of Manager class and when > Technical, it will show instances of Technical class. That is not a useful answer to my response.Please learn to

Re: Placement of VALUES block affects performance in 3.1.1

2016-11-02 Thread Osma Suominen
02.11.2016, 13:08, Osma Suominen wrote: It's possible that a MINUS expression could be used instead of FILTER NOT EXISTS and perform better. I will have to test this. But other than switching to MINUS, I can't think of any way to express this constraint on collections without using some kind of

RE: JDBC in Teiid/JBoss NodeValue / ClassNotFounderror

2016-11-02 Thread omar.khan
Rob - I restarted and tried much of the below , but same behavior - Ramesh has just responded with a question here at the bottom of the thread: https://developer.jboss.org/thread/272656 -Original Message- From: Rob Vesse [mailto:rve...@dotnetrdf.org] Sent: Wednesday, November 02, 2016

Re: [ANNOUNCE] Lorenz Buehmann elected as Committer

2016-11-02 Thread javed khan
Accept warm congratulation from my side also Lorenz. On Wed, Nov 2, 2016 at 4:28 PM, A. Soroka wrote: > Congratulations, Lorenz! > > Thank you for all the work you are putting in to help people. > > --- > A. Soroka > The University of Virginia Library > > > On Nov 2, 2016,

Re: [ANNOUNCE] Lorenz Buehmann elected as Committer

2016-11-02 Thread tina sani
Congrats Lorenz. On Wed, Nov 2, 2016 at 4:31 PM, David Moss wrote: > > Congratulations, Lorenz! > Thanks for putting in the effort. > DM > > >

Re: Use variable in SPARQL query

2016-11-02 Thread tina sani
The value of employee is either Manager or Technical. When user enter Manager, I want the query to show instances of Manager class and when Technical, it will show instances of Technical class. And yes, I have used all the prefixes with full URI in my query. On Wed, Nov 2, 2016 at 1:02 PM, Lorenz

RE: JDBC in Teiid/JBoss NodeValue / ClassNotFounderror

2016-11-02 Thread omar.khan
Andy thanks! I'm hoping Ramesh will be able to answer some of this I’m not sure where I actually would make the code call for the below , because from what I'm seeing - there is only driver configuration and no place to insert code in Teiid, but I'm probably mistaken. -Original

Re: JDBC in Teiid/JBoss NodeValue / ClassNotFounderror

2016-11-02 Thread Andy Seaborne
The FILTER requires value processing - which is NodeValue - otherwise your query does not need it. NodeValue calls "JenaSystem.init()" when the class is loaded so that suggests that full initialization has not happened. Try putting this code before doing anything related to jena including

Re: Tools for browsing and editing RDF data

2016-11-02 Thread David Moss
Protégé can do that. http://protege.stanford.edu/ DM On 2/11/16, 10:51 pm, "Mikael Pesonen" wrote: Hi, I'm having trouble to find tools which a non-SPARQL person could use for editing and viewing any kind of semantic data on Jena

RE: JDBC in Teiid/JBoss NodeValue / ClassNotFounderror

2016-11-02 Thread omar.khan
Rob/Andy - thanks! I'm not sure if I made this clear ... My query does work fine as long as I don't include "FILTER"; I'm able to get back a select ?s ?p ?o {?s ?p ?o} with no issues from the driver I did just try the latest snapshot bundle jar, unfortunately... If I include FILTER

Tools for browsing and editing RDF data

2016-11-02 Thread Mikael Pesonen
Hi, I'm having trouble to find tools which a non-SPARQL person could use for editing and viewing any kind of semantic data on Jena triplestore. For example we have metadata describing files and people using Dublin Core and FOAF ontologies, and we would to edit that metadata. I guess such a

Re: Placement of VALUES block affects performance in 3.1.1

2016-11-02 Thread Osma Suominen
Hi Andy! Thanks a lot for looking into this and your very clear explanation. 01.11.2016, 21:12, Andy Seaborne wrote: It has always been inside-out then optimized to use stream based index joins. However in this case "inside out" is confusing because the query has a double negation of FILTER

Re: Use variable in SPARQL query

2016-11-02 Thread Lorenz B.
WHAT is a concrete value of the variable 'employee'? And, full URIs have to be put between '<' and '>' > Lorenz, this does not work for me: > > Select * where{?emp rdf:type "+employee+"}"; > > employee variable is : String employee; have values Manager or Technical > depend on user input. > >

Re: Use variable in SPARQL query

2016-11-02 Thread tina sani
Lorenz, this does not work for me: Select * where{?emp rdf:type "+employee+"}"; employee variable is : String employee; have values Manager or Technical depend on user input. On Wed, Nov 2, 2016 at 10:48 AM, Lorenz B. < buehm...@informatik.uni-leipzig.de> wrote: > It should be clear that

[ANNOUNCE] Lorenz Buehmann elected as Committer

2016-11-02 Thread Rob Vesse
All The Apache Jena PMC have inivited Lorenz Buehmann to become a committer and we are pleased to announce that he has accepted We have recognised Lorenz for sterling work he does in answering user questions and participating in discussions on the mailing lists. He is always courteous

Re: Placement of VALUES block affects performance in 3.1.1

2016-11-02 Thread Andy Seaborne
On 01/11/16 22:40, james anderson wrote: good evening; On 2016-11-01, at 20:12, Andy Seaborne wrote: On 01/11/16 12:38, Osma Suominen wrote: Hi, [about a query which exercises the interaction between a values clause and statement pattern at locations relatively remote

Re: JDBC in Teiid/JBoss NodeValue / ClassNotFounderror

2016-11-02 Thread Rob Vesse
They seem to be conflating two different things here We do use and support Standard JDBC Driver initialisation. We also use the same underlying Java mechanism i.e. ServiceLoader to initialise Jena itself. Our JDBC driver initialisation invokes our Jena initialisation. So as far as we’re

Re: JDBC in Teiid/JBoss NodeValue / ClassNotFounderror

2016-11-02 Thread Andy Seaborne
On 02/11/16 03:10, omar.k...@wellsfargo.com wrote: Hi Andy - further info from Ramesh ; thanks for your patience - he was having access accessing /reading MarkMail - so I'm relaying (original from bottom of https://developer.jboss.org/thread/272656) : "Basically what they need to do,

Re: Handling named graphs in Jena.

2016-11-02 Thread Andy Seaborne
On 02/11/16 02:28, Jason Koh wrote: Thanks for the answers! It solved the error. But I got a followup question... After constructing a named graph with the previous code, I tried to SELECT all the triples in the graph by the following query, and it gives nothing... / String

Re: Use variable in SPARQL query

2016-11-02 Thread Lorenz B.
It should be clear that String concatenation calls the toString() method of your object. We don't know how this is implemented in your code though. > Will simply putting a variable inside a query work? > > {?emp rdf:type "+employee+"}"; > > On Tue, Nov 1, 2016 at 6:13 PM, lookman sanni