On 08/12/15 13:56, Andy Seaborne wrote:
Hi,

Here is a vote on a release of Jena 3.0.1 with Fuseki 2.3.1 and Fuseki
1.3.1.

-1.

We installed Fuseki 1.3.1-SNAPSHOT 2015-12-07T14:05:00+0000 on our dev server today. The query below now takes more than 100 seconds. With 1.3.0 it takes about 2.5 seconds. The configuration and databases are the same.

I'll try to investigate further and isolate a more minimal example. I just wanted to raise this ASAP.

-Osma


PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX isothes: <http://purl.org/iso25964/skos-thes#>
PREFIX text: <http://jena.apache.org/text#>
PREFIX cn: <http://urn.fi/URN:NBN:fi:au:cn:>
PREFIX lapponica: <http://urn.fi/URN:NBN:fi:au:lapponica:>

SELECT DISTINCT ?s ?label ?plabel ?alabel ?hlabel ?graph (GROUP_CONCAT(DISTINCT ?type) as ?types)

WHERE {
 VALUES (?prop) { (skos:prefLabel) (skos:altLabel) (skos:hiddenLabel) }
 { (?s ?score ?literal) text:query (?prop 'musiikki*'  100000) }
 GRAPH ?graph {
{ ?s rdf:type <http://www.w3.org/2004/02/skos/core#Concept> } UNION { ?s a isothes:ConceptGroup }
  {
   ?s rdf:type ?type .
   OPTIONAL {
    ?s skos:prefLabel ?label .
    FILTER (langMatches(lang(?label), lang(?literal)))
   }
  }
  FILTER NOT EXISTS { ?s owl:deprecated true }
 }
BIND(IF(?prop = skos:prefLabel && ?literal != ?label, ?literal, ?unbound) as ?plabel)
 BIND(IF(?prop = skos:altLabel, ?literal, ?unbound) as ?alabel)
 BIND(IF(?prop = skos:hiddenLabel, ?literal, ?unbound) as ?hlabel)
}
GROUP BY ?literal ?s ?label ?plabel ?alabel ?hlabel ?graph ?prop
ORDER BY lcase(str(?literal)) lang(?literal) ?graph
VALUES (?graph) { (<http://www.yso.fi/onto/afo/>) (<http://www.yso.fi/onto/allars/>) (<http://avoindata.fi/onto/contentType/>) (<http://avoindata.fi/onto/topic/>) (<http://urn.fi/URN:NBN:fi:au:cn:>) (<http://iconclass.org/>) (<http://cv.iptc.org/newscodes/scene/>) (<http://cv.iptc.org/newscodes/subjectcode/>) (<http://www.yso.fi/onto/juho/>) (<http://www.yso.fi/onto/jupo/>) (<http://www.yso.fi/onto/kassu/>) (<http://www.yso.fi/onto/kauno/>) (<http://www.yso.fi/onto/kito/>) (<http://www.yso.fi/onto/koko/>) (<http://www.yso.fi/onto/kto/>) (<http://www.yso.fi/onto/kulo/>) (<http://urn.fi/URN:NBN:fi:au:lapponica:>) (<http://www.yso.fi/onto/liito/>) (<http://lexvo.org/id/iso639-3/>) (<http://www.yso.fi/onto/tao/>) (<http://www.yso.fi/onto/mero/>) (<http://www.yso.fi/onto/mesh/>) (<http://metatietosanasto.fi/>) (<http://www.yso.fi/onto/musa/>) (<http://www.yso.fi/onto/muso/>) (<http://www.yso.fi/onto/okm-tieteenala/>) (<http://www.yso.fi/onto/paikat/>) (<http://www.yso.fi/onto/ponduskategorier/>) (<http://www.yso.fi/onto/pto/>) (<http://www.yso.fi/onto/puho/>) (<http://www.yso.fi/onto/sapo/>) (<http://www.yso.fi/onto/tero/>) (<http://www.yso.fi/onto/tsr/>) (<http://www.yso.fi/onto/valo/>) (<http://www.yso.fi/onto/ysa/>) (<http://www.yso.fi/onto/yso/>) (<http://aims.fao.org/aos/agrovoc/>) (<http://skos.um.es/unescothes/>) }





--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi

Reply via email to