28
© COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Entity Services in Action with NISO STS Matt Turner CTO, Media & Entertainment @matt_turner_nyc #mlw17

Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

© COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Entity Services in Action with NISO STSMatt Turner

CTO, Media & Entertainment

@matt_turner_nyc

#mlw17

Page 2: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 2 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Agenda§ How we define data today

- Starting with an allegory and some dramatic foreshadowing

- Warning: features conceptual recursion

§ MarkLogic Entity Services

§ NISO STS – Standard for Standards

§ Demonstration

Page 3: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 3 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Page 4: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

What makes the shipping container so successful?

It is (very well) DEFINED!!

Page 5: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 5 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Benefits of Definition• Interoperability

• Specialized roles

• Universal application

• Its an intermodal container

Page 6: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 6 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Shipping Container Definition In Action

ISO 668

Standards Body Manufacturers Businesses

Page 7: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 7 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

How Do We Define Data Today?

Application code Relational schemas,domain models, ERDs

ETL scripts, stored procedures

Page 8: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 8 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

!=translated referenced

Page 9: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 9 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

What We NeedDATA MODELING

§ True description of data, actionable in the database

§ Enabling specialization

§ Universally applied to multiple functions

Data Documents Triples

Page 10: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 10 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Iterative, model-driven data integration Entity Services

§ Describe real-world entities, attributes, and relationships in a Semantic model

§ Automatically derive services, transformations, configuration from the model

§ Govern context and data together

§ Iterative and evolutionary: Use only as much as you need

Page 11: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 11 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Entity Type Model

§ Entities (noun)A Customer is something that exists as part of my business/mission.

§ Properties (adjective)Customer entities have a Name that is of type string and is required.

§ Relationships (verb)Customers place Orders.

§ Entities§ Properties§ Relationships

Page 12: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 12 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Entity Services Model in Action

Model

Conversion Code

Search Options

Template Driven Extraction

End User Application

End User Application

End User Application

Data Architect Generated Code

Developers

Page 13: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 13 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Shipping Container Definition MODEL In Action

ISO 668

Standards Body Manufacturers Businesses

ISO 668

Page 14: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 14 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Introduction to Standards§ Fundamental content for (nearly) every industry

§ Impact: Standards are at the start of nearly everything!

Page 15: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 15 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Standards ContentFUNDAMENTAL INDUSTRY INFORMATION

§ Created for and with industry

§ Expressed as precisely worded documents

§ Complex workflows enhanced with MarkLogic

- Delivering information (not PDFs) to customers

§ But: NO STANDARD FOR STANDARDS …

Page 16: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 16 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

NISO STS: A Standard for Standards§ Released in April 2017

§ Based on a standard (ANSI/JATS) and adapted by ISO for their use

- Recognized to have broader value to the standards community

- Transformed by NISO to become standard for standards

§ Goals

- Ease publication of standards

- Increase interoperability of standards

- Aid distribution of standards

- Improve the future of standards publishing

§ Creates document description standard to every part of the industry

Page 17: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

Entity Services Demo

Page 18: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 18 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

STS Demo§ STS data Model and entity description

§ Generate converter + mappings

§ Generate envelope documents

§ Generate search options

§ Install in application (Old Skool framework)

§ Search and explore standards

§ Generate TDE

- SQL over the documents!

§ Explore normative reference relationships

Page 19: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

© COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. SLIDE: 19

§ 44 Freight Container Standards

- Content from the ISO

- 1396 files, including images, diagrams

- STS format*

- Loaded in a MarkLogic database

NISO STS Samples

*ISO STS, not NISO STS – I am not a time traveller

Page 20: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

© COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. SLIDE: 20

"Standard": {"properties": {

"urn": {"datatype": "string"}, "doc_number": {"datatype": "string"}, "title": {"datatype": "string"}, "doc_type": {"datatype": "string"}, "originator": {"datatype": "string"}, "secretariat": {"datatype": "string"}, "pub_date": {"datatype": "string"}, "release_date": {"datatype": "string"}, "scope": {"datatype": "string"}, "norm_refs": {

"datatype": "array", "items": {"$ref": "#/definitions/Std_ref"}

}}

NISO STS Model

Standard 1urn

1

doc-number

n

norm-ref

1

title

Page 21: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 21 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

STS Demo§ STS data Model and entity description

§ Generate converter + mappings

§ Generate envelope documents

§ Generate search options

§ Install in application (Old Skool framework)

§ Search and explore standards

§ Generate TDE

- SQL over the documents!

§ Explore normative reference relationships

Page 22: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

Casting Off

Page 23: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 23 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Entity ServicesRECAP

§ Puts you data model into action

§ Lets you model what you need

§ Lets specialized resource focus on their roles

§ Makes data easily available to developers

Page 24: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 24 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Entity Services Model in Action

Model

Conversion Code

Search Options

Template Driven Extraction

End User Application

End User Application

End User Application

Data Architect Generated Code

Developers

Page 25: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

© COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Questions?Matt Turner

CTO, Media & Entertainment

@matt_turner_nyc

#mlw17

Page 26: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 26 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

ReferencesCASTING OFF

§ Entity Services GitHub: https://github.com/marklogic/entity-services

§ Entity Services Guide: https://docs.marklogic.com/guide/entity-services

§ NISO STS: http://www.niso.org/workrooms/sts/

§ Ninety Percent of Everything

Page 27: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 27 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Thank You!§ Stephane Chatelet, Director Information

Technologies, ISO

§ Holger Apel, Software Manager, ISO

§ Bruce Rosenblum, CEO Inera Systems and Chairman of NISO STS working group

Page 28: Entity Services in Action with NISO STS · Title: 2017_MLW_CHI_Entity Services in Action_FINAL_051817_FOR POSTING Created Date: 6/13/2017 4:09:30 PM

SLIDE: 28 © COPYRIGHT 2017 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED.

Happy Sailing!