Re: [T2TRG] [Asdf] Representation issues and protocol bindings

Henk Birkholz <henk.birkholz@sit.fraunhofer.de> Mon, 31 August 2020 14:58 UTC

Return-Path: <henk.birkholz@sit.fraunhofer.de>
X-Original-To: t2trg@ietfa.amsl.com
Delivered-To: t2trg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF2543A147F for <t2trg@ietfa.amsl.com>; Mon, 31 Aug 2020 07:58:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.846
X-Spam-Level:
X-Spam-Status: No, score=-2.846 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.948, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zXTANZe7G64f for <t2trg@ietfa.amsl.com>; Mon, 31 Aug 2020 07:58:48 -0700 (PDT)
Received: from mail-edgeKA27.fraunhofer.de (mail-edgeka27.fraunhofer.de [153.96.1.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD8373A1451 for <t2trg@irtf.org>; Mon, 31 Aug 2020 07:58:46 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2E/BgBqD01f/xoHYZlZBh4BAQsSDECGFwqDbkCRGSWcHAsBAQEBAQEBAQEGAQEtAgQBAYRMAoJMASQ4EwIQAQEGAQEBAQEGBAIChlGGTAEFDBcPAQVBEAkCDgoCAiYCAkcQBgEMAQUCAQEXgwuCfAWVEZt6gTKFU4NbgUKBDiqGVoZPD4FNP4ERJwwDgiwuPoQfDoMngmAEkCmCbqMpKgeBXYELgQsEC5kMBQoekX0GjlOSUZ9XAgQCCQIVgWuBe00kgzhQFwINnGhyNwIGAQkBAQMJfI8VAYEQAQE
X-IPAS-Result: A2E/BgBqD01f/xoHYZlZBh4BAQsSDECGFwqDbkCRGSWcHAsBAQEBAQEBAQEGAQEtAgQBAYRMAoJMASQ4EwIQAQEGAQEBAQEGBAIChlGGTAEFDBcPAQVBEAkCDgoCAiYCAkcQBgEMAQUCAQEXgwuCfAWVEZt6gTKFU4NbgUKBDiqGVoZPD4FNP4ERJwwDgiwuPoQfDoMngmAEkCmCbqMpKgeBXYELgQsEC5kMBQoekX0GjlOSUZ9XAgQCCQIVgWuBe00kgzhQFwINnGhyNwIGAQkBAQMJfI8VAYEQAQE
X-IronPort-AV: E=Sophos;i="5.76,376,1592863200"; d="scan'208";a="23997615"
Received: from mail-mtas26.fraunhofer.de ([153.97.7.26]) by mail-edgeKA27.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Aug 2020 16:58:43 +0200
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D2BQA4D01f/1lIDI1ZBhwBAQEBAQEHAQESAQEEBAEBQIFKgipzVDAsCoNuQJEZJZwcCwEDAQEBAQEGAQEtAgQBAYRMAoJKAiQ4EwIQAQEFAQEBAgEGBG2FaIVzAQUMFw8BBUEQCQIOCgICJgICRxAGAQwBBQIBAReDC4MBlRybeoEyhVODW4FCgQ4qhlaGTw+BTT+BEScMA4IsLj6EHw6DJ4JgBJApgm6jKSoHgV2BC4ELBAuZDAUKHpF9Bo5TklGfVwIEAgkCFYFrI4FXTSSDOFAXAg2caEExNwIGAQkBAQMJfI8VAYEQAQE
X-IronPort-AV: E=Sophos;i="5.76,376,1592863200"; d="scan'208";a="120681152"
Received: from mailext.sit.fraunhofer.de ([141.12.72.89]) by mail-mtaS26.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Aug 2020 16:58:40 +0200
Received: from mail.sit.fraunhofer.de (mail.sit.fraunhofer.de [141.12.84.171]) by mailext.sit.fraunhofer.de (8.15.2/8.15.2/Debian-10) with ESMTPS id 07VEweDW015261 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NOT); Mon, 31 Aug 2020 16:58:40 +0200
Received: from [192.168.16.50] (79.206.156.41) by mail.sit.fraunhofer.de (141.12.84.171) with Microsoft SMTP Server (TLS) id 14.3.487.0; Mon, 31 Aug 2020 16:58:35 +0200
To: Carsten Bormann <cabo@tzi.org>, asdf@ietf.org
CC: One Data Model Group <onedm@iotliaison.org>, t2trg@irtf.org
References: <2ED86F4F-2926-4FBB-91A7-39F32FE7A970@tzi.org>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Message-ID: <8eefcef1-2d60-5349-792f-da228968807c@sit.fraunhofer.de>
Date: Mon, 31 Aug 2020 16:58:34 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <2ED86F4F-2926-4FBB-91A7-39F32FE7A970@tzi.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [79.206.156.41]
Archived-At: <https://mailarchive.ietf.org/arch/msg/t2trg/hcLi9KIT7sQ9Pjo35yB1q_qnL_4>
Subject: Re: [T2TRG] [Asdf] Representation issues and protocol bindings
X-BeenThere: t2trg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IRTF Thing-to-Thing Research Group <t2trg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/t2trg>, <mailto:t2trg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/t2trg/>
List-Post: <mailto:t2trg@irtf.org>
List-Help: <mailto:t2trg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/t2trg>, <mailto:t2trg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Aug 2020 14:58:51 -0000

Heya,

in the scope of semantic interoperability it is not unusual to structure 
named types in taxonomies (a fancy word for basically categories of 
categories, etc). Maybe taxonomical tagging (associating with category) 
of various similar (e.g., "temperature"'esque) data model items renders 
the model close enough to an information model - and therefore 
remediates this... creative use?

But maybe the complexity of types and units is too big for such a 
simplistic approach?

Viele Grüße,

Henk

On 31.08.20 16:25, Carsten Bormann wrote:
> In today’s OneDM call, Bruce Nordman brought up the issue that, in the end, we’ll need concrete representations to talk to devices and use their data.
> 
> So if we have one ecosystem that uses 0..100 for describing the brightness setting for a lamp, another one that uses 0..254 (where 255 means something complete different), and a third with 0..65535, what do we do?  (And these might also differ whether they describe a emitted light power level or a perceptive luminous flux level.)
> 
> The underlying problem is that we are abusing data model level description techniques (in part borrowed from json-schema.org) to describe information models.
> That works reasonably well until we start taking these data model level descriptions at face value.  The fact that some converged model uses a scale based on the L component of Lu’v’ does not mean that everybody has to represent their ecosystem model the same way.
> 
> The obvious second problem is that we haven’t tackled a framework for describing protocol bindings (which, initially, will mostly be ecosystem bindings).  That would be the place where we say how the L component needs to mapped to the ecosystem specific concrete representation.  Since that mapping, in principle, can have arbitrary complexity, completely covering all cases requires Turing-equivalent functionality in a description language.  Or we could go for an 80 % solution and then, for the 20 %, register mapping components that are more complex in an IANA registry.
> 
> Let’s discuss this based on some real-world examples — it is easy to construct artificial ones that have more complexity than we actually need.
> 
> CCing T2TRG as well because quite a few people there are familiar with the problem; maybe we want to have the bulk of the discussion on asdf@ietf.org though.
> 
> Grüße, Carsten
>