"FILTER" function not working with snapSPARQL 5.0.0

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

"FILTER" function not working with snapSPARQL 5.0.0

Dipali
Hello,

Recently on my system I updated snap SPARQL version to 5.0.0 and  observed FILTER function not working.

Step I :  Below snap shot shows the error while executing the query where data was filter with date.(Same query was working with  snap SPARQL 4.2.0 version)


Step II : I commented the filter function and executed it, it worked.


Step III.  Removed date filtering from the FILTER   and executed but did not get any result.




I am using Pellet reasoner while executing these queries. Is this issue with new version or do I need to  use any other reasoner?


Thanks,
Dipali


 

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: "FILTER" function not working with snapSPARQL 5.0.0

Matthew Horridge-2
Administrator
Hi Dipali,

This is likely due to your other problems with invalid lexical values for xsd:dateTimes.  Please see my first reply to you today and hopefully that will fix the problems that you’re having with your query.

Cheers,

Matthew

On 5 Nov 2017, at 22:51, Dipali <[hidden email]> wrote:

Hello,

Recently on my system I updated snap SPARQL version to 5.0.0 and  observed FILTER function not working.

Step I :  Below snap shot shows the error while executing the query where data was filter with date.(Same query was working with  snap SPARQL 4.2.0 version)
<ed881.1509951075.59.web.rediffmail.com.png>

Step II : I commented the filter function and executed it, it worked.
<96dd7.1509951075.63.web.rediffmail.com.png>

Step III.  Removed date filtering from the FILTER   and executed but did not get any result.

<d1158.1509951075.71.web.rediffmail.com.png>


I am using Pellet reasoner while executing these queries. Is this issue with new version or do I need to  use any other reasoner?


Thanks,
Dipali


 
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: "FILTER" function not working with snapSPARQL 5.0.0

Dipali
Hello Matthew,

FILTER command not working with 5.0.0 snap SPARQL version.

In the filter command I am not using any data filtering with date.. its just using machineid.

And same query was giving the  correct result with snap SPARQL version 4.2.0.

Thanks,
Dipali




From: Matthew Horridge <[hidden email]>
Sent: Mon, 06 Nov 2017 23:00:54
To: User support for WebProtege and Protege Desktop <[hidden email]>
Cc: protege-user <[hidden email]>
Subject: Re: [protege-user] "FILTER" function not working with snapSPARQL 5.0.0

Hi Dipali,
 
This is likely due to your other problems with invalid lexical values for xsd:dateTimes.  Please see my first reply to you today and hopefully that will fix the problems that you’re having with your query.
 
Cheers,
 
Matthew
 
On 5 Nov 2017, at 22:51, Dipali <[hidden email]> wrote:
 
Hello,

Recently on my system I updated snap SPARQL version to 5.0.0 and  observed FILTER function not working.

Step I :  Below snap shot shows the error while executing the query where data was filter with date.(Same query was working with  snap SPARQL 4.2.0 version)
[hidden email]"><ed881.1509951075.59.web.rediffmail.com.png>

Step II : I commented the filter function and executed it, it worked.
[hidden email]"><96dd7.1509951075.63.web.rediffmail.com.png>

Step III.  Removed date filtering from the FILTER   and executed but did not get any result.

[hidden email]"><d1158.1509951075.71.web.rediffmail.com.png>


I am using Pellet reasoner while executing these queries. Is this issue with new version or do I need to  use any other reasoner?


Thanks,
Dipali


 
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: "FILTER" function not working with snapSPARQL 5.0.0

Matthew Horridge-2
Administrator
Hi Dipali,

I can confirm this is a bug with = and RDF terms.  I’ve filed an issue here [1] and I’ll work on a fix for it.  As a workaround you can use STR to obtain string representations of the IRIs and check to see if these are equal.

Cheers,

Matthew




On 6 Nov 2017, at 22:27, Dipali <[hidden email]> wrote:

Hello Matthew,

