On 01/08/12 17:57, Steve Harris wrote:
4store supports neither subqueries, nor SERVICE, so I think you can blame that
:)
- Steve
On 2012-08-01, at 17:35, Olivier Rossel wrote:
Hi jena-users (and Steve :)
I am sending this query to my 4store 1.1.4:
CONSTRUCT
{ ?Anl0 <http://data.bnf.fr/ontologie/hasExpression> ?Expression1 .
?Anl0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://rdvocab.info/uri/schema/FRBRentitiesRDA/Anl> }
WHERE
{ SERVICE <http://royale.zerezo.com:6666/sparql/> {
{SELECT * WHERE {?Anl0 <http://data.bnf.fr/ontologie/hasExpression>
?Expression1 FILTER ( (!isLiteral(?Expression1)) || lang( ?Expression1
)="" || lang( ?Expression1 )="en" ) .
?Anl0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://rdvocab.info/uri/schema/FRBRentitiesRDA/Anl>} LIMIT 1}
}} LIMIT 300
I should get much fewer results than what I get (because of the LIMIT
1 in the sub-SELECT).
I use Jena (with Syntax.syntaxSPARQL_11) as my client lib. And 4store
1.1.4 as my server.
And I wonder whether I have to blame Jena or 4store (or me :)
Any opinion, fellows?
So it's the SERVICE part that goes to 4Store ...
What query is received? How long does it take?
SELECT *
WHERE
{ ?Anl0 <http://data.bnf.fr/ontologie/hasExpression> ?Expression1
FILTER ( ( ( ! isLiteral(?Expression1) ) || ( lang(?Expression1) = ""
) ) || ( lang(?Expression1) = "en" ) )
?Anl0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://rdvocab.info/uri/schema/FRBRentitiesRDA/Anl>
}
LIMIT 1
Andy