© Copyright IBM Corporation 2014 Getting started with Rational Engineering Lifecycle Manager queries Andy Lapping – Technical sales and solutions Joanne.

Slides:



Advertisements
Similar presentations
DCMI Workshop on Metadata and Search Vendor Panel Presentation Bradley P. Allen
Advertisements

Digital Repositories – Linked Open Data – the possible Role of D4Science Workshop, December 2010, FAO use cases A tool to create Linked Data providers.
® IBM Software Group © 2010 IBM Corporation Rational Publishing Engine and Rational Change configuration Francisco López Minaya Rational Technical Solution.
OSLC Resource Shape: A Linked Data Constraint Language Arthur Ryman & Achille Fokoue, IBM W3C RDF Validation Workshop, Cambridge,
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
An introduction to RDF and library linked data Gordon Dunsire Presented at the Dewey Decimal Classification Executive Briefing 15 Sep 2011, London.
Lukas Blunschi Claudio Jossen Donald Kossmann Magdalini Mori Kurt Stockinger.
© Copyright 2012 STI INNSBRUCK Apache Lucene Ioan Toma based on slides from Aaron Bannert
The Semantic Web – WEEK 4: RDF
Introduction to RDF Based on tutorial at
1 RDF Tutorial. C. Abela RDF Tutorial2 What is RDF? RDF stands for Resource Description Framework It is used for describing resources on the web Makes.
XML Technology in E-Commerce
RDF – RESOURCE DESCRIPTION FRAMEWORK Antonio Bucchiarone FBK-IRST Trento, Italy 20 Novembre 2009.
RDFa: Embedding RDF Knowledge in HTML Some content from a presentation by Ivan Herman of the W3c, Introduction to RDFa, given at the 2011 Semantic Technologies.
Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim
ESDSWG2011 – Semantic Web session Semantic Web Sub-group Session ESDSWG 2011 Meeting – Semantic Web sub-group session Wednesday, November 2, 2011 Norfolk,
RDF Tutorial.
Semantic Web Introduction
Linked Data for Libraries, Archives, Museums. Learning objectives Define the concept of linked data State 3 benefits of creating linked data and making.
 Copyright 2004 Digital Enterprise Research Institute. All rights reserved. SPARQL Query Language for RDF presented by Cristina Feier.
