You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2017/11/14 17:02:00 UTC
[jira] [Assigned] (JENA-1423) tdbquery doesn't respect
unionDefaultGraph setting
[ https://issues.apache.org/jira/browse/JENA-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne reassigned JENA-1423:
-----------------------------------
Assignee: Andy Seaborne
> 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)