SlideShare a Scribd company logo
Cities as Enablers of the Data Economy:
Smart Data Models for Cities
21-10-20
Alberto Abella
Data modelling expert
FIWARE Foundation
Introduction
1
Alberto Abella
Data modelling expert
FIWARE foundation
Learning goals
▪ Assuming the economic relevance of the cities and how to
develop this ecosystem for producing welfare for the citizens
▪ Understanding the need for standardization as the base for
reducing costs for technology adoption
▪ The Smart Data Models initiative and how it will help you on
your projects
▪ Understanding how to use smart data models and how to
contribute to them
2
● Citizen as consumer
● Citizen as user
● Citizen as creator
● Citizen as designer
Index
1. The city as a data ecosystem for creating economic impact.
2. Context / Digital Twin Data Management in FIWARE.
3. Relevance of standardization. New approach. Open principle.
4. The Smart data Models Initiative. Structure.
5. The Smart data Models Initiative. Examples.
6. The Smart data Models Initiative. Users and contributors.
3
1. The city as a data ecosystem for creating economic
impact.
4
5
FIWARE was created to ease solutions supporting the Smart Digital Life
building around open standards for managing Context / Digital Twin Data
that blurs the frontiers among application domains and enable the Data Economy
SMART CITIES
Digital Ecosystem
6
Smart city Digital Ecosystem. Source: Based on Abella, Ortiz-de-Urbina & De-Pablos (2015)
Economic impact of data economy
7
Size of the Smart cities market
Billions (pre Covid-19)
Avg yearly growth: 20%
Source: Mckinsey 2016
2. Context / Digital Twin Data Management in FIWARE.
8
What are we referring to as Digital Twin?
▪ Digital Twin = Digital representation of an asset
• Characterized by attributes
□ Properties
□ Relationships Linked Data
• Values of attributes may change over time (or not)
• Typically have a location (but it is not a must requirement)
▪ (digital representation of) Context = Digital Twins Collection
▪ Basis for the development of any Smart Solution:
• Standard API for getting access to Digital Twin data (context)
• Common Data Models associated to Digital Twin classes
9
Modeling Context using Digital Twins
for Cities …
10
Entities
(Digital Twins)
Bus
• Location
• # passengers
• Driver
• License plate
Citizen
• Birthday
• Preferences
• Location
• ToDo list
Incident / claim
• Date
• Location
• Type
• Issuer
• Description
Shop
• Location
• Business name
• Franchise
• offerings
Attribute
Process / Analyze
/ Monitor
Digital Twin
representation
Context
(Real World)
capture actuate
update
notify /
query
Integration at multiple levels
11
Digital Twin
representation
Digital Twin
representation
Digital Twin
representation
Architecting
Smart Solutions
Integrating systems and
data within organizations
(system of systems)
Sharing Data across
organizations
3rd
systems
sensors
Smart Solution
System 3
System 4
System 1
System 2
Smart City
Smart Building
Smart
Logistics
Smart Grid
NGSI: a standard API for accessing Context / Digital Twin data
12
Process / Analyze
/ Monitor
Digital Twin
representation
Context
(Real World)
capture actuate
update
notify /
query
Application/Service
FIWARE NGSI API
(NGSIv2 → NGSI-LD)
Bus
• Location
• No. passengers
• Driver
• Licence plate
Citizen
• Name-Surname
• Birthday
• Preferences
• Location
• ToDo list
Shop
• Location
• Business name
• Franchise
• offerings
Context Broker
3. Relevance of standardization. New approach. Open
principle.
13
NGSI API: Endorsement at global level
14
TM Forum supports FIWARE
NGSI for real-time access to
context information in cities
TM Forum and FIWARE
collaborate in development
of data marketplace platform
components
TM Forum and FIWARE also
collaborate in definition of
common smart data models
in collaboration with cities
ETSI created Jan 2017 an
Industry Specification Group
(ISG CIM) for defining a
Context Information
Management API
FIWARE NGSIv2 provided the
basis for the NGSI-LD specs
published by ETSI
FIWARE provides several
open source implementations
of ETSI NGSI-LD
The FIWARE Context Broker
Technology has been
selected as a new CEF
(Connecting Europe Facility)
Building Block
recommended to public and
private sector for
publication of right-time
context data
The European Data portal
will support the publication
of right-time Open Data
The GSMA has published a
Reference Architecture for
IoT Big Data Ecosystem
which recommends to
mobile operators
NGSI-LD plays the core role
in the defined Reference
Architecture
Approach to data models. ‘De facto’ standardization.
15
Concept Classic De-facto
Standardization body Stable and fully-dedicated entity → DIN Unstable or not fully dedicated → Fiware foundation
Standardization groups Extended and Balanced members from
relevant and interested actors
Interested users and developers with expertise on
the field
Consensus mechanisms Global Reviews by participants By contribution and Benevolent dictator
Prestige of standards By source entity By use of the results
Advantages Low-biased standards. Coherence with former
standardizations Predictable reviews
Funding based on standard costs and
members fees
Standard created together with implementation
Evolution by use
Quick reviews
Low cost
Disadvantages Creation of theoretical standards (never
implemented)
Slow reviews
Standardization hardly support costs
Potential biased standards
Low barriers to Potential competitors
4. The Smart Data Models Initiative. Structure.
16
And what will happen to the data models you use when ….
Scenario:
Imagine you have to create data models for the development o integration of a service / application
What will happen to the data models you use when
▪ … your project ends.
▪ … you have to update it.
▪ … you were asked to make it interoperable with other/new initiatives?
▪ … you need to update it to new regulations / standards?
Wouldn’t be more efficient and useful to do it together?
17
▪ A community site with detailed data models available for open use for multiple sectors
▪ Together with other relevant organizations in the curation of the different domains and subjects
▪ Providing coherence and consistency between data models across different domains
▪ To create a method for AGILE standardization and evolution these data models
▪ To provide extended usefulness to FIWARE platform users in terms of:
− Extended interoperability
− Reduced time dedicated to data model codying
− Accumulated experience tested in real case scenarios
− Mapped to be integrated with other platforms
▪ Using open licensing to allow extensive use and adoption
▪ Used in real case scenarios (and based on real use cases)
▪ Based on git platform and github as development frontend
▪ Consensus as main decision method
▪ Based on widely adopted standards (including ontologies and international schemas, i.e. schema.org)
Principles of Smart data models initiative
18
GITHUB
http://github.com/smart-data-models
- Oriented to developers
- All resources available
- Contribution by PR
- Issues on data models
SITE (Wordpress)
http://smartdatamodels.org
- Oriented to end users
- News on updates (subscription)
- Check attributes and enumerations
Structure: Webs
19
data-models
Umbrella repo
Cross
Sector
Smart
Manufacturing
Subject NSubject 1
Smart
Water
Smart
Robotics
Smart
Agrifood
Smart
Cities
Smart
Environment
Smart
Destinations
Smart
Sensoring
Subject 2 Subject 3 Subject 4
DOMAINS
REPOSITORIES
Readme
pointing to the
list of subjects
General info or
shared
resources
DATA-MODELS
- Guides for coding new data models
- Template for new data models and examples
- Directory for scripting tools to check data models
- Inventory of domains and data models
- Inventory of attributes and terms
- @Context for json-ld
SUBJECTS’ REPOSITORIES
Readme pointing to the list of data models for the objects
Contributors.md
subject-schema.json
DATA MODELS
README.md
/doc/spec.md
/examples
schema.json
Current Adopters
Structure: domains and subjects compile data models
20
- Global data about the initiative
○ List of data models
○ List of attributes
○ Required attributes
- Domains’ repositories
- Updated daily to the last commit of Subjects
- Free contribution repo
- Under request
Domain repositories and others. http://github.com/smart-data-models/specs
Structure: Github. Domains
21
- Subjects as submodules of the Domain
- Updated daily to last commit
- Data models in the subject
Domain repositories and others. https://github.com/smart-data-models/SmartCities
- Shared elements for all the
Data models in the subject
Structure: Github. Domains
22
- Agreement for release data models with open license
- Contact options
- Presentation on the governance of the initiative
- Tools & links for learning about data modelling
- Manual submission of data model (with help)
- Newslists on different
Domains
- News updates on the
data models
- Document for future contributors to data models
- List of data models
- Attributes database
- Coding instructions
Frontpage. https://smartdatamodels.org
Structure: WP
23
Subscriptions: http://smartdatamodels.org/index.php/subscriptions-page/
Frontpage
1 list per domain
1 mail a week (unless very important changes)
Structure: WP
24
News:
https://smartdatamodels.org/index.php/news/
5. The Smart data Models Initiative. Examples.
25
26
Examples of use
27
Example 1. Look for an attribute for your data model
1. Look for a parameter into the attributes database (i.e. light)
2. Explore the different data models related
3. Review the specification
Attributes and enumerations database
▪ Front page of https://smartdatamodels.org
▪ Searchable in > 3000 terms
▪ Across all data model
▪ Immediate answer and link to the schema
28
29
Example 2. Creating an entity on NGSI and other systems
1. Browse github till retrieve GTFS trip payload (json)
2. Open editor to run the queries into a NGSI engine
3. Get example csv (raw)
4. Convert into SQL
5. Create a SQL database into a DB editor
By -stk - Own work, CC0,
https://commons.wikimedia.org/w/index.php?curid=47287176
sudo docker pull mongo:3.6
sudo docker pull fiware/orion
sudo docker network create fiware_default
sudo docker run -d --name=mongo-db --network=fiware_default
--expose=27017 mongo:3.6 --bind_ip_all --smallfiles
sudo docker run -d --name fiware-orion -h orion --network=fiware_default -p
1026:1026 fiware/orion -dbhost mongo-db
30
Example 3. Using example payloads of a data model
1. Just use this link (Weather observation)
2. Or this one (Device)
3. Proof of Concept to be extended
6. The Smart data Models Initiative. Users and
contributors.
31
32
Licensing Data Models
1. Preferred: Creative Commons 4.0
2. Apache 2.0 or other open licenses could be approved as long as they:
a. Recognise contributions
b. Allow free reuse of the data models
c. Do not impose other restrictions to use and adoption
3. Contributors has to fill a form to provide rights to the initiative for
releasing with those licenses (not losing their IPR)
33
Management of contributions
CONTRIBUTORS
● Anybody can contribute as long as he/she meets guidelines (for checking automation)
● Participation can be as individual or representing an organization
● Contributors are explicitly recognised and vote relevant changes and contributions
● Contribution has to be based on real use of the data model
● Contribution manual explains:
a. Options for contribution (PR, issue, form)
b. Link to the guidelines for contribution
c. Documents needed for a complete data model (reduction coming)
34
Roadmap
1. Dramatic increase in the # of data models (See incubated repo)
− Adaptation of existing standards (Cities, Agrifood, Manufacturing, Energy, Water,
Robotics, Smart Destinations, etc)
2. Engagement of additional relevant organizations and bodies
3. Automation tools for reducing the workload for contributors
− Automatic creation of examples
− Generation of payloads
− Help on data model generation and testing
4. Survey to users to get actual needs
5. Growth the community relying on the decentralized governance
Roadmap
35
Q & A
36
Thank you!
http://fiware.org
Follow @FIWARE on Twitter
contact:
alberto.abella@fiware.org

