Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E3607200BAE for ; Fri, 28 Oct 2016 15:17:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E2064160B03; Fri, 28 Oct 2016 13:17:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3C646160AE3 for ; Fri, 28 Oct 2016 15:17:01 +0200 (CEST) Received: (qmail 4407 invoked by uid 500); 28 Oct 2016 13:17:00 -0000 Mailing-List: contact commits-help@commonsrdf.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commonsrdf.incubator.apache.org Delivered-To: mailing list commits@commonsrdf.incubator.apache.org Received: (qmail 4394 invoked by uid 99); 28 Oct 2016 13:17:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2016 13:17:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E6BC21A02C2 for ; Fri, 28 Oct 2016 13:16:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id a24Mbk-dzOYl for ; Fri, 28 Oct 2016 13:16:58 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 06EFA5FC9F for ; Fri, 28 Oct 2016 13:16:55 +0000 (UTC) Received: (qmail 99096 invoked by uid 99); 28 Oct 2016 13:14:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2016 13:14:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A5964F1596; Fri, 28 Oct 2016 13:14:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stain@apache.org To: commits@commonsrdf.incubator.apache.org Date: Fri, 28 Oct 2016 13:14:58 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [36/49] incubator-commonsrdf git commit: RDFDTerm is IRI/BlankNode/Literal. BlankNodeOrIRI is BlankNode/Literal archived-at: Fri, 28 Oct 2016 13:17:02 -0000 RDFDTerm is IRI/BlankNode/Literal. BlankNodeOrIRI is BlankNode/Literal Using "SHOULD" to leave open possibility of say a JenaSparqlVariable. See https://github.com/apache/incubator-commonsrdf/pull/25#discussion_r85433083 Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/fb0dd9c0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/fb0dd9c0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/fb0dd9c0 Branch: refs/heads/master Commit: fb0dd9c03ebba0da8cef75c1ee21343c9a1fdd81 Parents: d0501ac Author: Stian Soiland-Reyes Authored: Fri Oct 28 11:27:45 2016 +0100 Committer: Stian Soiland-Reyes Committed: Fri Oct 28 11:27:45 2016 +0100 ---------------------------------------------------------------------- .../java/org/apache/commons/rdf/api/BlankNodeOrIRI.java | 6 ++++-- .../main/java/org/apache/commons/rdf/api/RDFTerm.java | 11 +++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/fb0dd9c0/api/src/main/java/org/apache/commons/rdf/api/BlankNodeOrIRI.java ---------------------------------------------------------------------- diff --git a/api/src/main/java/org/apache/commons/rdf/api/BlankNodeOrIRI.java b/api/src/main/java/org/apache/commons/rdf/api/BlankNodeOrIRI.java index 8999c6f..1c6c469 100644 --- a/api/src/main/java/org/apache/commons/rdf/api/BlankNodeOrIRI.java +++ b/api/src/main/java/org/apache/commons/rdf/api/BlankNodeOrIRI.java @@ -19,8 +19,10 @@ package org.apache.commons.rdf.api; /** * This interface represents the {@link RDFTerm}s that may be used in the - * subject position of an RDF-1.1 {@link Triple}, that is {@link BlankNode} - * and {@link IRI}. + * subject position of an RDF-1.1 {@link Triple} as well as the graph name + * position of a {@link Quad}. + *

+ * Instances of BlankNodeOrIRI SHOULD be a {@link BlankNode} or an {@link IRI}. */ public interface BlankNodeOrIRI extends RDFTerm { } http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/fb0dd9c0/api/src/main/java/org/apache/commons/rdf/api/RDFTerm.java ---------------------------------------------------------------------- diff --git a/api/src/main/java/org/apache/commons/rdf/api/RDFTerm.java b/api/src/main/java/org/apache/commons/rdf/api/RDFTerm.java index 9488338..59d8fa1 100644 --- a/api/src/main/java/org/apache/commons/rdf/api/RDFTerm.java +++ b/api/src/main/java/org/apache/commons/rdf/api/RDFTerm.java @@ -19,12 +19,15 @@ package org.apache.commons.rdf.api; /** * An RDF-1.1 - * Term, as defined by RDF-1.1 Concepts and Abstract Syntax, a W3C Recommendation published on - * 25 February 2014.
+ * Term, as defined by + * RDF-1.1 Concepts and + * Abstract Syntax, a W3C Recommendation published on 25 February 2014.
+ *

+ * Instances of RDFTerm SHOULD be an {@link IRI}, {@link BlankNode} or + * {@link Literal}. * * @see RDF-1.1 - * Term + * Term */ public interface RDFTerm {