Re: SPARQL LOAD Error on Fuseki 3.4.0

2017-09-01 Thread Lorenz Buehmann
> > > On 31/08/17 15:35, Yasunori Yamamoto wrote: >> Thank you for your quick response. >> On the 3.5.0-SNAPSHOT, SPARQL LOAD queries work fine. >> >> In addition, as this issue also happens on the 2.6.0, some UTF-8 >> characters make something wrong. >> For example, the following errors occur.

Re: SPARQL LOAD Error on Fuseki 3.4.0

2017-09-01 Thread Andy Seaborne
On 31/08/17 15:35, Yasunori Yamamoto wrote: Thank you for your quick response. On the 3.5.0-SNAPSHOT, SPARQL LOAD queries work fine. In addition, as this issue also happens on the 2.6.0, some UTF-8 characters make something wrong. For example, the following errors occur. 1. Caused by:

Re: Filter query not working

2017-09-01 Thread Sidra shah
Hello Lorenz, thank you It matches now matches the name when some one enter opposite case like john, John etc. But in my owl file, only first name is given i.e John and I want if some one even type John kim, the query matches. The above query supposed to work for it but it does not display the

Re: Filter query not working

2017-09-01 Thread Sidra shah
I am sorry Lorenz, but I do not understand How to split the string by white space and then combine? I have no idea about it, currently. Could you please guide? On Fri, Sep 1, 2017 at 5:30 PM, Lorenz Buehmann < buehm...@informatik.uni-leipzig.de> wrote: > It should be clear that the REGEX "John

Re: Filter query not working

2017-09-01 Thread Lorenz Buehmann
It should be clear that the REGEX "John kim" does not match the literal "John". Simply split the string by white space and combine this in your REGEX On 01.09.2017 15:31, Sidra shah wrote: > Hello Lorenz, thank you > > It matches now matches the name when some one enter opposite case like >

Re: SPARQL LOAD Error on Fuseki 3.4.0

2017-09-01 Thread Yasunori Yamamoto
Thank you for telling me the issue. I confirmed that uploading an RDF/XML file of the one of the above URI made no error (). The problem is that some illegal characters such as WHITE STAR or HORIZONTAL BAR are in the prefixed URI or PN_LOCAL, which should be

Re: Filter query not working

2017-09-01 Thread Rob Vesse
Sidra As I have said in the past on this list please do not forget you are using a programming language. You are free to implement your application however you see fit, this will involve you writing some code and making some design decisions. This list does not exist to write code for you. We

Re: Filter query not working

2017-09-01 Thread Sidra shah
Sorry Rob, if my question bothered. I thought the problem is in my query and that is why I asked here., Regards On Fri, Sep 1, 2017 at 6:36 PM, Rob Vesse wrote: > Sidra > > As I have said in the past on this list please do not forget you are using > a programming

Re: Filter query not working

2017-09-01 Thread Sidra shah
Hello Rob, I have a string variable ss for string John kim, so when user enter name, it is saved in ss. how can we then use FILTER(REGEX(?name, “John|kim”, “i”) Or, I just use two text boxes for first name and last name and then ? FILTER(REGEX(?name, “firstname”, “i”) && REGEX(?name,

Re: Filter query not working

2017-09-01 Thread Rob Vesse
Really it depends on exactly what you want to do It is entirely possible to create a regular expression that looks for only a partial match, however you will have to implement logic in your application to convert the user provided search string into an appropriate regular expression for your

Re: Filter query not working

2017-09-01 Thread Lorenz Buehmann
The problem is not in your query but in the application logic. You have to figure out what a user would enter in the text field of the UI. Indeed, a user could enter whole sentences, but you have to find a trade-off between what your application supports and its implementation complexity. Note,

Re: SPARQL vs Jena rules

2017-09-01 Thread Dave Reynolds
On Thu, 31 Aug 2017 09:48:51 +0200, Dave Reynolds wrote: 1c. If your rules can't be stratified, i.e. one rule can indirectly trigger itself, then it's more complex. In that case you would have to e.g. run the set of SPARQL Updates repeatedly until nothing new is

Re: Filter query not working

2017-09-01 Thread Lorenz Buehmann
Jena version please. Show the other query please. Share some sample data please. Note, REGEX is case-sensitive, i.e. FILTER(regex(?name ,'john')) won't match the literal "John kim" As I don't know the data nor your query, I only know that the query SELECT * WHERE { ?x mo:publishedBy ?y