iot.schema - github pagesiot.schema.orgconceptual integration with other ontologies •feature of...

22
iot.schema.org Practical Semantic Interoperability for Connected Things or - Avoiding the XKCD 927 Effect Michael Koster

Upload: others

Post on 30-May-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

iot.schema.orgPracticalSemanticInteroperabilityforConnectedThings

or- AvoidingtheXKCD927Effect

MichaelKoster

Page 2: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

Thisismostlyinformational

• Whatproblemisbeingsolved?• Whatisiot.schema.org ?• Howdoesiot.schema.org work?• Whoisiot.schema.org for?• Howisiot.schema.org intendedtobeused?• Whatisthestatus,thegaps?• HowdoIgetinvolved?

Page 3: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

ThisistheProblembeingsolved:

Source:https://xkcd.com/927/

Page 4: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

Background

• IoTSI - IoT SemanticInteroperabilityWorkshop• WISHI– WorkonIoT SemanticandHypermediai15• Manydifferentmodelsandprotocolsforacommonsetofhighlevelpatterns• SemanticNormalizationvs.ProtocolTranslation• Diversityindeviceprotocolsisafeature

Page 5: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

Problembeingsolved– SemanticInteroperabilityforIoT• AcknowledgethediversityofIoT deviceecosystems• Notanotherdevicestandard• Adaptivetodiverseprotocol,language,anddatamodels• Distillthecommonandstableoperationalfeatures• Second"narrowwaist"forsystemsaboveIPnetworks

• AddresstheeaseofuseofSemanticWebforIoTanduseofIoT forSemanticWeb• NotanotherIoT ontology• Aconceptuallayerthatmodelsconnectedthingsinrelationtoexistingontologies

Page 6: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

NarrowWaistinSystemDesign

OCF dotdot LWM2MFairhair

IPNetworksLAN/WAN(WiFi,

Thread)

SemanticInteroperability(SoftwareAdaptation)

App AppAppApp ManyApplications.LocalandRemote

ManyDevices,DifferentEcosystems

CommonInfrastructure(Protocols,Formats,andMetaModels)

InternetofThings

WebofThings

Page 7: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

DiverseDevicesandApplications,CommonProtocolsandSemantics

Transport UDP/TCP

Protocols,Formats IETFCoAP,CBOR,Link-Format

DeviceEcosystems OCF,OMA,Zigbee,Fairhair

Networks WiFi,IPV6,Bluetooth

ProtocolBinding

ThingDescription

SemanticVocab

W3CThingDescription

iot.schema.org

InternetofThingsNarrowWaistofProtocols

WebofThingsNarrowWaistofSemantics

Applications InteroperableApplicationsDiverseApplications

DiverseDevices

Page 8: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

Whatisiot.schema.org• AlayertobridgebetweendeviceecosystemsandSemanticWebtechnology,consistingof• Publiclyavailable,reusable,interoperable,andcompose-abledefinitionsforconnectedthings• Propertyandrelationtypestoenablereuseofexistingontologiesanddefinitions• SSN,SOSA,SAREF,QUDT• Propertytypesfore.g.FeatureofInterest

• FollowtheexampleandalignwithSchema.org• Extendtheschema.org patterns• Communitycontributionsandopenlicense

Page 9: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

iot.schema.org Definitions

• Semanticdefinitionsthatfollowthedesignpatternsandinteractionaffordancesofconnectedthongs• Interoperableduetoasetofstaticanddynamicsemanticconstraints• Definea"Capability"thatrepresents– typically–thesmallestpracticalcompose-ableunitoffunctionality• Forexample,atemperaturesensor,oradoorlock

Page 10: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

iot.schema.org Capabilities

• Abstractfunctionalityaroundasimplefunctionalconcept,e.g.temperaturesensor,ordoorlock• Oftenassociatedwithaclassofphysicalquantityorartifact,e.g."temperature"or"door"• CapabilitiesareassociatedwithInteractionsandDataItemsintheiot.schema.org conceptualmodel• TheInteractionsandDataItemsarethebasisforprotocolanddata-modelneutraldefinitions

Page 11: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

iot.schema.org Categories/Classes

schema:thing

Capability InteractionPattern

Action Event Property