More Related Content

PDF
FIWARE Wednesday Webinars - NGSI-LD and Smart Data Models: Standard Access to...
PDF
Day 13 - Creating Data Processing Services | Train the Trainers Program
PPTX
Wirecloud hamburg kickoff
PDF
Session 8 - Creating Data Processing Services | Train the Trainers Program
PPTX
i4Trust Info-Sessions - Edition 1
PDF
Fiware overview
PPTX
i4Trust Info Sessions - Edition 3
PDF
FIWARE: Cross-domain concepts and technologies in domain Reference Architectures
FIWARE Wednesday Webinars - NGSI-LD and Smart Data Models: Standard Access to...
Day 13 - Creating Data Processing Services | Train the Trainers Program
Wirecloud hamburg kickoff
Session 8 - Creating Data Processing Services | Train the Trainers Program
i4Trust Info-Sessions - Edition 1
Fiware overview
i4Trust Info Sessions - Edition 3
FIWARE: Cross-domain concepts and technologies in domain Reference Architectures

What's hot (20)

PDF
FIWARE Wednesday Webinars - Architecting Your Smart Solution Using FIWARE
PDF
Session 1 - Introduction to i4Trust Data Spaces, building blocks, and roles |...
PDF
Business Boost Webinars - Introduction to SmartAgriHubs
PDF
FIWARE Global Summit - FIWARE Overview
PPTX
App Mashup GE: WireCloud - Startup Weekend
PDF
Session 4 - Bringing the pieces together - Detailed review of a reference ex...
PPTX
20181012 fiware at_construction_conference
PDF
Fiware overview3
PDF
FIWARE Data usage control
PPTX
FIWARE and Smart Data Models
PPTX
Design thinking For Developers (Nutanix)
PDF
Core Context Management
PDF
FIWARE Overview
PDF
FIWARE Identity Management and Access Control
PDF
FIWARE Global Summit - Exploring a New Opportunity in Data Economy: A Case of...
PDF
FIWARE Training: FIWARE Training: i4Trust Marketplace
PDF
FIWARE Global Summit - Idra: A Solution for Open Data Interoperability
PDF
Compliance made easy: Lynx webinar #1
PPTX
Building the Smart City Platform on FIWARE Lab
PDF
Introduction to FIWARE technology
FIWARE Wednesday Webinars - Architecting Your Smart Solution Using FIWARE
Session 1 - Introduction to i4Trust Data Spaces, building blocks, and roles |...
Business Boost Webinars - Introduction to SmartAgriHubs
FIWARE Global Summit - FIWARE Overview
App Mashup GE: WireCloud - Startup Weekend
Session 4 - Bringing the pieces together - Detailed review of a reference ex...
20181012 fiware at_construction_conference
Fiware overview3
FIWARE Data usage control
FIWARE and Smart Data Models
Design thinking For Developers (Nutanix)
Core Context Management
FIWARE Overview
FIWARE Identity Management and Access Control
FIWARE Global Summit - Exploring a New Opportunity in Data Economy: A Case of...
FIWARE Training: FIWARE Training: i4Trust Marketplace
FIWARE Global Summit - Idra: A Solution for Open Data Interoperability
Compliance made easy: Lynx webinar #1
Building the Smart City Platform on FIWARE Lab
Introduction to FIWARE technology
Ad

