From dev-return-27868-apmail-jena-dev-archive=jena.apache.org@jena.apache.org Fri Sep 7 02:41:05 2018 Return-Path: X-Original-To: apmail-jena-dev-archive@www.apache.org Delivered-To: apmail-jena-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A0681FA59 for ; Fri, 7 Sep 2018 02:41:05 +0000 (UTC) Received: (qmail 79056 invoked by uid 500); 7 Sep 2018 02:41:05 -0000 Delivered-To: apmail-jena-dev-archive@jena.apache.org Received: (qmail 78858 invoked by uid 500); 7 Sep 2018 02:41:04 -0000 Mailing-List: contact dev-help@jena.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jena.apache.org Delivered-To: mailing list dev@jena.apache.org Received: (qmail 78843 invoked by uid 99); 7 Sep 2018 02:41:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2018 02:41:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5E250C066E for ; Fri, 7 Sep 2018 02:41:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.5 X-Spam-Level: X-Spam-Status: No, score=-109.5 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, KAM_SHORT=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id US6YrMbBZICJ for ; Fri, 7 Sep 2018 02:41:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4F5565F4EC for ; Fri, 7 Sep 2018 02:41:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7111FE0177 for ; Fri, 7 Sep 2018 02:41:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 08EB82183F for ; Fri, 7 Sep 2018 02:41:00 +0000 (UTC) Date: Fri, 7 Sep 2018 02:41:00 +0000 (UTC) From: "Richard Walker (JIRA)" To: dev@jena.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (JENA-1600) arq not finding content included with namedGraph MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Richard Walker created JENA-1600: ------------------------------------ Summary: arq not finding content included with namedGraph Key: JENA-1600 URL: https://issues.apache.org/jira/browse/JENA-1600 Project: Apache Jena Issue Type: Bug Affects Versions: Jena 3.1.1 Reporter: Richard Walker I think this is similar to JENA-1261 and JENA-1419. I am using 3.8.0, but it seems this issue arose in 3.1.1, was fixed in 3.2.0, and then arose again in 3.3.0 and continues with subsequent releases. Consider an empty file {{empty.ttl}}, and a file {{control.ttl}} with these contents: {code} @prefix void: . @prefix ov: . a void:Dataset . void:uriSpace . {code} and this trivial query {{summary-test-select.arq}}: {code} SELECT ?s ?p ?o FROM NAMED WHERE { GRAPH { ?s ?p ?o } } {code} Now compare the output of some releases from 3.1.0 onwards. First, 3.1.0: {code} ~/Software/apache-jena-other-releases/apache-jena-3.1.0/bin/arq --data=empty.ttl --query=summary-test-select.arq --namedGraph=control.ttl --base . ------------------------------------------------------------------------------------------------------------------------------------------------------ | s | p | o | ====================================================================================================================================================== | | | | | | | | ------------------------------------------------------------------------------------------------------------------------------------------------------ {code} Now 3.1.1: {code} ~/Software/apache-jena-other-releases/apache-jena-3.1.1/bin/arq --data=empty.ttl --query=summary-test-select.arq --namedGraph=control.ttl --base . ------------- | s | p | o | ============= ------------- {code} Now 3.2.0: {code} ~/Software/apache-jena-other-releases/apache-jena-3.2.0/bin/arq --data=empty.ttl --query=summary-test-select.arq --namedGraph=control.ttl --base . ------------------------------------------------------------------------------------------------------------------------------------------------------ | s | p | o | ====================================================================================================================================================== | | | | | | | | ------------------------------------------------------------------------------------------------------------------------------------------------------ {code} And 3.3.0: {code} ~/Software/apache-jena-3.3.0/bin/arq --data=empty.ttl --query=summary-test-select.arq --namedGraph=control.ttl --base . ------------- | s | p | o | ============= ------------- {code} Same empty result with 3.4.0 and 3.8.0. -- This message was sent by Atlassian JIRA (v7.6.3#76005)