Re: [Asdf] Location information with SDF

Ari Keränen <ari.keranen@ericsson.com> Thu, 16 November 2023 20:53 UTC

Return-Path: <ari.keranen@ericsson.com>
X-Original-To: asdf@ietfa.amsl.com
Delivered-To: asdf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 50CE7C14F73E for <asdf@ietfa.amsl.com>; Thu, 16 Nov 2023 12:53:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oLZagoJbpay8 for <asdf@ietfa.amsl.com>; Thu, 16 Nov 2023 12:53:06 -0800 (PST)
Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2059.outbound.protection.outlook.com [40.107.247.59]) (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 DF894C14CE4B for <asdf@ietf.org>; Thu, 16 Nov 2023 12:53:05 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VBsjCHuRfPqq8UNFD7lD/necvATmnzU/CMIJMGtOX7uEbv5LpKXXYE/5neRWL3403FyU4rbP/JAghk4DPVmmljV2xJC7Ycxu8TyUhUJPWRgBrZxApPS84VtCVQukIt7SI9yzto6oOsicB6mMQERGypWpS76cjUvILzmBctzLUOUJI+MK80CH/UI+JfOnYLNWii55+6c0nVxfmsTQIzJWAvoGBYBwesDNuvubIkhHPFFkRjbP/UvCAxuYHhLxHD+f+AqMPyRxXDv0O9+1uhaYMkehHT9A1itCECt1uvYVPMhJW5JjoLGdvZN8bAnV26NGO/+q66HxohjWgLB2zAk/Pg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yQpLnRtrrOOZ0CJ2XrW+iyukHonJStfOADQNMpLw2aI=; b=iLNpTNigSpJTfZm/wKjBNQFx0YqWhM6WMTL1uEs0nYnW8YsmL/4CpeLU0VQhfd5brt2pDJY+S75aMPTO1U4clZsnRVZJNHAFhyqwkEaahEyVVWGKxkFlq+3VbMldyCU/AjQNp5u+5cSjkJqg1ZEGNYujNakPDChzR1JoAWL7tAGX2blJSXqIPyH+awY1uZk9L3IXyCkbZf2aQkqg93SPAKE4N6Wn2oVelQdbrXT1BScJq1LMaxbs5iq6gfegboa0R0KcWSXlehfFB57ckfWIo+CdQ5TLPyTPt+QKdwkNafgyN50p5qx3ZeZ9zUP6XKyAcTLbLwTpHYrl7WGUV0Cwvg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yQpLnRtrrOOZ0CJ2XrW+iyukHonJStfOADQNMpLw2aI=; b=b0WXtv4rLcDRK3kdVIj7b/WwO5sAcxFU8k1/qFTriX2koWJhM8CL7AjB/RP04Xgg0PRRgotA4hKJg6G/bWUxTCv0niM9xytZ4fBfCfsDOK0ZyVZzLGSJYd9KhtpH9Gz+7QrE3oUBWFmXsR/SGDOr0YoTYk60yoxFUBbUU1xn086dHSYPqAuHNsCjyZxAcED+kfV/WkhOt5NCpRt3n7zLFSEtEpy5s9rxeLmIpstMn3GpcJkcmFDiOEaTBqmv/UbbUDBMhmdHpx+TJpbAcw4VYta7lg4+Z4gsREuZXTM4KiKtnGB+GmB50vYZ5XArdNzp5lhLmYBlzlLhb5QaOl44OA==
Received: from HE1PR07MB3226.eurprd07.prod.outlook.com (2603:10a6:7:33::20) by GV1PR07MB8365.eurprd07.prod.outlook.com (2603:10a6:150:20::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.21; Thu, 16 Nov 2023 20:53:00 +0000
Received: from HE1PR07MB3226.eurprd07.prod.outlook.com ([fe80::2c36:bfea:bfcc:3e86]) by HE1PR07MB3226.eurprd07.prod.outlook.com ([fe80::2c36:bfea:bfcc:3e86%6]) with mapi id 15.20.7002.021; Thu, 16 Nov 2023 20:53:00 +0000
From: Ari Keränen <ari.keranen@ericsson.com>
To: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, 이현정 <hjlee294@etri.re.kr>, "asdf@ietf.org" <asdf@ietf.org>
Thread-Topic: Location information with SDF
Thread-Index: AQHaEX47e9DBTZqFdE2j/ljEXJG65bBu5DUAgA6Q6yY=
Date: Thu, 16 Nov 2023 20:53:00 +0000
Message-ID: <HE1PR07MB32264488ACCFCB0AED09B43585B0A@HE1PR07MB3226.eurprd07.prod.outlook.com>
References: <HE1PR07MB3226B3EE573378FD13C4C60385A9A@HE1PR07MB3226.eurprd07.prod.outlook.com> <VI1PR07MB44479CF532FAB5B261D71F9893AEA@VI1PR07MB4447.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB44479CF532FAB5B261D71F9893AEA@VI1PR07MB4447.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: HE1PR07MB3226:EE_|GV1PR07MB8365:EE_
x-ms-office365-filtering-correlation-id: 35e7dbe5-cd34-40fc-6c92-08dbe6e60516
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Oe/3JWp3b0H8VL+03xDldVHlRiWAjJTZlgRynBFALaruq7+ypfxzbAiLyN4iA/TIC+fFvEVpNddV0aU9DUN8IWXtPSiToxDaQkwzEaVlUXtx9B92gUk3gJw5tvdFtc8+oMeNyy0DHia76bfL9kBVykER9TfTmIQRf9n7++cnKM95P4MwENIkD49m2PW+znjr2oW3g/dPW7ZCC9KOBuzyxJvdvahUL3v8LIS1YMh8CxNwxSUeOI6uNT6YGCPPC4DP+BV9kbqk7sXXLvUBa5mu1EzMolurZ4CatYNpoq1g7K0YuiHYr7qFj2NESRN11N07KQIRZz+Rz7Hcm+Qz80cIpSEeWqgF6kU1PfHz8/iUmqC5MLt3oA+40MeG/59KmHP7v+m798QLwcbDGepRxO69/lBscpXJvGTemQPwuWHePZxTt3cvBIr3fzXqfESS2PLh4UIoVQNbTgqNe0a9AeyoPHtyibH3P5Pn6FXSchs4YAMdJ/vaLG/bPvlvH0IJe99kIIllEFHG4g3Z4w3QxtLRl6YA+KVP4PWjEe8KKsj4Tb7KAR8CPzHvRL5vVVVoQdzjwxbvsk4WTcCT5xdj7vFwEDKcnXrOmY3wyWjP2bwCVZX3ZX2WO/0RbdgGjB9U9xMlXW7EJZzC4Y9CKfPvPQXfLA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB3226.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(39860400002)(396003)(366004)(346002)(136003)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(2906002)(33656002)(41300700001)(316002)(3480700007)(66476007)(64756008)(66446008)(55016003)(71200400001)(110136005)(38070700009)(8936002)(52536014)(8676002)(91956017)(76116006)(85202003)(66556008)(66946007)(38100700002)(85182001)(122000001)(478600001)(966005)(99936003)(5660300002)(86362001)(83380400001)(66574015)(82960400001)(7696005)(6506007)(53546011)(9686003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: vWS4J4tbbGN5RgN3l+QVLsogZpGxJYjXxh4d1sFkFX9IpSxlW0DMIW+8LtkKVZJAjL5hpP0eJ63tDQI/6liP73vozwFudLnaeJVMHmLwot6drtIPiuf5ipRsGEri0rsf1AL5l6D9rTduKx5TS6NWQ2NKeRvc0UaaPiitUlm3PW7LdUKy39HvTIip6UEwXde69ppGgu74m8aiN3oGBvHtVPoXvCALNHMyvkrUuH85afZWDmgLLRnHQvmQolfijJcyWEi9Nq3Ei8tam3Po9oO/dXOw6/Drmb/k90MBAYmZlUC5+nQjcnpN8bIdi2yCew0mLIUnBAn64OKSWGUR3+9SKwfgl2iZBALDRk9ieph+7y50Sx3DCa2nMZJShB3k6TJZ6p8RedIn3C/5XyD4cET4ruLYfGaOgOXWvx3014dlvvt/KbxdaddJPejjV0d/EOSk69g2xE7YxrLwF4vC4PVduBHkrO6uePTgln6j7+nYofg5hDkEP45LqUnl8vrbzCCUKSWjdkJx1UWEi4M1i3u2mPq+jFnZfTfAjA/t6vZPJbyAoaN3osLxL/nxmltzwZYJAv87U8S9dDsndte+FCIPPS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264488ACCFCB0AED09B43585B0AHE1PR07MB3226eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB3226.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 35e7dbe5-cd34-40fc-6c92-08dbe6e60516
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2023 20:53:00.5133 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: rCBeDIzkTpy7wKqwr9TS4TbLWowOqmj9I4qY/L5Qn7L1i+2uamlSXKNQHlQ5RwAlF++8nss7fXe90lggH961ulrZZpYU7GOtNnF94bAkxNc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR07MB8365
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/MiBglHIF2YS1fPzVzY1RTUWcDTQ>
Subject: Re: [Asdf] Location information with SDF
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Nov 2023 20:53:10 -0000

Hi Christer, Hyunjeong, et al.,

First, thank you for clarifying the details of the location information proposal. I haven't had a chance to take part of the discussion much since I'm back on my leave now. But please find below some answers / comments to your questions & comments.

Also, here's attached a copy of the contents of the note at notes.ietf.org for future reference. The contents are identical to the Nov 8th revision, except I fixed one JSON error (extra brace) in the option two. 


Cheers,
Ari

> 
> From: Christer Holmberg
> Sent: Friday, November 10, 2023 2:31 PM
> To: Ari Keränen; 이현정; asdf@ietf.org
> Subject: RE: Location information with SDF
> 
> 
> Hi,
>  
> I have some questions/comments regarding option 2.
>  
> ---
>  
> Q1:
>  
> The Properties in sdfObject "AddressInformation" provide data (location information) that applies to the "Humidimeter" sdfThing and the "Humidity" sdfObject.
>  
> I think that concept is not part of base SDF - Properties only apply to the sdfObject/sdfThing for which they have been defined.
>  
> (I know there are discussions about sdfRelations, and they are also used in Option 2. However, they are only used to map the location information to a dictionary - not to relate the information to other sdfThings/sdfObjects in the SDF model.)

Correct. Information about where the information would apply could be part of the semantics of the relation type or target of the sdfRelation but all this is currently undefined and would need to be specified if we go down the suggested path.

> ---
>  
> Q2:
>  
> Related to Q1, the location Properties in sdfObject "AddressInformation" apply to "Humidimeter" sdfThing. But, assume the following structure:
>  
>  
>                                       sdfThing "WeatherStation"
>                                          |
>                                          |
>                                       sdfThing "Humidimeter"
>                                          |
>                                          |
>                          ------------------------------------------
>                          |                                        |
>                      sdfObject "Humidity"                        sdfThing "Foo"
>                      sdfObject "AddressInformation"               |
>                                                                   |
>                                                                  sdfObject "Bar"
>  
> Does the location information also apply to "WeatherStation" sdfThing, and/or "Foo" sdfThing (and the "Bar" sdfObject)?

Same answer as to Q1: I think this would need to be specified in the relation information. Fixing this for all relations to one or the other sounds risky.

> ---
>  
> Q3:
>  
> Since (based on base SDF) the only technical difference between sdfThing and sdfObject is that sdfThing can contain other sdfThings and sdfObjects, does option 2 allow me to define sdfThing "AddressInformation"?

Yes. But you should use Thing only if you need the additional level of grouping so sdfObject seems appropriate here. 

  
> ---
>  
> Regards,
>  
> Christer
>  
>  
>  
> From: ASDF <asdf-bounces@ietf.org> On Behalf Of Ari Keränen
> Sent: Tuesday, 7 November 2023 15.41
> To: 이현정 <hjlee294@etri.re.kr>; asdf@ietf.org
> Subject: [Asdf] Location information with SDF
>  
> Hi,
>  
> Regarding the discussion yesterday at the ASDF meeting about expressing location information with SDF for the Digital Twin use cases, here is a draft note of couple of different options on how the information could be expressed using sdfProperty, sdfObject, and sdfRelation constructs:
> https://notes.ietf.org/pPdkmO6nRRKEx7-IDRHhNw
>  
> The note contains three different options for structuring the postal address information shown in the example on slide 8 (https://datatracker.ietf.org/meeting/118/materials/slides-118-asdf-draft-lee-asdf-digital-twin-00). Each option has different merits, but probably the first or second one makes most sense here.
>  
> Would be good to test if this approach works for the more complex cases too and what kind of ontology terms are needed to make this work well with the DT use case.
>  
>  
> Cheers,
> Ari