Re: [Asdf] Location information with SDF

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 15 November 2023 10:26 UTC

Return-Path: <christer.holmberg@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 49998C1519A0 for <asdf@ietfa.amsl.com>; Wed, 15 Nov 2023 02:26:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.11
X-Spam-Level:
X-Spam-Status: No, score=-2.11 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_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 GqqTLHm0C19F for <asdf@ietfa.amsl.com>; Wed, 15 Nov 2023 02:26:27 -0800 (PST)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2053.outbound.protection.outlook.com [40.107.21.53]) (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 8042CC15C2AE for <asdf@ietf.org>; Wed, 15 Nov 2023 02:26:27 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UWtO4iJUhO2aaCrJ9jmO88i4hDyybywtr4cWhH49KiRRZ48su/ulsOJJ6ngZoWBiZ7Uyltdn82Tvl3w3nImiNC7ErZUXRxzLt5R/I+bDHkGTxdTzIUFEcIdcnncOaKVAJnj2zIs4dVbxgPZsgZC/dkDoRJU2GkkzZ8dnUUUJPw6KoRmJxHzj7mxNU5vxiqIKub2KZT5wBnU4wy9shLaQaFLnPa1RWCG40/uOe+00Hhi73o+9Na9eZfj06qFUEiLNMbagRGnYFWqIvLuwMen/9eXBUpN6I0vzPUpKgRSS35ehP6m9VwxsXLmDSNP47ARnikNaesWwZWP78eUiQuiTmA==
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=zR9e1CH3Kruie2kPv60JELURj+LHtmB5OHaqXRLDh8k=; b=VCyMFaSalldaVkGKo+SAUCy7+QKmxz2uPBVWMveJ/MNi1eh4ypS+hO8EvObkeLMDfKp0fdWPHlKA2vDAkwSlMi9FqA/cmMyZRS7xtN7T3SHa1cBYRZg5djdAoZMwlDsztJYPtUeCI3i4l6atlVz8ocdk0m/3AGiox1pqSnKyjHpWM+iv5ekUbp9UzloB7Hq6kyo2/IlrCINhrCby++hfYybifVlGPWa0Mfz5l9h0h5Vfm/cN/VX2p0tWQiApMqo8r+/HoHfYVN3AdNbHYKx9m2k1egTxeochAtm411TNiozd7adBlSPq2nrOBopj9ku/4YSKZOr/BM7cHOquwXY61g==
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=zR9e1CH3Kruie2kPv60JELURj+LHtmB5OHaqXRLDh8k=; b=KgMpzYufY/Z7FbG5QMLayoToriREuB8PyaAS7RrbMnwuy61AUQTuYMhLrA0+O2cIXdrC2h1Y06n2fZqjG5c7MBsDV1R+EEAWzDG+p/4FwH+KBcmyvF6ZB1DzWnPZvywkKDtoEF4362XSsyu/VMVI+ShW4MU8xDisyO5lzXBkaeRn8D0E/UG97BfyGRtvvL64Bbis3yvSSZB7HYee2MbhxiagOwcuSPpAvLR2sQrWLRD0EJuBDnDPeuEBR83Xfv+y/6ovpUfYSHehVtgW/qnfdRbKfSHlcfMVcDQ/koJ5o2uWZYSaO3a489FnF1HGKQjIDSrClaE4WNDJq00hnxODqQ==
Received: from HE1PR07MB4441.eurprd07.prod.outlook.com (2603:10a6:7:9f::27) by DU0PR07MB9161.eurprd07.prod.outlook.com (2603:10a6:10:407::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Wed, 15 Nov 2023 10:26:23 +0000
Received: from HE1PR07MB4441.eurprd07.prod.outlook.com ([fe80::cdc1:3f3a:4036:a9c3]) by HE1PR07MB4441.eurprd07.prod.outlook.com ([fe80::cdc1:3f3a:4036:a9c3%4]) with mapi id 15.20.6977.029; Wed, 15 Nov 2023 10:26:22 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: 이현정 <hjlee294@etri.re.kr>, Ari Keränen <ari.keranen@ericsson.com>, "asdf@ietf.org" <asdf@ietf.org>
Thread-Topic: Re: [Asdf] Location information with SDF
Thread-Index: AQHaEX47e9DBTZqFdE2j/ljEXJG65bBu5DUAgAklLoCAADDVUIACZ/6AgACVRNA=
Date: Wed, 15 Nov 2023 10:26:22 +0000
Message-ID: <HE1PR07MB4441608C4ACB97EDADE0AFFC93B1A@HE1PR07MB4441.eurprd07.prod.outlook.com>
References: <HE1PR07MB3226B3EE573378FD13C4C60385A9A@HE1PR07MB3226.eurprd07.prod.outlook.com> <VI1PR07MB44479CF532FAB5B261D71F9893AEA@VI1PR07MB4447.eurprd07.prod.outlook.com> <rvxeev30603n.rvxeev32x2l1.g1@dooray.com> <HE1PR07MB44414E6DDAC8459E781A629993B3A@HE1PR07MB4441.eurprd07.prod.outlook.com> <rw9i40ximfq9.rw9i40xhuepr.g1@dooray.com>
In-Reply-To: <rw9i40ximfq9.rw9i40xhuepr.g1@dooray.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
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: HE1PR07MB4441:EE_|DU0PR07MB9161:EE_
x-ms-office365-filtering-correlation-id: 2f0991b4-fe3b-42b6-dad5-08dbe5c550ad
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 7h+nhEpJcexj7SYMv1bfe6l94NU9eI0eSr9qU3OZh7b/zqjC2vcUp8X0cUdLeOabssVUmM8wUPFNeFMwWtBh9nqiI3P86qrhdmpcpZvLzxP/VHrjDX2ZAvGR489gJeyXWrRiEYnINEP0aKxbOxhTBJ+mY2K/siLtwmj4a1YbBl38eSWJYfVKwOuk6kf2Gp//LOB8mXteUqrcxhlNWxdqxPHAnXM7jp+zn/5UI6HaZU93uB71oNkWXTsBEK2NtCPQvO1s1JvWRP3CVHTYbnYM2mTmOw2Q+ZXIUc4sCThAqlCmZkRHSylFLLgVbZZjNTEP80Y/aozc1Gz/l7MbsrJC0ecwpSjegeJW1q/UaYw5QbIXPTRyrtDJCYO3iPXDdxtCc9Mz+u52FVk88lACjqljhif8lZcgKNWfYefZ3cGqtsd2wYv+4LCw40Hs6JJtKTdnB6CmP9av7Fc1naT8QZkf2tMJWbxyxae8Q2i9nMICzrbBMf8WtxzIqXaZsB+taHIwO7zhS85IcS3rr9sOd41w4EmZJKdGNqZe8080ZuucZqMhUxDwe9NvBsH0ikOBLqANOocK5tLQBKZhWhssVXYe8JEmmWUtHTZ94XWP5dc558CvBd6aNJqRserq7nC2eCq8wwVYjTqLnb4b0u4yP/rlfWCA/69WZDPL3jXAvR8S81s=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4441.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(366004)(346002)(376002)(396003)(136003)(230922051799003)(1800799009)(186009)(451199024)(64100799003)(52536014)(66556008)(6506007)(7696005)(41300700001)(316002)(8936002)(71200400001)(64756008)(55016003)(8676002)(478600001)(66446008)(66476007)(44832011)(5660300002)(76116006)(9686003)(110136005)(66946007)(83380400001)(26005)(2906002)(66574015)(38070700009)(4001150100001)(38100700002)(122000001)(99936003)(82960400001)(86362001)(33656002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: NBtvRnDw/bj8ZskQYaPtZUCDfHAQfsnnR8Xn9kGNenSS2ASiBv2cy+JUfLPKPo6qtxMrl5qoGW6zAFyg31Iw+bHA0O8yfMgiYhBrcC7qXdYyejZJpaPLj0YFujvOWYDp0og89Fk/in2Yjabb8ZcapaUsJl6LKsdRK7MC+Da4kmg/QeVp9Y/TLzM6ZmVI9Ym14DmLXMcuqRWpMfOv23o7rcvyjs2rlCB79Wbhceo1QKEkc03x4cmmOK3GxpPJCLVQBj/WYVmDKiHdcHXfJTufFiTJ8VAnJc0Z1Kg51DA0kPxogVbX17fW/UVRijBiTnarYUouo8RItLOJbvRkj0gkkQuKPVL32tFRd9ZoC2xVVIYGHf9TFPSc3ldSS3rgH2cRkXKlRC2XbMZpTbW8Z98t7BLl8d+bDBAtcBshRGRnvfRK63OSQh8HVTIytcs71Rc/nYPhPquEt7qQS0c51NLYmwEbEL6y0S/72q04S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9+5YLNC6rsSbzN2EImlkujuTDr/bGl/dQjp1fICgZpRg==
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_022D_01DA17BE.F192DD50"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB4441.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2f0991b4-fe3b-42b6-dad5-08dbe5c550ad
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2023 10:26:22.7388 (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: 27qT7JBp20B4HsBgMqe0Z4sWwPPU+rU/k/m4uYmsDUHcivMXrXkpaTZFLxNV136lQG2YeW4+WsGF+NtOMpW8YKbWNz0Mfil59A/i9d5fShs=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR07MB9161
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/WOxdcpRIHOTZtz0QQo2Ufey-oag>
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: Wed, 15 Nov 2023 10:26:32 -0000

Hi Hyunjeong Lee,

>> Q1) Just to clarify, are you suggesting to modify Option 2, and use sdfLocation instead of sdfObject (per Ari's notes)?
>
> Exactly.

What are the advantages compared to using sdfProperty?

>> Q2-1) What rule/definition is that based on?
>>
>> (I assume you mean sdfThing "Humidimeter")
>
> The rule is that the sdfLocation represents the location of the parent sdfThing or sdfObject.

Ok.

What about CHILDREN? For example, if you define sdfLocation for an sdfThing, does the location apply to the children (sdfThings and/or sdfObjects)? 

(As far as I remember, SDF does not define "inheritance" of properties etc.)


>> Q2-2) Sure, but what if there is no other?
>  If nothing else, use the parent's address (which will likely have a larger range).

But, then you do assume there is inheritance of data :)

