12
Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie Mellon University Silicon Valley Ralph Hodgson, Gokhan Soydan, Ankur Oberai TopQuadrant Grid-Interop 2012

Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

Using SPARQL/OWL for Validation of Smart Grid Standards

Semantic Harmonization of Smart Grid Concepts

1

Surbhi Dangi, Steven Ray Carnegie Mellon University Silicon Valley

Ralph Hodgson, Gokhan Soydan, Ankur Oberai

TopQuadrant Grid-Interop 2012

Page 2: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

• How to reconcile vocabularies, concepts and relations among all the smart grid standards?

Challenges

2

• Overlapping, different and sometimes contradictory vocabularies and definitions among standards

Grid-Interop 2012

Page 3: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

Convert standard specification Demonstrate a web app for

easy interrogation

Using the ASHRAE/NEMA Facilities Smart Grid Model (FSGIM)

Approach: STEP#1

3

Convert standard specification

into RDF, OWLeasy interrogation of the model by the standardization

community

Expose inconsistencies among concepts in different standards to

harmonize terms

Grid-Interop 2012

Page 4: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

STEP#1: Converting the UML Model to OWL

Export XMI from Enterprise Architect

AUTOMATED PROCESS

IMPORT DATA

Interpretation into OWL using SPARQLMotion scripts

4

4 core FSGIM components: Energy Manager | Generator | Load | Meter

Common Primitive Types, Classes and Enumerations

Use Case Information

All referenced external classes (from other standards - Energy Interoperation, EMIX, WS-Calendar, WXXM, IEC 61850, NAESB EUI)

IMPORT DATA

Grid-Interop 2012

Page 5: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

Convert standard specification Demonstrate a web app for

easy interrogation

Using the ASHRAE/NEMA Facilities Smart Grid Model (FSGIM)

Approach: STEP#2

5

Convert standard specification

into RDF, OWLeasy interrogation of the model by the standardization

community

Expose inconsistencies among concepts in different standards to

harmonize terms

Grid-Interop 2012

Page 6: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

STEP#2: Developing a Web App

http://fsgim.sv.cmu.edu

TopBraid Live on AWS

Tomcat

SPARQL Query Editor

ARCHITECTURE

6

Amazon Web Server (AWS)

Tomcat

http://fsgim.sv.cmu.eduSPARQL QUERY EDITOR

Grid-Interop 2012

Page 7: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

Convert standard specification Demonstrate a web app for

easy interrogation

Using the ASHRAE/NEMA Facilities Smart Grid Model (FSGIM)

Approach: STEP#3

7

Convert standard specification

into RDF, OWLeasy interrogation of the model by the standardization

community

Expose inconsistencies among concepts in different standards to

harmonize terms

Grid-Interop 2012

Page 8: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

STEP#3: Querying the Transformed Model

Sample Query: Datatypes not inheriting from standards

Revision 1666: 30 non-conforming datatype declarations

8

Revision 1698*: 0 datatype errors

*Revision 1698: Advisory Public Review Revision of FSGIM

Grid-Interop 2012

Page 9: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

STEP#3: Querying the Transformed Model

Sample Query: All datatypes inheriting from standard definitions or

the Common Primitive Types (Revision 1666)

9

Revision 1666: 34 properly defined datatypes occurrences of 12 distinct datatypes Grid-Interop 2012

Page 10: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

STEP#3: Querying the Transformed Model

Sample Query: All datatypes inheriting from standard definitions or

the Common Primitive Types (Revision 1698)

10

Revision 1698: 53 properly defined datatypes occurrences of 8 distinct datatypes Grid-Interop 2012

Page 11: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

What is possible now:Simple way of Quality Checking a model

Other Possibilities:

What is possible now -

11

Refactoring the model Pruning the model Reconciling vocabularies, concepts and relations among

all Smart Grid Information Standards

Grid-Interop 2012

Page 12: Using SPARQL/OWL for Validation of Smart Grid …Using SPARQL/OWL for Validation of Smart Grid Standards Semantic Harmonization of Smart Grid Concepts 1 Surbhi Dangi, Steven Ray Carnegie

Build an interactive UI using SPARQL web pages

Enhance the sophistication of queries

Future Work

12

Enhance the sophistication of queries

Check for compliance with dos-and-don’ts in the model

Grid-Interop 2012