acceptsInputDataprovidesOutputData

providesInteractionPattern

rdfs:subclassOf

schema:Property

iotschemaClass

ReusedClass

DataItem

schema:PropertyValue

schema:PropertyValueSpec.

Page 12: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

iot.schema.org Categories• Capability• Discoveryofthingsthatsatisfyapplicationrequirements• Staticconstraintsaspartofthedefinition

• Interaction• Adaptationoftheapplicationtotheaffordancesoftheconnectedthing• Staticconstraintwithcompose-ableelements

• DataItem• Adaptationoftheapplicationtothedataformat,types,engineeringunits,rangeandscale• Staticordynamicconstraints

Page 13: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

iot.schema.org ConceptualIntegrationwithotherontologies

• FeatureofInterestconceptsandpropertytypestodescribelocation,equipment,orotherclassifiers• Forexample,BrickSchema definitionsfromHaystack• QuantityandUnitsconstraintscanuseQUDTconceptsandappropriateidentifiers• SSN,SOSA,SAREFconceptscanextendadefinition• DefinitionsandinstancesmaybeannotatedinRDF

Page 14: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

IntegrationwithotherOntologies

iot.schema.orgDefinition

FeatureofInterest,O&MSituation,Provenance

Quantities,Units,Shapes,PropertyValueConstraint

SoftwareAffordances

EnablesWell-CharacterizedinteractionswithPhysicalEntities

Page 15: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

Connectthingstotherealworld

DoorLock

Door

DoorLock Capability- ActuateLock Interaction- ActuateUnlock Interaction- GetState Interaction->LockState Data

isAssociatedWith

- IsAFrontDoor- OpensToOutside- IsASecurityDoor

"LockSecurityDoorsandCheck"Action

iot.schema.org

otherontologies

Page 16: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

FeatureofInterestProperties

Page 17: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

iot.schema.org SpecificUseCases• Semanticannotationofthinganddatainstances• RDFinstances,LDP,etc.• WoT WebofThingsThingDescription• HTMLWebpageusingmicroformats orJSON-LDin<script>tag• Targetattributesinweblinks(RFC8288et.al.)• Metadataforad-hocannotationastype

• SelectiveSemanticDiscoveryusingYFQL• AutomaticconfigurationofIoT applications,rules,andbehaviors• Standalonesemanticsfordataanalysis,dataatrest

Page 18: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

ExtendeduseCasesareenabled

• DeclarativeSemanticAPIusingthemeta-interactionmodeldirectly• Abstractconstructorlanguageforbuildingandcomposinginstancesofexposedthings• OCF,OMALWM2M/IPSO,Zigbee/dotdot,BLE• C2CAPImanagement(OpenAPI +SemanticAnnotation)• HAL,Hydra,JSON-Hyperschema,..

• Interoperabledefinitionsfororchestrations:rules,behaviors,scenes,andenumerations

Page 19: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

W3CWoT ThingDescription• SemanticannotationforThingDescriptioninstances• DescribesThings usingCapability identifiers• DescribesTDEvents,Actions,andProperties usingInteraction identifiers• DescribesDataSchema instancesusingDataItemidentifiersandconstraintsystems• ThingDescriptioncontainsconcreteProtocolBindingsforspecifictransferlayeroperations

Page 20: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

Status• MonthlyTeleconferencessincemid-2017• ExamplesofDefinitionsinaGithub repository• FoI annotationexamplesarealsointherepo• PrototypestestedatW3CWebofThingsPlugfestsandWISHI/IETFHackathonsfrommid2017• Somecontributorsarereadytobeginsubmitttingdefinitions• Weneedtobuildoutsometoolsandprocesses• W3CCommunityGroupwithWebofThings

Page 21: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

References

• iot.schema.org• https://github.com/iot-schema-collab/teleconferences/blob/master/README.md• https://github.com/iot-schema-collab/intro-materials• https://github.com/iot-schema-collab/teleconferences

• W3CWebofThingsIG/WG• https://www.w3.org/WoT/WG/

Page 22: iot.schema - GitHub Pagesiot.schema.orgConceptual Integration with other ontologies •Feature of Interest concepts and property types to describe location, equipment, or other classifiers

ThankYou!

• Questions?