Regards,

Christer

-----Original Message-----
From:  "Christer Holmberg" <christer.holmberg@ericsson.com>
To:     "이현정" <hjlee294@etri.re.kr>;  "Ari Keränen" <ari.keranen@ericsson.com>;  "asdf@ietf.org" <asdf@ietf.org>; 
Cc:    
Sent:  2023-11-13 (월) 22:07:00 (UTC+09:00)
Subject: RE: Re: [Asdf] Location information with SDF

Hi Hyunjeong Lee,

Thank You for the reply! Please see inline.

---

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.)
>>
>  I suggested adopting the form of sdfLocation to indicate the position of 
> sdfThing or sdfObject.
> This means that AddressInformation in Option2 should be replaced by 
> sdfLocation.

Just to clarify, are you suggesting to modify Option 2, and use sdfLocation 
instead of sdfObject (per Ari's notes)?

>>> Exactly.

---

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)?
>
> In the structure above, the sdfObject "AddressInformation" (sdfLocation 
> "PostalAddress" in my suggestion)  applies to the sdfObject "Humidimeter."

What rule/definition is that based on?

(I assume you mean sdfThing "Humidimeter")

>>> The rule is that the sdfLocation represents the location of the parent sdfThing or sdfObject.

> Another sdfLocation "PostalAddress" can be defined if a more detailed 
> address for sdfThing "Foo" or sdfObject "Bar" is required as shown in the 
> structure below .

