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 CD82A200BC1 for ; Wed, 16 Nov 2016 23:02:39 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CC8C5160B08; Wed, 16 Nov 2016 22:02:39 +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 EDA2B160B02 for ; Wed, 16 Nov 2016 23:02:38 +0100 (CET) Received: (qmail 55296 invoked by uid 500); 16 Nov 2016 22:02:38 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 55284 invoked by uid 99); 16 Nov 2016 22:02:37 -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; Wed, 16 Nov 2016 22:02:37 +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 4134D1A046F for ; Wed, 16 Nov 2016 22:02:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 GLzxTawbJnFT for ; Wed, 16 Nov 2016 22:02:35 +0000 (UTC) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 78CDB5FCBE for ; Wed, 16 Nov 2016 22:02:34 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id t79so103739208wmt.0 for ; Wed, 16 Nov 2016 14:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=yf9+NaKlYpDBJwYswjQ34Xvh0GftGiJaM9nMJtKXgcU=; b=fU8/oJlWWXDjbGdn1wIESibaDdKycybZsojDIpDKI2enc+p+FXX3TFth++DlkRym/N sKzeDMqwQk2uHnteLyTz7fxfoimbhcbbwEWOfvq60VWrdsQAZuP1ChUYqBMZT6QRkkya cl49F4qZJKpztmMWg6Xbu0ln1huSBJL6O0O9v0Aim8d3hJTeODfkKXdWmVv37j9SCA0r li4vzPIPHUs8ClQ1gfAkwxFm3nCrZImXHIVhGcwSQfvlARqUo2tbW+u8e/vzJo0n5M+E R3AJfmI2qE6FB0bjJrd9M/H7KSsAbGuE0vCd8Hh2wQ/A3UL1YSewft0utvcYEh1NWN2D CjNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=yf9+NaKlYpDBJwYswjQ34Xvh0GftGiJaM9nMJtKXgcU=; b=cexrXRQr+uUMW+HNYeaAUW83NuZ6NcibAr893HjixsUZwyiSeY1dy5/Da770mzYc9J 1Emk2c7fCbH093nxLwrFCygoMqbgk8my8U0eoCL3rtzXT7I5sIUXIriYHAoWjpmUPpNQ c1XW6sshxpQ2jpfki0rUydcxX2micpc9a8X3jzok9PSlEFwC4ZUBlLk/W0U/TTZm2iV8 CVxI7A84AOS1drzZUbaL77031IOuJIeCjb6OUf21dybqWmCcH0xZjhg8NCcQRz0s4tiN RZYf+dnuyjmo6RIgPDtgS46JxjjoGUU3d2whDCoMEc0g1A6/jt/pTazWWgzzZLllW5tK yZzA== X-Gm-Message-State: ABUngvfZ3L6G79hPsDZ5Mukjpyo9J3rpySKX8apoRRRApgusuaJyypBO0jFXYOEpi0S1srwV4HIqPHKBj/kliQ== X-Received: by 10.28.11.208 with SMTP id 199mr394217wml.97.1479333753824; Wed, 16 Nov 2016 14:02:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.86.70 with HTTP; Wed, 16 Nov 2016 14:02:32 -0800 (PST) In-Reply-To: References: From: Peter Ansell Date: Thu, 17 Nov 2016 09:02:32 +1100 Message-ID: Subject: Re: [DISCUSS] Commons RDF as new component? To: Commons Developers List Content-Type: text/plain; charset=UTF-8 archived-at: Wed, 16 Nov 2016 22:02:40 -0000 Hi Gary, There is support for java.util.ServiceLoader with the relevant META-INF/services files and default constructors, detailed in the userguide.md file currently, but could also be in README.md: https://github.com/apache/incubator-commonsrdf/blob/master/src/site/markdown/userguide.md#Finding_an_RDF_implementation However, users may be aware of which implementation they prefer and use it specifically, to match up with their database drivers or other libraries so the direct constructor patterns will be used regularly also. The main reason for that would be that if you use the ServiceLoader approach (just using the RDF interface) you don't have object level access to the mutators to create native Jena/RDF4J/etc. objects out of the Commons RDF objects. There should still be static methods for those cases, but they are less simple to use than the mutators in general. Cheers, Peter On 17 November 2016 at 02:49, Gary Gregory wrote: > In the read me I see a link to an example that has > > public RDF createFactory() { > return new SimpleRDF(); > } > > Is/should a service loader be used to allow pluging in/discovering > implementations? > > Gary > > On Nov 16, 2016 5:22 AM, "Stian Soiland-Reyes" wrote: > > Commons RDF (incubating) has been in the Apache Incubator since 2015, > with an aim to graduate into the Apache Commons PMC. I think now the > time has come to propose such a move. > > > This route was agreed with the Commons PMC at the time, and we have > had good guidance from our mentors, including Commons PMC folks Gary > Gregory, Benedikt Ritter and lately myself :) > > > > > As noted in the 0.3.0 release today, Commons RDF aims to provide a > common Java API for RDF 1.1 graphs and datasets. Commons RDF 0.3.0 > adds API bindings for Apache Jena, Eclipse RDF4J, JSON-LD Java as well > as a standalone implementation. > > http://commonsrdf.incubator.apache.org/ > > > Now I think Commons RDF is stabilized and is ready to graduate to be a > component under Commons PMC where we can do a 1.0.0 release to mark > the spot. > > > (Concurrent thread on dev@commonsrdf: > https://lists.apache.org/thread.html/760b2d58e344e51550dcc9f6452395 > efe72e97d3dc06169ef72f09c6@%3Cdev.commonsrdf.apache.org%3E > ) > > > I must admit that community-wise Commons RDF is not as strong as when > the podling started - forming a uniform API across multiple > implementations and use cases did mean many hard technical and > semantic discussions which caused some people to withdraw for a while. > Several has since returned as indirect contributors (e.g. code > review). > > > Now that the Commons RDF API has settled, and given that Commons has a > "any ASF committer have write access" policy and an open development > mode, I would like to propose here (and at dev@commonsrdf) that the > component graduate to be owned by Apache Commons PMC. > > > Views..? > > > Here's a project maturity report > https://github.com/apache/incubator-commonsrdf/blob/master/MATURITY.md > > > > Want to crunch some code ? Have a look at > > https://commonsrdf.incubator.apache.org/download > https://github.com/apache/incubator-commonsrdf/ > https://commonsrdf.incubator.apache.org/apidocs/ > > > -- > Stian Soiland-Reyes > http://orcid.org/0000-0001-9842-9718 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org