SPARQL RDF Query.
Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.
Ontology Notes are from:
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Introduction to SQL Programming Techniques.
Semantic Search Jiawei Rong Authors Semantic Search, in Proc. Of WWW Author R. Guhua (IBM) Rob McCool (Stanford University) Eric Miller.
Dr. Alexandra I. Cristea RDF.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Linked Data Best Practices (and Abuses) Lessons Learned in IBM Rational Arthur Ryman
MDC Open Information Model West Virginia University CS486 Presentation Feb 18, 2000 Lijian Liu (OIM:
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Rationale Aspiring Database Developers should be able to efficiently query and maintain databases. This module will help students learn the Structured.
OracleAS Reports Services. Problem Statement To simplify the process of managing, creating and execution of Oracle Reports.
Logics for Data and Knowledge Representation
The Semantic Web Web Science Systems Development Spring 2015.
Not Just For Data Geeks! A Practical Approach to Linked Data for Digital Library Managers Cory Lampert and Silvia Southwick Salt Lake City October 9, 2013.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
Master Informatique 1 Semantic Technologies Part 11Direct Mapping Werner Nutt.
SPARQL All slides are adapted from the W3C Recommendation SPARQL Query Language for RDF Web link:
CC L A W EB DE D ATOS P RIMAVERA 2015 Lecture 2: RDF Model & Syntax Aidan Hogan
Power Designer Sybase.
Integrating Modeling Tools in the Development Lifecycle with OSLC Miami, October 2013 Adam Neal (Presenter) Maged.
RDF and XML 인공지능 연구실 한기덕. 2 개요  1. Basic of RDF  2. Example of RDF  3. How XML Namespaces Work  4. The Abbreviated RDF Syntax  5. RDF Resource Collections.
Semantic Web Programming in Python an Introduction Biju B Jaganath G.
Semantic Web Exam 1 Review.
1 SPARQL A. Emrah Sanön. 2 RDF RDF is quite committed to Semantic Web. Data model Serialization by means of XML Formal semantics Still something is missing!
Common Terminology Services 2 CTS 2 Submission Team Status Update HL7 Vocabulary Working Group May 17, 2011.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Understanding RDF. 2/30 What is RDF? Resource Description Framework is an XML-based language to describe resources. A common understanding of a resource.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
KAnOE: Research Centre for Knowledge Analytics and Ontological Engineering Managing Semantic Data NACLIN-2014, 10 Dec 2014 Dr. Kavi Mahesh Dean of Research,
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Chapter 04 Semantic Web Application Architecture 23 November 2015 A Team 오혜성, 조형헌, 권윤, 신동준, 이인용.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe.
© 2013 IBM Corporation IBM Rational Solution for Systems and Software Engineering SSE Integrations.
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
SysML v2 Model Interoperability & Standard API Requirements Axel Reichwein Consultant, Koneksys December 10, 2015.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
Linked Data Competency Index
SPARQL.
Keyword Search over RDF Graphs
Middleware independent Information Service
Miguel Azurin, Andrew Engroff, Ahmad Sadiq
SQL Server 2000: Integration with AD and E2K
CC La Web de Datos Primavera 2016 Lecture 2: RDF Model & Syntax
Lu Xing CS59000GDM Sept 7th, 2018.
LOD reference architecture
Semantic-Web, Triple-Strores, and SPARQL
Linked Data 101 Things, URIs, RDF, Triples, Turtle, Ontologies, Vocabularies and SPARQL Linked Data is our Implementation choice for FAIR.
Presentation transcript:

© Copyright IBM Corporation 2014 Getting started with Rational Engineering Lifecycle Manager queries Andy Lapping – Technical sales and solutions Joanne Scouler – Curriculum architect

2 © Copyright IBM Corporation 2014 Agenda Linked data and Open Services for Lifecycle Collaboration (OSLC) The information model Basic concepts and terminology Linked data RDF Triples SPARQL Creating queries– live demo

3 © Copyright IBM Corporation 2014 Resources OSLC resources: Introduction to Linked Data and OSLCIntroduction to Linked Data and OSLC by Amanda Brijpaul Linked DataLinked Data by Ben Williams Linked Data InterfacesLinked Data Interfaces by Arthur Ryman REST resources: DeveloperWorks REST resourcesDeveloperWorks REST resources – The Basics Learn about rest web services RDF, TRS, SPARQL, LQE-

4 © Copyright IBM Corporation 2014 Rational engineering lifecycle manager Transition to a unified view on project, program & account info It is about accessing related information in job related tools across the information base to increase the collective wisdom Analysts Quality Professionals Release Engineers Developers Architects Project Managers

5 © Copyright IBM Corporation 2014 Linked data in Rational engineering lifecycle manager Electrical Design Mechanical Design / PDM Embedded Software Design about HTTP/REST Requirements Test Architecture Change Products The Web has proven to be the most scalable, open, and flexible integration technology

6 © Copyright IBM Corporation 2014 OSLC links Link directly between tools – no need to import or duplicate data

7 © Copyright IBM Corporation 2014 Demo linked data

8 © Copyright IBM Corporation 2014 Data is indexed in Rational engineering lifecycle manager An index of tracked resources is created from domain tools that allows for cross-domain Lifecycle Queries Lifecycle Query Engine (Index)

9 © Copyright IBM Corporation 2014 The information model  What information do you want to find with a query?  Know your information model  Know how your linkages are set up  What do you need to know before writing a query?

10 © Copyright IBM Corporation 2014 Learning the language RDF – Resource Description Framework  A general purpose language for representing information in the web SPARQL - SPARQL Protocol and RDF Query Language  A query language for RDF TRS – Tracked Resource Set  TRS is an OSLC specification that allows server applications to make their resources and changes available to client applications. LQE – The Lifecycle Query Engine  A TRS client application

11 © Copyright IBM Corporation 2014 Running queries  Query results available in http format  Pipes (XML) data to Rational Reporting for Document Generation (RRDG) / Rational Publishing Engine (RPE)

12 © Copyright IBM Corporation 2014 Basic concept: triples A triple defines a relationship between things:  Subject – A uniquely identified thing  Predicate (also called property) – Some attribute of the subject – Denotes a relationship  Object – The actual value

13 © Copyright IBM Corporation 2014 Triples Examples: subject object predicate subject object predicate

14 © Copyright IBM Corporation 2014 RDF triples An RDF triple is sometimes called a statement  Every piece of an RDF triple can have a URL  Commonly referred to as a resource SP O

15 © Copyright IBM Corporation 2014 RDF triples form graphs A set of triples is called an RDF graph  Graphs have nodes and edges  An RDF database is sometimes called a triple store Node Edge

16 © Copyright IBM Corporation 2014 Types of node Resource node  A thing with a URL with links – Commonly represented as an oval Blank node  A resource with no URL with links Literal node  A value (strings, dates) - no URL and no links – Commonly represented as a rectangle An edge can go from any Node to any other Node. Exception: An edge cannot go from a Literal

17 © Copyright IBM Corporation 2014 Triple patterns A triple pattern is like an RDF triple – except that each of the S,P,O may be a variable (denoted by a preceding ? symbol) ?resource rdf:type oslc_qm:TestCase. Variable Variables are like a wildcard – they match any node – resource or literal. The period terminates the statement We will discuss what rdf:type and oslc_qm:TestCase mean in a moment

18 © Copyright IBM Corporation 2014 RDF vocabularies In order for ‘anything’ to connect to ‘anything else’ – there must be some common language.  An RDF Vocabulary is the set of URLs for the resources in the graph ?resource From the OSLC Quality Management Vocabulary From the standard RDF vocabulary

19 © Copyright IBM Corporation 2014 Prefixes Prefixes are used in SPARQL to allow queries to be shortened (instead of writing the full URL to the resource)  The following queries are equivalent ?uri ?tests_cr. PREFIX oslc_qm: ?uri oslc_qm:testsChangeRequest?tests_cr. SPO SPO

20 © Copyright IBM Corporation 2014 Anatomy of a query PREFIX oslc_qm: PREFIX dcterms: PREFIX rdf: SELECT ?uri WHERE { ?uri rdf:type oslc_qm:TestCase. } SELECT ?variable ?variable Identifies the variables to appear in the results (this is called projection) Each projected variable will be a column in the results table SELECT * will display all variables specified in the WHERE clause WHERE { basic graph pattern } Identifies the basic graph pattern to match against the data pattern

21 © Copyright IBM Corporation 2014 A simple query with results PREFIX oslc_qm: PREFIX dcterms: PREFIX rdf: SELECT ?uri WHERE { ?uri rdf:type oslc_qm:TestCase. } Pattern matches Projected ?uri variable

22 © Copyright IBM Corporation 2014 Queries

23 © Copyright IBM Corporation 2014 Creating a query When a query is created some sample SPARQL is added Although this can be executed the results will mean very little

24 © Copyright IBM Corporation 2014 Create queries demo

25 © Copyright IBM Corporation 2014 Appendix

26 © Copyright IBM Corporation 2014 Blank nodes in Rhapsody Using this technique we can discover how to extract various resources in Rhapsody Some may have multiple blank nodes to traverse