Similar to FIWARE Wednesday Webinars - Cities as Enablers of the Data Economy: Smart Data Models for Cities (20)

PPTX
Towards Digital Twin standards following an open source approach
PDF
Introduction to Smart Data Models
PPTX
SmartDataModelsProgramMasterPresentation.pptx
PDF
FIWARE Training: Introduction to Smart Data Models
PDF
FIWARE Wednesday Webinars - FIWARE Vision and Value Proposition
PDF
FIWARE Global Summit - The Digital Single Market - Benefits and Solutions for...
PDF
DW2020 Data Models - FIWARE Platform
PPTX
Introduction to FIWARE Open Ecosystem
PPT
Smart Cities and Big Data - Research Presentation
PPTX
The Open and Agile Smart Cities (OASC) initiative: from vision to execution
PPTX
FIWARE From Open Data to Open APIs
PPTX
Publishing Context Information as Open Data
PPTX
FIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open Cities
PPTX
FiWARE: transforming smart cities into engines of growth
PDF
FIWARE Global Summit - FIWARE Overview
PPTX
20171213 Future Internet: The forgotten Enabler for SmartCities
PPTX
FIWARE Wednesday Webinars - How to Get Context Data Out of Robots
PPTX
Open Data policy implementations: Creating economic value
PDF
PPTX
FIWARE: Transforming Smart Cities into engines of growth
Towards Digital Twin standards following an open source approach
Introduction to Smart Data Models
SmartDataModelsProgramMasterPresentation.pptx
FIWARE Training: Introduction to Smart Data Models
FIWARE Wednesday Webinars - FIWARE Vision and Value Proposition
FIWARE Global Summit - The Digital Single Market - Benefits and Solutions for...
DW2020 Data Models - FIWARE Platform
Introduction to FIWARE Open Ecosystem
Smart Cities and Big Data - Research Presentation
The Open and Agile Smart Cities (OASC) initiative: from vision to execution
FIWARE From Open Data to Open APIs
Publishing Context Information as Open Data
FIWARE MEXICO WorkShop 2016 - 3. FIWARE: Open APIs for Open Cities
FiWARE: transforming smart cities into engines of growth
FIWARE Global Summit - FIWARE Overview
20171213 Future Internet: The forgotten Enabler for SmartCities
FIWARE Wednesday Webinars - How to Get Context Data Out of Robots
Open Data policy implementations: Creating economic value
FIWARE: Transforming Smart Cities into engines of growth
Ad

