Etsi Tr 103 715 V1.1.1 (2020-11)
Total Page:16
File Type:pdf, Size:1020Kb
ETSI TR 103 715 V1.1.1 (2020-11) TECHNICAL REPORT SmartM2M; Study for oneM2M; Discovery and Query solutions analysis & selection 2 ETSI TR 103 715 V1.1.1 (2020-11) Reference DTR/SmartM2M-103715 Keywords interoperability, IoT, oneM2M, SAREF, semantic ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N° 348 623 562 00017 - NAF 742 C Association à but non lucratif enregistrée à la Sous-Préfecture de Grasse (06) N° 7803/88 Important notice The present document can be downloaded from: http://www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the prevailing version of an ETSI deliverable is the one made publicly available in PDF format at www.etsi.org/deliver. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https://portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification Reproduction is only permitted for the purpose of standardization work undertaken within ETSI. The copyright and the foregoing restriction extend to reproduction in all media. © ETSI 2020. All rights reserved. DECT™, PLUGTESTS™, UMTS™ and the ETSI logo are trademarks of ETSI registered for the benefit of its Members. 3GPP™ and LTE™ are trademarks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and of the oneM2M Partners. GSM® and the GSM logo are trademarks registered and owned by the GSM Association. ETSI 3 ETSI TR 103 715 V1.1.1 (2020-11) Contents Intellectual Property Rights ................................................................................................................................ 7 Foreword ............................................................................................................................................................. 7 Modal verbs terminology .................................................................................................................................... 7 Executive summary ............................................................................................................................................ 7 Introduction ........................................................................................................................................................ 7 1 Scope ........................................................................................................................................................ 9 1.1 Context for the present document ....................................................................................................................... 9 1.2 Scope of the present document ........................................................................................................................... 9 2 References .............................................................................................................................................. 10 2.1 Normative references ....................................................................................................................................... 10 2.2 Informative references ...................................................................................................................................... 10 3 Definition of terms, symbols and abbreviations ..................................................................................... 14 3.1 Terms ................................................................................................................................................................ 14 3.2 Symbols ............................................................................................................................................................ 15 3.3 Abbreviations ................................................................................................................................................... 15 4 Method for Discovery and Query options analysis and selection .......................................................... 16 5 State of the art related to discovery ........................................................................................................ 17 5.1 Introduction ...................................................................................................................................................... 17 5.1.0 Foreword ..................................................................................................................................................... 17 5.1.1 Requirements involving Discovery ............................................................................................................. 18 5.2 Resource in oneM2M ....................................................................................................................................... 19 5.2.1 Resource involved in Semantic Resource Descriptor ................................................................................. 19 5.2.1.1 Introduction ........................................................................................................................................... 19 5.2.1.2 Announced resource .............................................................................................................................. 20 5.2.2 Resource distribution in oneM2M .............................................................................................................. 20 5.2.3 Resources in W3C Linked Data .................................................................................................................. 21 5.3 Discovery query languages............................................................................................................................... 23 5.3.1 oneM2M syntactic discovery query language............................................................................................. 23 5.3.2 Cypher-Gremlin, AQL, GraphQL ............................................................................................................... 25 5.3.2.1 Cypher ................................................................................................................................................... 25 5.3.2.2 Gremlin ................................................................................................................................................. 25 5.3.2.3 Arango Query Language (AQL) ........................................................................................................... 25 5.3.2.4 Graph Query Language (GraphQL) ...................................................................................................... 25 5.3.2.5 Query Language Summary and Comparison ........................................................................................ 26 5.3.3 W3C SPARQL 1.1 Query Language .......................................................................................................... 26 5.3.4 Discovery in the Web of Things (WoT) ..................................................................................................... 28 5.4 Ontologies for discovery .................................................................................................................................. 30 5.4.1 oneM2M ontology ...................................................................................................................................... 30 5.4.2 W3C Web of Things (WoT) ....................................................................................................................... 31 5.4.3 ETSI SAREF .............................................................................................................................................. 32 5.5 Discovery query resolution............................................................................................................................... 32 5.5.1 Introduction................................................................................................................................................. 32 5.5.2 Discovery query rewriting in oneM2M ...................................................................................................... 32 5.5.3 oneM2M discovery (semantic and non-semantic) ...................................................................................... 34 5.5.3.1 Non-semantic/syntactic discovery ......................................................................................................... 34 5.5.3.2 Semantic discovery ............................................................................................................................... 34 5.5.4 Cypher, Gremlin, AQL, GraphQL .............................................................................................................. 35 5.5.4.1 Introduction ..........................................................................................................................................