FILTER command not working with 5.0.0 snap SPARQL version.
<63471.1510036018.66.web.rediffmail.com.png>
In the filter command I am not using any data filtering with date.. its just using machineid.

And same query was giving the  correct result with snap SPARQL version 4.2.0.

Thanks,
Dipali




From: Matthew Horridge <[hidden email]>
Sent: Mon, 06 Nov 2017 23:00:54
To: User support for WebProtege and Protege Desktop <[hidden email]>
Cc: protege-user <[hidden email]>
Subject: Re: [protege-user] "FILTER" function not working with snapSPARQL 5.0.0

Hi Dipali,
 
This is likely due to your other problems with invalid lexical values for xsd:dateTimes.  Please see my first reply to you today and hopefully that will fix the problems that you’re having with your query.
 
Cheers,
 
Matthew
 
On 5 Nov 2017, at 22:51, Dipali <[hidden email]> wrote:
 
Hello,

Recently on my system I updated snap SPARQL version to 5.0.0 and  observed FILTER function not working.

Step I :  Below snap shot shows the error while executing the query where data was filter with date.(Same query was working with  snap SPARQL 4.2.0 version)
[hidden email]"><ed881.1509951075.59.web.rediffmail.com.png>

Step II : I commented the filter function and executed it, it worked.
[hidden email]"><96dd7.1509951075.63.web.rediffmail.com.png>

Step III.  Removed date filtering from the FILTER   and executed but did not get any result.

[hidden email]"><d1158.1509951075.71.web.rediffmail.com.png>


I am using Pellet reasoner while executing these queries. Is this issue with new version or do I need to  use any other reasoner?


Thanks,
Dipali


 
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: "FILTER" function not working with snapSPARQL 5.0.0

Matthew Horridge-2
Administrator
Hi Dipali,

I’ve just published a new version of snap sparql (5.0.1) that fixes this problem.

Cheers,

Matthew

On 13 Nov 2017, at 13:27, Matthew Horridge <[hidden email]> wrote:

Hi Dipali,

I can confirm this is a bug with = and RDF terms.  I’ve filed an issue here [1] and I’ll work on a fix for it.  As a workaround you can use STR to obtain string representations of the IRIs and check to see if these are equal.

Cheers,

Matthew




On 6 Nov 2017, at 22:27, Dipali <[hidden email]> wrote:

Hello Matthew,

FILTER command not working with 5.0.0 snap SPARQL version.
<63471.1510036018.66.web.rediffmail.com.png>
In the filter command I am not using any data filtering with date.. its just using machineid.

And same query was giving the  correct result with snap SPARQL version 4.2.0.

Thanks,
Dipali




From: Matthew Horridge <[hidden email]>
Sent: Mon, 06 Nov 2017 23:00:54
To: User support for WebProtege and Protege Desktop <[hidden email]>
Cc: protege-user <[hidden email]>
Subject: Re: [protege-user] "FILTER" function not working with snapSPARQL 5.0.0

Hi Dipali,
 
This is likely due to your other problems with invalid lexical values for xsd:dateTimes.  Please see my first reply to you today and hopefully that will fix the problems that you’re having with your query.
 
Cheers,
 
Matthew
 
On 5 Nov 2017, at 22:51, Dipali <[hidden email]> wrote:
 
Hello,

Recently on my system I updated snap SPARQL version to 5.0.0 and  observed FILTER function not working.

Step I :  Below snap shot shows the error while executing the query where data was filter with date.(Same query was working with  snap SPARQL 4.2.0 version)
[hidden email]"><ed881.1509951075.59.web.rediffmail.com.png>

Step II : I commented the filter function and executed it, it worked.
[hidden email]"><96dd7.1509951075.63.web.rediffmail.com.png>

Step III.  Removed date filtering from the FILTER   and executed but did not get any result.

[hidden email]"><d1158.1509951075.71.web.rediffmail.com.png>


I am using Pellet reasoner while executing these queries. Is this issue with new version or do I need to  use any other reasoner?


Thanks,
Dipali


 
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user