More from FIWARE (20)

PPTX
Behm_Herne_NeMo_akt.pptx
PDF
Katharina Hogrebe Herne Digital Days.pdf
PPTX
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
PPTX
Behm_Herne_NeMo.pptx
PPTX
Evangelists + iHubs Promo Slides.pptx
PPTX
Lukas Künzel Smart City Operating System.pptx
PPTX
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
PPTX
Dennis Wendland_The i4Trust Collaboration Programme.pptx
PPTX
Ulrich Ahle_FIWARE.pptx
PPTX
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
PDF
Water Quality - Lukas Kuenzel.pdf
PPTX
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
PPTX
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
PPTX
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
PPTX
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
PDF
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
PDF
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
PPTX
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
PPTX
WE_LoRaWAN _ IoT.pptx
PPTX
EU Opp_Clara Pezuela - German chapter.pptx
Behm_Herne_NeMo_akt.pptx
Katharina Hogrebe Herne Digital Days.pdf
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
Behm_Herne_NeMo.pptx
Evangelists + iHubs Promo Slides.pptx
Lukas Künzel Smart City Operating System.pptx
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
Dennis Wendland_The i4Trust Collaboration Programme.pptx
Ulrich Ahle_FIWARE.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Water Quality - Lukas Kuenzel.pdf
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
WE_LoRaWAN _ IoT.pptx
EU Opp_Clara Pezuela - German chapter.pptx

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Modernizing your data center with Dell and AMD
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Empathic Computing: Creating Shared Understanding
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
PDF
Advanced IT Governance
PDF
KodekX | Application Modernization Development
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Monthly Chronicles - July 2025
Advanced methodologies resolving dimensionality complications for autism neur...
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
GamePlan Trading System Review: Professional Trader's Honest Take
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Modernizing your data center with Dell and AMD
Spectral efficient network and resource selection model in 5G networks
Empathic Computing: Creating Shared Understanding
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
MYSQL Presentation for SQL database connectivity
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology
Advanced IT Governance
KodekX | Application Modernization Development
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf

