Re: [Asdf] Location information with SDF

이현정 <hjlee294@etri.re.kr> Wed, 15 November 2023 01:25 UTC

Return-Path: <hjlee294@etri.re.kr>
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 162CDC151073 for <asdf@ietfa.amsl.com>; Tue, 14 Nov 2023 17:25:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01, T_SPF_TEMPERROR=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=dooray.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 XCoUJNVMM5oE for <asdf@ietfa.amsl.com>; Tue, 14 Nov 2023 17:25:45 -0800 (PST)
Received: from mscreen.etri.re.kr (mscreen.etri.re.kr [129.254.9.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B13D7C14CE45 for <asdf@ietf.org>; Tue, 14 Nov 2023 17:25:36 -0800 (PST)
Received: from unknown (HELO send001-relay.gov-dooray.com) (211.180.235.152) by 129.254.9.16 with ESMTP; 15 Nov 2023 10:25:21 +0900
X-Original-SENDERIP: 211.180.235.152
X-Original-MAILFROM: hjlee294@etri.re.kr
X-Original-RCPTTO: asdf@ietf.org
Received: from [10.162.225.103] (HELO send001.gov-dooray.com) ([10.162.225.103]) by send001-relay.gov-dooray.com with SMTP id b2dc27ac65541e02; Wed, 15 Nov 2023 10:25:22 +0900
DKIM-Signature: a=rsa-sha256; b=uoz5VNUG3xEpUQ1TVpxRTj+x5Hi0OPz98BLZsti0N+J519OZRLyugNcOpbORsTX9/D0T6yg6R6 lF+ngsmyoWYTF9maBMPnWGbDynJSylfN/Bw7O3Hhp8ybEskrLzJPcGHR42DjZsGu6dZm1hiCdZ30 vIgAh2P8IbLpR1+EEE6gPamwAsN4pHK+Hu9bcEDQhMjOw9tXZZc71fLGHeOt2xwz4FwRMprA5MJ0 TfZ767w+Y8GgGas0c0HIK/5LE8q5Uoz0668NCO7K0+4a7BnWFlBwyMOd5vOwgAAfIHFeI0GuNpwq Ia+dg5FodkLn1lrA4eTz00QBEol5axKMexWjiFLw==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=es4dtlovxAToP5yiLbatqgY8baO+A++NzQi1umFPhRk=; h=From:To:Subject:Message-ID;
Dooray-Meta-Signature: p5to0ky1eIX62x71WaxPFEEJIAWcJx9RXtqT48e/y5o4YpNaGJ4vO aZBXtMzaMCr6s915o7W1VucUCd+W2Cmmzb1Yz6hTpO6WkJGj6mVBaiigzlMafiLUfPLuVCEGghQJ Bh9w1yQ2zui/5KX51KPLm0mTFSUUHLqbmCGHO+op2xI5eaPuwcqedfgBcGzAtDIrfTaeJd4ibN3K 6hjRnm09qKbM7l6YaxPKFqcEt9miYmg+kjelb3zJouvP7C4v1j5Wx73500OmDQrF4WLnesyvlAJP ev4b1aJQndS41TM8woaHmZiXomsakl/TJL8WHSN1o0v1cOh9SPDnizIzjTYmtokpSKKR80KupXMF ODf9II=
Received: from [129.254.29.9] (HELO 129.254.29.9) ([129.254.29.9]) by send001.gov-dooray.com with SMTP id 76dfb1ad65541e02; Wed, 15 Nov 2023 10:25:22 +0900
From: 이현정 <hjlee294@etri.re.kr>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Ari Keränen <ari.keranen@ericsson.com>, "asdf@ietf.org" <asdf@ietf.org>
Message-ID: <rw9i40ximfq9.rw9i40xhuepr.g1@dooray.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
X-Dsn-Request: true
X-Dooray-Agent: mail-api
X-Dooray-Mail-Id: 3671748208894897953
Importance: Normal
X-Priority: Normal
X-MSMail-Priority: Normal
X-Dooray-Attached: c3+LUOpPU/IB7Wl+oemm0lw5HiI/bJHHYClX72L8E3o=
Date: Wed, 15 Nov 2023 10:25:21 +0900
References: <HE1PR07MB3226B3EE573378FD13C4C60385A9A@HE1PR07MB3226.eurprd07.prod.outlook.com> <VI1PR07MB44479CF532FAB5B261D71F9893AEA@VI1PR07MB4447.eurprd07.prod.outlook.com> <rvxeev30603n.rvxeev32x2l1.g1@dooray.com> <HE1PR07MB44414E6DDAC8459E781A629993B3A@HE1PR07MB4441.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB44414E6DDAC8459E781A629993B3A@HE1PR07MB4441.eurprd07.prod.outlook.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/hNbaV6ZCkI0N-6tVNEYZ2TDDViI>
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 01:25:51 -0000

Hi Christer, 

Thank you for the interest! Please see as follows and inline: 


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

  >>> Exactly.

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.

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).

Q2-3) 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.

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

Regards,
Hyunjeong Lee

-----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