Sure, but what if there is no other?
  >>>  If nothing else, use the parent's address (which will likely have a larger range).


> In order to precisely depict the location of an object indoors, sdfLocation 
> "GPS & relative location" combined with a GPS and a relative location may be 
> used.

Yes. But, if you define sdfLocation somewhere, it needs to be clear what the 
scope is. Which sdfThings/sdfObjects does it apply to.
>>> Applies to the parent sdfThings or sdfObjects as in the answer above.


>
>                                      sdfThing "WeatherStation"
>                                                         |
>                                                         |
>                                      sdfThing "Humidimeter"
>                                                         |
>                                                         |
>                         ------------------------------------------------------------------------------------------------
>                         | 
> |                                                                    |
>                     sdfObject "Humidity"             sdfLocation "GPS & 
> relative location"          sdfThing "Foo"
> 
> |
>                                                                              
>                                                          ----------------------------------
> 
> |                                           |
> 
> sdfObject "Bar"       sdfLocation "GPS & relative location"
> 
> |
> 
> sdfLocation "GPS & relative location"


---

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"?
>
> I think option 2 is most appropriate for expressing the location of 
> sdfThings and sdfObjects, if "AddressInformation" is changed as sdfLocation.

Ok. So, you are suggestion to modify Option 2, and use sdfLocation instead of 
sdfObject?
>>> Exactly!

---

Regards,

Christer