FIWARE Wednesday Webinars - Cities as Enablers of the Data Economy: Smart Data Models for Cities

  • 1. Cities as Enablers of the Data Economy: Smart Data Models for Cities 21-10-20 Alberto Abella Data modelling expert FIWARE Foundation
  • 3. Learning goals ▪ Assuming the economic relevance of the cities and how to develop this ecosystem for producing welfare for the citizens ▪ Understanding the need for standardization as the base for reducing costs for technology adoption ▪ The Smart Data Models initiative and how it will help you on your projects ▪ Understanding how to use smart data models and how to contribute to them 2 ● Citizen as consumer ● Citizen as user ● Citizen as creator ● Citizen as designer
  • 4. Index 1. The city as a data ecosystem for creating economic impact. 2. Context / Digital Twin Data Management in FIWARE. 3. Relevance of standardization. New approach. Open principle. 4. The Smart data Models Initiative. Structure. 5. The Smart data Models Initiative. Examples. 6. The Smart data Models Initiative. Users and contributors. 3
  • 5. 1. The city as a data ecosystem for creating economic impact. 4
  • 6. 5 FIWARE was created to ease solutions supporting the Smart Digital Life building around open standards for managing Context / Digital Twin Data that blurs the frontiers among application domains and enable the Data Economy SMART CITIES
  • 7. Digital Ecosystem 6 Smart city Digital Ecosystem. Source: Based on Abella, Ortiz-de-Urbina & De-Pablos (2015)
  • 8. Economic impact of data economy 7 Size of the Smart cities market Billions (pre Covid-19) Avg yearly growth: 20% Source: Mckinsey 2016
  • 9. 2. Context / Digital Twin Data Management in FIWARE. 8
  • 10. What are we referring to as Digital Twin? ▪ Digital Twin = Digital representation of an asset • Characterized by attributes □ Properties □ Relationships Linked Data • Values of attributes may change over time (or not) • Typically have a location (but it is not a must requirement) ▪ (digital representation of) Context = Digital Twins Collection ▪ Basis for the development of any Smart Solution: • Standard API for getting access to Digital Twin data (context) • Common Data Models associated to Digital Twin classes 9
  • 11. Modeling Context using Digital Twins for Cities … 10 Entities (Digital Twins) Bus • Location • # passengers • Driver • License plate Citizen • Birthday • Preferences • Location • ToDo list Incident / claim • Date • Location • Type • Issuer • Description Shop • Location • Business name • Franchise • offerings Attribute Process / Analyze / Monitor Digital Twin representation Context (Real World) capture actuate update notify / query
  • 12. Integration at multiple levels 11 Digital Twin representation Digital Twin representation Digital Twin representation Architecting Smart Solutions Integrating systems and data within organizations (system of systems) Sharing Data across organizations 3rd systems sensors Smart Solution System 3 System 4 System 1 System 2 Smart City Smart Building Smart Logistics Smart Grid
  • 13. NGSI: a standard API for accessing Context / Digital Twin data 12 Process / Analyze / Monitor Digital Twin representation Context (Real World) capture actuate update notify / query Application/Service FIWARE NGSI API (NGSIv2 → NGSI-LD) Bus • Location • No. passengers • Driver • Licence plate Citizen • Name-Surname • Birthday • Preferences • Location • ToDo list Shop • Location • Business name • Franchise • offerings Context Broker
  • 14. 3. Relevance of standardization. New approach. Open principle. 13
  • 15. NGSI API: Endorsement at global level 14 TM Forum supports FIWARE NGSI for real-time access to context information in cities TM Forum and FIWARE collaborate in development of data marketplace platform components TM Forum and FIWARE also collaborate in definition of common smart data models in collaboration with cities ETSI created Jan 2017 an Industry Specification Group (ISG CIM) for defining a Context Information Management API FIWARE NGSIv2 provided the basis for the NGSI-LD specs published by ETSI FIWARE provides several open source implementations of ETSI NGSI-LD The FIWARE Context Broker Technology has been selected as a new CEF (Connecting Europe Facility) Building Block recommended to public and private sector for publication of right-time context data The European Data portal will support the publication of right-time Open Data The GSMA has published a Reference Architecture for IoT Big Data Ecosystem which recommends to mobile operators NGSI-LD plays the core role in the defined Reference Architecture
  • 16. Approach to data models. ‘De facto’ standardization. 15 Concept Classic De-facto Standardization body Stable and fully-dedicated entity → DIN Unstable or not fully dedicated → Fiware foundation Standardization groups Extended and Balanced members from relevant and interested actors Interested users and developers with expertise on the field Consensus mechanisms Global Reviews by participants By contribution and Benevolent dictator Prestige of standards By source entity By use of the results Advantages Low-biased standards. Coherence with former standardizations Predictable reviews Funding based on standard costs and members fees Standard created together with implementation Evolution by use Quick reviews Low cost Disadvantages Creation of theoretical standards (never implemented) Slow reviews Standardization hardly support costs Potential biased standards Low barriers to Potential competitors
  • 17. 4. The Smart Data Models Initiative. Structure. 16
  • 18. And what will happen to the data models you use when …. Scenario: Imagine you have to create data models for the development o integration of a service / application What will happen to the data models you use when ▪ … your project ends. ▪ … you have to update it. ▪ … you were asked to make it interoperable with other/new initiatives? ▪ … you need to update it to new regulations / standards? Wouldn’t be more efficient and useful to do it together? 17
  • 19. ▪ A community site with detailed data models available for open use for multiple sectors ▪ Together with other relevant organizations in the curation of the different domains and subjects ▪ Providing coherence and consistency between data models across different domains ▪ To create a method for AGILE standardization and evolution these data models ▪ To provide extended usefulness to FIWARE platform users in terms of: − Extended interoperability − Reduced time dedicated to data model codying − Accumulated experience tested in real case scenarios − Mapped to be integrated with other platforms ▪ Using open licensing to allow extensive use and adoption ▪ Used in real case scenarios (and based on real use cases) ▪ Based on git platform and github as development frontend ▪ Consensus as main decision method ▪ Based on widely adopted standards (including ontologies and international schemas, i.e. schema.org) Principles of Smart data models initiative 18
  • 20. GITHUB http://github.com/smart-data-models - Oriented to developers - All resources available - Contribution by PR - Issues on data models SITE (Wordpress) http://smartdatamodels.org - Oriented to end users - News on updates (subscription) - Check attributes and enumerations Structure: Webs 19
  • 21. data-models Umbrella repo Cross Sector Smart Manufacturing Subject NSubject 1 Smart Water Smart Robotics Smart Agrifood Smart Cities Smart Environment Smart Destinations Smart Sensoring Subject 2 Subject 3 Subject 4 DOMAINS REPOSITORIES Readme pointing to the list of subjects General info or shared resources DATA-MODELS - Guides for coding new data models - Template for new data models and examples - Directory for scripting tools to check data models - Inventory of domains and data models - Inventory of attributes and terms - @Context for json-ld SUBJECTS’ REPOSITORIES Readme pointing to the list of data models for the objects Contributors.md subject-schema.json DATA MODELS README.md /doc/spec.md /examples schema.json Current Adopters Structure: domains and subjects compile data models 20
  • 22. - Global data about the initiative ○ List of data models ○ List of attributes ○ Required attributes - Domains’ repositories - Updated daily to the last commit of Subjects - Free contribution repo - Under request Domain repositories and others. http://github.com/smart-data-models/specs Structure: Github. Domains 21
  • 23. - Subjects as submodules of the Domain - Updated daily to last commit - Data models in the subject Domain repositories and others. https://github.com/smart-data-models/SmartCities - Shared elements for all the Data models in the subject Structure: Github. Domains 22
  • 24. - Agreement for release data models with open license - Contact options - Presentation on the governance of the initiative - Tools & links for learning about data modelling - Manual submission of data model (with help) - Newslists on different Domains - News updates on the data models - Document for future contributors to data models - List of data models - Attributes database - Coding instructions Frontpage. https://smartdatamodels.org Structure: WP 23
  • 25. Subscriptions: http://smartdatamodels.org/index.php/subscriptions-page/ Frontpage 1 list per domain 1 mail a week (unless very important changes) Structure: WP 24 News: https://smartdatamodels.org/index.php/news/
  • 26. 5. The Smart data Models Initiative. Examples. 25
  • 28. 27 Example 1. Look for an attribute for your data model 1. Look for a parameter into the attributes database (i.e. light) 2. Explore the different data models related 3. Review the specification
  • 29. Attributes and enumerations database ▪ Front page of https://smartdatamodels.org ▪ Searchable in > 3000 terms ▪ Across all data model ▪ Immediate answer and link to the schema 28
  • 30. 29 Example 2. Creating an entity on NGSI and other systems 1. Browse github till retrieve GTFS trip payload (json) 2. Open editor to run the queries into a NGSI engine 3. Get example csv (raw) 4. Convert into SQL 5. Create a SQL database into a DB editor By -stk - Own work, CC0, https://commons.wikimedia.org/w/index.php?curid=47287176 sudo docker pull mongo:3.6 sudo docker pull fiware/orion sudo docker network create fiware_default sudo docker run -d --name=mongo-db --network=fiware_default --expose=27017 mongo:3.6 --bind_ip_all --smallfiles sudo docker run -d --name fiware-orion -h orion --network=fiware_default -p 1026:1026 fiware/orion -dbhost mongo-db
  • 31. 30 Example 3. Using example payloads of a data model 1. Just use this link (Weather observation) 2. Or this one (Device) 3. Proof of Concept to be extended
  • 32. 6. The Smart data Models Initiative. Users and contributors. 31
  • 33. 32 Licensing Data Models 1. Preferred: Creative Commons 4.0 2. Apache 2.0 or other open licenses could be approved as long as they: a. Recognise contributions b. Allow free reuse of the data models c. Do not impose other restrictions to use and adoption 3. Contributors has to fill a form to provide rights to the initiative for releasing with those licenses (not losing their IPR)
  • 34. 33 Management of contributions CONTRIBUTORS ● Anybody can contribute as long as he/she meets guidelines (for checking automation) ● Participation can be as individual or representing an organization ● Contributors are explicitly recognised and vote relevant changes and contributions ● Contribution has to be based on real use of the data model ● Contribution manual explains: a. Options for contribution (PR, issue, form) b. Link to the guidelines for contribution c. Documents needed for a complete data model (reduction coming)
  • 36. 1. Dramatic increase in the # of data models (See incubated repo) − Adaptation of existing standards (Cities, Agrifood, Manufacturing, Energy, Water, Robotics, Smart Destinations, etc) 2. Engagement of additional relevant organizations and bodies 3. Automation tools for reducing the workload for contributors − Automatic creation of examples − Generation of payloads − Help on data model generation and testing 4. Survey to users to get actual needs 5. Growth the community relying on the decentralized governance Roadmap 35