Rob - I notice you use rdfs:member which is a calculated property in ARQ.
There is a bug in ARQ (JENA-340) which means this isn't handled as a
calculated property inside a FILTER.
You have:
FILTER EXISTS { ?export rdfs:member ?ancestor } .
This probably does not relate to the issue (I'm still looking).
Andy
On 31/01/13 11:02, Rob Walpole wrote:
Thanks Andy... answers below...
Could you send complete, unbroken queries please? I fixed up the
last ones.
PREFIX api: <http://purl.org/linked-data/api/vocab#>
PREFIX dc: <http://purl.org/dc/terms/>
PREFIX dri: <http://nationalarchives.gov.uk/terms/dri#>
PREFIX elda: <http://www.epimorphics.com/vocabularies/lda#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX spec: <http://nationalarchives.gov.uk/terms/cat#>
PREFIX tna: <http://nationalarchives.gov.uk/vocab#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
DESCRIBE ?ancestor
WHERE
{
BIND(<http://nationalarchives.gov.uk/dri/catalogue/exportStatus/ReadyToProcess>
AS ?readyStatus)
BIND(<http://nationalarchives.gov.uk/dri/catalogue/item/c2433752-b1e5-44e4-a271-c36d29aa6a3b>
AS ?deselected)
?export rdfs:member ?member ;
dri:username "dfreeman"^^xsd:string ;
dri:exportStatus ?readyStatus .
OPTIONAL
{
# get the ancestors of the deselected item
?deselected (dri:parent)+ ?ancestor .
# get the ancestor that is a member of the export list
FILTER EXISTS { ?export rdfs:member ?ancestor } .
}
}
What's the data? How much etc?
About 9m triples stored in embedded TDB - equates to approx 1GB data.
Which version of Fuseki are you running?
0.2.5
What's the config?
Fuseki is run using the following command:
/opt/jena-fuseki-0.2.5/fuseki-server
--loc=/opt/jena-fuseki-0.2.5/Data/clean/db --mgtPort=3131 --update
/catalogue
No special config other than this.
How much heap?
Looks like the default Xmx1200 is being set within fuseki-server script
- we don't override this.
So I stopped and restarted Fuseki and then ran the above query which
resulted in the attached stack trace after about 5 mins.
Many thanks
Rob
--
Rob Walpole
[email protected] <mailto:[email protected]>
Tel. +44 (0)7969 869881
Skype: RobertWalpole
http://www.linkedin.com/in/robwalpole