iot day 2016: cloud services for iot semantic interoperability

43
CLOUD SERVICES SUPPORT FOR IOT SEMANTIC INTEROPERABILITY IOT DAY 2016 IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike 1 MARK UNDERWOOD KRYPTON BROTHERS LLC

Upload: mark-underwood

Post on 09-Feb-2017

192 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

1

CLOUD SERVICES SUPPORT FOR IOTSEMANTIC INTEROPERABILITYIOT DAY 2016

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

MARK UNDERWOODKRYPTON BROTHERS LLC

Page 2: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

2

ABOUT @KNOWLENGR (ME)

• CEO Krypton Brothers (NYC area) • Co-chair Summit on Ontologies for IoT

(2015)• Co-chair Security and Privacy subgroup

of the NIST Big Data Public Working Group

• Book chapter on Complex Event Processing for IoT Security (in press)

• ACM, IEEE, AAAI, ISACA, SHRM etc, etc.

Page 3: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

3

MY IOT USE “CASES”

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 4: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

4

USE CASE:ELECTRIC VIOLIN

Page 5: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

5

YAMAHA EV-5 CASE

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 6: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

6

SENSOR, DEVICE TYPES

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 7: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

7

REQUIREMENT: SENSOR, DEVICE UPGRADE

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 8: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

8

“TECHNICAL”REQUIREMENTS• Remote monitoring• Interface with existing applications• Recognize case placement• Issue alerts, not just continuous data stream• Support multiple models of humidistats• Identify location (geospatial)• Identify which instrument ($$$$ vs. $)• Recognize sensor failure • Full “ecosystem” (humidistat | humidifier | case

environment | location)

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 9: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

9

“BUSINESS” REQUIREMENTS

• Limited budget • Limited expertise for sensor technology• Access through smartphone • Access through web page • Prevent “catastrophic” drying • Address “case open” condition

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 10: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

10

FRONT-OF-NOSE CONSIDERATIONS?

• What solutions are already out there?• What are the sensor manufacturers providing?• What protocols are “winning”? • What giant, widely used apps or platforms should it

interface with (Facebook, Google, Microsoft, Verizon)?

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 11: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

11

BIG PICTURE CONSIDERATIONS• Use case contains multiple paradigmatic aspects• Hidden analytics needs (practical sweet spot for case

climate control)• Numerous rabbit holes for Not-Invented-Here development • Confluence of idiosyncratic requirements and “universal”

IoT requirements• Software development life cycle (SDLC) realities

• Error tolerance• Maintenance will exceed development costs

• Potential big distraction from practicing for performance

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 12: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

12

THE GO-TO, DEFAULTAGILE DEVELOPER SOLUTION IN 2016?

CLOUD SERVICES DRIVEN BY API-FIRST DESIGN

►Cloud often morphs to hybrid (connectivity, resilience, cost considerations apply), but folks embrace cloud-first mentality

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 13: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

13

CHECKERED SEMANTIC INTEROPERABILITY “SOLUTIONS” HISTORY

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Credit: Leo Obrst, PhD at Mitre

Page 14: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

14IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike This slide credit: Leo Obrst (Mitre)

Page 15: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

15

ONTOLOGY MOTIVATORS

• Abstract models for devices, processes, events • “Upper ontology”

• Describe code fragments (e.g., classes) using taxonomies & vocabularies recognized by other developers

• Leverage stereotypical design patterns for UI• Recognize blurring with big data issue • Access “model-oriented” communities of interest

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 16: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

16

TRADEOFF DANCE• Implement an elegant solution • Avoid slippery floor spots

• endless refinement• unresolvable representation alternatives

• Devil is in the details • Cautionary tale:

Example from Financial Industry Business Ontology (FIBO)

• EHR Blockbuster film: EPIC vs. the Ontologists

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 17: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

17

QUESTIONS• What is the shape of existing cloud service design

patterns?• Are ontologies part of these patterns?• If so, what does it look like? • Which enterprise influencers are at work?• Which tools are being used? (Artifacts?)• Who are the people to watch?

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 18: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

18

CLOUD SERVICES ABSTRACT

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Two important consequences of the “cloudification” of computing are DevOps and an API-first (espoused by Intel’s Brian Krzanich) design philosophy. While SOA and “composable services” introduced many of the same concepts in earlier generations (indeed, both DevOps and API-first steal from well-burnished concepts), the level of adoption across software and data providers is unprecedented. Computing environments for large scale projects can be stood up in minutes, tested and disposed of the following day. Products like Zapier and IFTTT allow for orchestration of cloud services across providers. The Zapier App Directory offers around 100 integrations. Interop exists across platforms (as in hybrid cloud storage), applications (e.g., between QuickBooks and a telephony app like DialMyCalls), and also what some are calling “cognitive services.” Cloudify suggests using TOSCA (a cloud orchestration standard) to connect resources like OpenStack or VMware using open source tools.)

