[ 
https://issues.apache.org/jira/browse/JENA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266260#comment-16266260
 ] 

Code Ferret edited comment on JENA-1439 at 11/26/17 11:50 PM:
--------------------------------------------------------------

The TEST_TEXT files contain the triples and the TRACING file contains tracing 
log and such. TRACE logging was added to TextQueryPF and TextIndexLucene to 
identify the problem.

In the TRACING file the results should only have include one triple from each 
the graphs which were simple strings rather than language tagged with "en".

The two additional triples from ex:G2 were included since the "lang:none" arg 
to text:query was lost on the second call to TextQueryPF.


was (Author: code-ferret):
The TEST_TEXT files contain the triples and the TRACING file contains tracing 
log and such. TRACE logging was added to TextQueryPF and TextIndexLucene to 
identify the problem.

> graph queries fail to preserve text:query 'lang:xx' arg
> -------------------------------------------------------
>
>                 Key: JENA-1439
>                 URL: https://issues.apache.org/jira/browse/JENA-1439
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 3.5.0
>         Environment: Jena 3.6.0-SNAPSHOT
>            Reporter: Code Ferret
>         Attachments: TEST_TEXT_001.trig, TEST_TEXT_002.trig, 
> TRACING-jena-text-W-cache-W-graph-lang-FUSEKI-3.6.0-SNAPSHOT.txt
>
>
> Jena-text queries that iterate over graphs, such as:
> {code}
>     select ?g ?s ?lit
>     where {
>        graph ?g { (?s ?sc ?lit) text:query (skos:prefLabel "one" "lang:xx") } 
> .
>     }
> {code}
> fail to pass the {{lang:xx}} after the first graph leading to erroneous 
> results.
> A file with configuration, query, trace logging and results is attached along 
> with example trig files,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to