Hi Lorena, Lorenz,
Thanks for your information. Sorry, I didn't check carefully the
documentation about SPARQL1.1 before picking an example 'IN' in the
SPARQL. Basically, we've created restful service for augmenting SPARQL
queries. The queries are created by third party and sent to the rest
endpoint to execute. The queries could be successfully run with SPARQL
endpoint of Virtuoso. However, our Restful endpoint was failed to run
such queries. The root cause was that Apache Jena library didn't
understand the queries sent by third party. I just tested a real case we
already had:
select ?s as ?s1 ?p ?o
where {
?s ?p ?o
}
limit 100
This query is very simple, okay with Virtuoso, but failed with Apache
Jena. For Apache Jena, we need to do something like:
select (?s as ?s1) ?p ?o
where {
?s ?p ?o
}
limit 100
But, basically SPARQL queries are sent by other people to our Restful
service, they just test the queries with SPARQL endpoint of Virtuoso,
then they expected it would work with our Restful service. Does anyone
of you know any possible solution for our issue. Thanks!
Best regards,
Kinh
On 25/06/15 16:03, Lorenz Bühmann wrote:
> Apache JENA supports full SPARQL 1.1 and thus also FILTER IN clause.
>
> Lorenz
>> Hi Lorena,
>>
>> Thanks Lorena. Indeed, this Javascript library seems so powerful. I just
>> had a quick look and found that the library also supported 'IN'.
>> However, sorry to not mention in the first message, I'm actually using
>> JAVA. Does you know a solution for this?
>>
>> Best regards,
>> Kinh
>>
>> On 25/06/15 15:36, Lorena Etcheverry wrote:
>>> Hi Kinh.
>>>
>>> I've been using this javascript SPARQL parser for a while and it's very
>>> good.
>>>
>>> http://ruben.verborgh.org/blog/2014/08/22/writing-a-sparql-parser-in-javascript/
>>>
>>> best
>>> lorena
>>>
>>> On 06/25/2015 10:15 AM, Cong Kinh Nguyen wrote:
>>>> Hi everybody,
>>>>
>>>> I have been using Jena library to parse SPARQL query. However, Virtuoso
>>>> supports a lot more than Jena. Could anyone tell me if there was any
>>>> libraries for parsing SPARQL queries with extensible features (for
>>>> example: support 'IN', etc.) in Virtuoso? Thanks in advance!
>>>>
>>>> Best regards,
>>>> Kinh
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Monitor 25 network devices or servers for free with OpManager!
>>>> OpManager is web-based network management software that monitors
>>>> network devices and physical & virtual servers, alerts via email & sms
>>>> for fault. Monitor 25 devices for free with no restriction. Download now
>>>> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>>>> _______________________________________________
>>>> Virtuoso-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>> ------------------------------------------------------------------------------
>> Monitor 25 network devices or servers for free with OpManager!
>> OpManager is web-based network management software that monitors
>> network devices and physical & virtual servers, alerts via email & sms
>> for fault. Monitor 25 devices for free with no restriction. Download now
>> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>> _______________________________________________
>> Virtuoso-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>>
>>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users