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

ASF subversion and git services commented on JENA-1423:
-------------------------------------------------------

Commit e799636b2545fde098b6036cf25c385f29059f56 in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=e799636 ]

JENA-1423: TDB and TDB2 symbols

tdb:unionDefaultGraph
The TDB2 query engine understands the TDB1 setting.


> tdbquery doesn't respect unionDefaultGraph setting
> --------------------------------------------------
>
>                 Key: JENA-1423
>                 URL: https://issues.apache.org/jira/browse/JENA-1423
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Cmd line tools
>    Affects Versions: Jena 3.5.0
>         Environment: Ubuntu 16.04
>            Reporter: Osma Suominen
>            Assignee: Andy Seaborne
>
> I noticed that the command line tool tdbquery doesn't respect the 
> tdb:unionDefaultGraph setting anymore.
> My dataset:
> {noformat}
> <http://example.org/graph1> <http://example.org/prop> 
> <http://example.org/obj> <http://example.org/graph1> .
> <http://example.org/graph2> <http://example.org/prop> 
> <http://example.org/obj> <http://example.org/graph2> .
> {noformat}
> I've loaded this into a TDB1 using
> {noformat}
> tdbloader --loc tdb graphs.nq
> {noformat}
> This is my query:
> {noformat}
> SELECT * { ?s ?p ?o }
> {noformat}
> Jena 3.4.0 tdbquery:
> {noformat}
> $ apache-jena-3.4.0/bin/tdbquery --loc=tdb --set tdb:unionDefaultGraph=true 
> --query query.rq 
> --------------------------------------------------------------------------------------
> | s                           | p                         | o                 
>        |
> ======================================================================================
> | <http://example.org/graph1> | <http://example.org/prop> | 
> <http://example.org/obj> |
> | <http://example.org/graph2> | <http://example.org/prop> | 
> <http://example.org/obj> |
> --------------------------------------------------------------------------------------
> {noformat}
> Jena 3.5.0 gives no results:
> {noformat}
> $ apache-jena-3.5.0/bin/tdbquery --loc=tdb --set tdb:unionDefaultGraph=true 
> --query query.rq 
> -------------
> | s | p | o |
> =============
> -------------
> {noformat}



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

Reply via email to