Github repositories can store ontologies, but can this be scaled up to build applications, sharing ontologies within or across domains? Will developers tempted to use ontologies be able to gain the same productivity benefits they experience elsewhere with cloud services? We ask a few vendors.

Page 19: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

19

API-FIRST DESIGN

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

API-first design is a result of ubiquitous cloud services and DevOps, but its impact is not limited to that: IoT development is inspired by the same design patterns. Ontologies could / should be similarly ubiquitous to deploy. Are they?

Page 20: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

20

WHY API-FIRST?Browse cloud service integrations at Zapier, ProgrammableWeb and IFTTT

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 21: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

21IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 22: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

22

PROGRAMMABLE WEB

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 23: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

23

CLOUD SOLUTIONS: COMMERCIAL TRACTION

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 24: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

24IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 25: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

25

IBM WATSON:“ONTOLOGY ANALYSIS”

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 26: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

26IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 27: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

27

SAS: ONTOLOGY FOR ANALYTICS & BIhttp://www.sas.com/en_us/software/analytics/ontology-management.html

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 28: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

28

SAS: ONTOLOGY MANAGEMENT STUDIOIncludes class editing, XML import, RDF formats

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 29: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

29

ORCHESTRATION AS KEY• Emerging as central issue

in NIST Big Data Working Group Security and Privacy (bigdatastandards.com)

• Reality: multiple services, vendors, standards

• Role of people must be surfaced design patterns

• Re-emergence of workflow

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 30: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

30

OASIS TOSCATOSCA: Topology and Orchestration Specification for Cloud Applications

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 31: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

31

SDN MEETS ONTOLOGY?

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 32: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

32

SAP RESEARCHVia: Florian Probst (c. 2012) “SAP Research: An Industry Perspective on Semantic Technologies”• Probst walks through several use cases and

prototypes, including EMS, oil & gas • Lessons learned:

• Establish role for “ontology engineer”• Improved browsers for ontology editors, help, &

visualization metaphors• “Ontologies are still hard to use for software

engineers while the benefit is not directly obvious”• There are performance issues• Need new mechanisms for semantic annotations

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 33: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

33

PROGRESS WITHIN THE DOMINANT DESIGN PATTERN? HTTP://ISERVE.KMI.OPEN.AC.UK/

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 34: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

34

ISERVE (CONT’D)Open Source: https://github.com/kmi/iserve •Web Application -iServe Browser•Read&Write RESTful API•Linked Data principles•SPARQL endpoint•Content negotiation (RDF, HTML)

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 35: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

35IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 36: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

36

ISERVE ON SWAGGER + GITHUB“By this all people will know you are my discipline.” (refactoring of John 13:25)

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 37: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

37IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

“Swagger is a simple yet powerful representation of your RESTful API. With the largest ecosystem of API tooling on the planet, thousands of developers are supporting Swagger in almost every modern programming language and deployment environment.With a Swagger-enabled API, you get interactive documentation, client SDK generation and discoverability.We created Swagger to help fulfill the promise of APIs. Swagger helps companies like Apigee, Getty Images, Intuit, LivingSocial, McKesson, Microsoft, Morningstar, and PayPal build the best possible services with RESTful APIs.

Page 38: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

38

PROGRESS?

CLOUD SERVICES FOR ONTOLOGIES

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 39: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

39

WHERE ARE ONTOLOGIES?

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 40: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

40

CURRENT STATUS OF ONTOLOGY CLOUD SERVICE OFFERINGS• Too few initiatives (search Github, Swagger)• Some of the few are industry giants • Adoption is being pushed from top (SAS), bottom (Nakina

Systems), and middle (SAP) • There are clear use cases (e.g., CRM marketing automation) • Competing software development life cycle models still prevail• Among semantically rich alternative development models,

even they have light traction (model-driven development, domain-specific development)

• Roll-your-own (without ontologies) must get harder.• iServe, ProgrammableWeb potential influencers

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Page 41: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

41

PROJECT STALL• Which upper ontologies do I

need?• Evolving home monitoring

ecosystem (Verizon?)• Lack of APIs• Low tech commercial

landscape • Use case not compelling

enough • Development challenge

nontrivial

Page 42: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

42

MEANS TO AN END

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

Standards, APIs, even programming languages have limited lifetimes.(MIDI is a mind-numbing exception.)

Building apps that endure is a nontrivial challenge.

Think Bach, not Google.

Page 43: IoT Day 2016: Cloud Services for IoT Semantic Interoperability

43

SEMANTIC INTEROPVIA CLOUD SERVICES

MARK UNDERWOOD

IoT Day 2016 - Mark Underwood @Knowlengr Krypton Brothers - Creative Commons Attribution Share-Alike

KRYPTON BROTHERS LLC | KRYPTONBROTHERS.COM@KNOWLENGR [email protected] ALSO: ONTOLOGYSUMMIT.ORG