SlideShare a Scribd company logo
smartAPI: Towards a
More Intelligent Network
of Web APIs
Amrapali Zaveri
1ESWC In-Use 2017 31st May,2017
@AmrapaliZ
Web APIs
Application Programming Interfaces (APIs)
2
Challenges in Web APIs
• Lack of rich metadata — creation and reuse
• Lack of tools to semantically annotate APIs
• Unable to automatically discover how APIs connect
with each other
3
Related Work
• Finding APIs
• collection of useful code, data & documentation
• Reusing APIs
• server, client-side code, interface, integration
• API annotations for developers
• WSDL, Swagger (OpenAPI)
• Descriptions for automated clients
• SAWSDL , OWL-S, (Micro)WSMO, hRESTS, SA-REST, Hydra,
RESTdesc, ReLL
4
smartAPI Ecosystem
5
The FAIR Guiding Principles for scientific data management and stewardship:
https://www.nature.com/articles/sdata201618
API providers (authors)
Intelligent (data-driven) annotation
of APIs
API Users
A web application to discover
APIs and how they connect
to each other
API Metadata Survey —
in the Wild
6
schema.org/
APIReference
Minimal Information
about a Software
Specifications
smartAPI specification
prototype
Repositories
17,406 APIs
1,187 APIs
6,206 APIs
15,128 APIs
Survey of API Metadata
— Analysis
• Common metadata elements
• Unique metadata elements
• Coverage
• Cardinality
• Datatype
• Strength of recommendation (MUST, SHOULD,
MAY, NOT)
7
API Metadata Survey —
Results
54 Metadata Elements
• MUST - 13
• SHOULD - 19
• MAY – 22
• NOT - 9
5 categories
• API metadata – 20
• Service Provider metadata – 6
• API Operation metadata – 10
• Operation Parameter metadata – 12
• Operation Response metadata – 6
8
Survey available at:
https://goo.gl/wKR51W
API Metadata Survey —
Elements
9
• Name (Must)
• Access Point (Must)
• Description (Should)
• Category (May)
API Metadata
• Responsible Organization (Must)
• Responsible Developer (Must)
• Funding (May)
• Developer Forum (May)
Service Provider
• Operation Title (Must)
• http Method (Should)
• Transfer Protocol (Should)
• Keywords (May)
API Operation
• Response Format (Must)
• Example Response Value (Should)
• Response Description (Should)
• Response Data Type (May)
Operation Response
• Operation Name (Must)
• Parameter Type (Should)
• Parameter Value Type (Should)
• Default Value (May)
Operation Parameter
smartAPI Specification
https://websmartapi.github.io/smartapi_specification/
10
smartAPI Ecosystem
11smart-api.info
Swagger Editor with
Open API Validation
12http://swagger.io/
smartAPI Editor
13http://smart-api.info/editor/
smartAPI Editor Features
14
Field auto-suggestion Value auto-suggestion
http://smart-api.info/editor/
Semantic Annotation of
Parameter Values
15
identifiers.org URIs are suggested to
semantically annotate parameterValueType
http://smart-api.info/editor/
smartAPI Profiler
16
The profiler opens within the editor,
once the user wants to annotate response data
http://smart-api.info/editor/
Semantic Annotation
of Response Data
17
responseDataType is automatically
annotated by the profiler, within the editor
http://smart-api.info/editor/
smartAPI Registry
18
http://smart-api.info/registry/
smartAPI Registry
19
http://smart-api.info/registry/
smartAPI Use Case
20
Given a gene, find other genes involved in the same pathway
and find the candidate small molecules with these genes as
the perturbation targets
mygene.info
Input gene
mygene.info
pathway
mygene.info
genes involved
in the pathway
smart-api.info
smartAPI Use Case
21
Given a gene, find other genes involved in the same pathway
and find the candidate small molecules with these genes as
the perturbation targets
mygene.info
Input gene
mygene.info
pathway
mygene.info
genes involved
in the pathway
list of “active” perturbagens &
their associated bioassay dataset IDs
http://lincsportal.ccs.miami.edu/apis/
smart-api.info
smartAPI Use Cases
22
• MyVariant.info (annotated)
• Rat Genome Database
• BD2K PIC-SURE HTTP API
• Alliance of Genome Resources
img source: http://www.wauchopeshowsociety.com.au/images/sl_website-under-construction.jpeg
smart-api.info
• smartAPI Specification — 54 API metadata elements
to describe APIs
• smartAPI Editor — composition, semantic annotation
and validation of API metadata
• smartAPI Profiler — automatically annotate the API
response data with semantic identifiers
• smartAPI Registry — submit, search, and browse API
descriptions and obtain field-specific metadata
suggestions
Conclusions
23
smart-api.info
• Upgrade to openAPI v3
• Export functionality to other repositories
• Providing API descriptions as JSON-LD
• Improving registry interface
Future Work
24
smart-api.info
Acknowledgements
• Michel Dumontier
• Shima Dastgheib
• Chunlei Wu
• Trish Whetzel
• Ruben Verborgh
• Paul Avillach
• Gabor Korodi
• Raymond Terryn
• Kathleen Jagodnik
• Pedro Assis
• Gregg Kellogg
• Mark Wilkinson
• Jeff De Pons
• Denise Luna
25
NIH Commons Big Data to Knowledge (BD2K) API Interoperability Working Group
smart-api.info
Thank You!
Questions?
26
smart-api.info
@AmrapaliZamrapali.zaveri@maastrichtuniversity.nl

More Related Content

Similar to smartAPI: Towards a more intelligent network of Web APIs (20)

PDF
Extend soa with api management Sangam18
Vinay Kumar
 
PPTX
Adding Rules on Existing Hypermedia APIs
Michael Petychakis
 
PPTX
Intro to Strapi 4
Shadi Akil
 
PPTX
RESTful web APIs (build, document, manage)
Cisco DevNet
 
PDF
API Testing Interview Questions PDF By ScholarHat
Scholarhat
 
PPTX
Austin API Summit 2018: Are REST APIs Still Relevant Today?
LaunchAny
 
PPTX
Are REST APIs Still Relevant Today?
Nordic APIs
 
PPTX
Apiary
Suresh B
 
PDF
Ultimate Guide to 30+ API Documentation Solutions
Bill Doerrfeld
 
PPTX
Arabidopsis Information Portal overview from Plant Biology Europe 2014
Matthew Vaughn
 
PDF
Reverse Engineering API - A Solution for Unlocking Restricted Data.pdf
Real Data API
 
PDF
REST APIs
Arthur De Magalhaes
 
PPTX
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
Anil Sagar
 
PPTX
API Services: Building State-of-the-Art APIs
Apigee | Google Cloud
 
PDF
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat
 
PDF
API Marketing: First Comes Usability, Then Discoverability
Bill Doerrfeld
 
PDF
What is SAP API Management_.pdf
BilawalAmeen
 
PDF
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
Jitendra Bafna
 
PDF
how to extract api from websites learn more
luciferr3111
 
PPTX
Extend soa with api management spoug- Madrid
Vinay Kumar
 
Extend soa with api management Sangam18
Vinay Kumar
 
Adding Rules on Existing Hypermedia APIs
Michael Petychakis
 
Intro to Strapi 4
Shadi Akil
 
RESTful web APIs (build, document, manage)
Cisco DevNet
 
API Testing Interview Questions PDF By ScholarHat
Scholarhat
 
Austin API Summit 2018: Are REST APIs Still Relevant Today?
LaunchAny
 
Are REST APIs Still Relevant Today?
Nordic APIs
 
Apiary
Suresh B
 
Ultimate Guide to 30+ API Documentation Solutions
Bill Doerrfeld
 
Arabidopsis Information Portal overview from Plant Biology Europe 2014
Matthew Vaughn
 
Reverse Engineering API - A Solution for Unlocking Restricted Data.pdf
Real Data API
 
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
Anil Sagar
 
API Services: Building State-of-the-Art APIs
Apigee | Google Cloud
 
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat
 
API Marketing: First Comes Usability, Then Discoverability
Bill Doerrfeld
 
What is SAP API Management_.pdf
BilawalAmeen
 
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
Jitendra Bafna
 
how to extract api from websites learn more
luciferr3111
 
Extend soa with api management spoug- Madrid
Vinay Kumar
 

More from Amrapali Zaveri, PhD (16)

PDF
Data Quality and the FAIR principles
Amrapali Zaveri, PhD
 
PDF
Workshop on Data Quality Management in Wikidata
Amrapali Zaveri, PhD
 
PDF
ESOF Panel 2018
Amrapali Zaveri, PhD
 
PDF
CrowdED: Guideline for optimal Crowdsourcing Experimental Design
Amrapali Zaveri, PhD
 
PDF
MetaCrowd: Crowdsourcing Gene Expression Metadata Quality Assessment
Amrapali Zaveri, PhD
 
PDF
Introduction to Bio SPARQL
Amrapali Zaveri, PhD
 
PDF
Crowdsourcing Linked Data Quality Assessment
Amrapali Zaveri, PhD
 
PDF
Linked Data Quality Assessment: A Survey
Amrapali Zaveri, PhD
 
PDF
Amrapali Zaveri Defense
Amrapali Zaveri, PhD
 
PDF
LDQ 2014 DQ Methodology
Amrapali Zaveri, PhD
 
PDF
TripleCheckMate
Amrapali Zaveri, PhD
 
PDF
Towards Biomedical Data Integration for Analyzing the Evolution of Cognition
Amrapali Zaveri, PhD
 
PDF
User-driven Quality Evaluation of DBpedia
Amrapali Zaveri, PhD
 
PDF
Converting GHO to RDF
Amrapali Zaveri, PhD
 
KEY
ReDD-Observatory
Amrapali Zaveri, PhD
 
Data Quality and the FAIR principles
Amrapali Zaveri, PhD
 
Workshop on Data Quality Management in Wikidata
Amrapali Zaveri, PhD
 
ESOF Panel 2018
Amrapali Zaveri, PhD
 
CrowdED: Guideline for optimal Crowdsourcing Experimental Design
Amrapali Zaveri, PhD
 
MetaCrowd: Crowdsourcing Gene Expression Metadata Quality Assessment
Amrapali Zaveri, PhD
 
Introduction to Bio SPARQL
Amrapali Zaveri, PhD
 
Crowdsourcing Linked Data Quality Assessment
Amrapali Zaveri, PhD
 
Linked Data Quality Assessment: A Survey
Amrapali Zaveri, PhD
 
Amrapali Zaveri Defense
Amrapali Zaveri, PhD
 
LDQ 2014 DQ Methodology
Amrapali Zaveri, PhD
 
TripleCheckMate
Amrapali Zaveri, PhD
 
Towards Biomedical Data Integration for Analyzing the Evolution of Cognition
Amrapali Zaveri, PhD
 
User-driven Quality Evaluation of DBpedia
Amrapali Zaveri, PhD
 
Converting GHO to RDF
Amrapali Zaveri, PhD
 
ReDD-Observatory
Amrapali Zaveri, PhD
 
Ad

Recently uploaded (20)

PPTX
CONVULSIVE DISORDERS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PDF
1, 2, 3… E MAIS UM CICLO CHEGA AO FIM!.pdf
Colégio Santa Teresinha
 
PPTX
LEGAL ASPECTS OF PSYCHIATRUC NURSING.pptx
PoojaSen20
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
PDF
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
PPTX
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
PDF
The-Beginnings-of-Indian-Civilisation.pdf/6th class new ncert social/by k san...
Sandeep Swamy
 
PPTX
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
PPTX
Nutri-QUIZ-Bee-Elementary.pptx...................
ferdinandsanbuenaven
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
PPTX
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
CONVULSIVE DISORDERS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
community health nursing question paper 2.pdf
Prince kumar
 
1, 2, 3… E MAIS UM CICLO CHEGA AO FIM!.pdf
Colégio Santa Teresinha
 
LEGAL ASPECTS OF PSYCHIATRUC NURSING.pptx
PoojaSen20
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
The-Beginnings-of-Indian-Civilisation.pdf/6th class new ncert social/by k san...
Sandeep Swamy
 
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
Nutri-QUIZ-Bee-Elementary.pptx...................
ferdinandsanbuenaven
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
Ad

smartAPI: Towards a more intelligent network of Web APIs

  • 1. smartAPI: Towards a More Intelligent Network of Web APIs Amrapali Zaveri 1ESWC In-Use 2017 31st May,2017 @AmrapaliZ
  • 2. Web APIs Application Programming Interfaces (APIs) 2
  • 3. Challenges in Web APIs • Lack of rich metadata — creation and reuse • Lack of tools to semantically annotate APIs • Unable to automatically discover how APIs connect with each other 3
  • 4. Related Work • Finding APIs • collection of useful code, data & documentation • Reusing APIs • server, client-side code, interface, integration • API annotations for developers • WSDL, Swagger (OpenAPI) • Descriptions for automated clients • SAWSDL , OWL-S, (Micro)WSMO, hRESTS, SA-REST, Hydra, RESTdesc, ReLL 4
  • 5. smartAPI Ecosystem 5 The FAIR Guiding Principles for scientific data management and stewardship: https://www.nature.com/articles/sdata201618 API providers (authors) Intelligent (data-driven) annotation of APIs API Users A web application to discover APIs and how they connect to each other
  • 6. API Metadata Survey — in the Wild 6 schema.org/ APIReference Minimal Information about a Software Specifications smartAPI specification prototype Repositories 17,406 APIs 1,187 APIs 6,206 APIs 15,128 APIs
  • 7. Survey of API Metadata — Analysis • Common metadata elements • Unique metadata elements • Coverage • Cardinality • Datatype • Strength of recommendation (MUST, SHOULD, MAY, NOT) 7
  • 8. API Metadata Survey — Results 54 Metadata Elements • MUST - 13 • SHOULD - 19 • MAY – 22 • NOT - 9 5 categories • API metadata – 20 • Service Provider metadata – 6 • API Operation metadata – 10 • Operation Parameter metadata – 12 • Operation Response metadata – 6 8 Survey available at: https://goo.gl/wKR51W
  • 9. API Metadata Survey — Elements 9 • Name (Must) • Access Point (Must) • Description (Should) • Category (May) API Metadata • Responsible Organization (Must) • Responsible Developer (Must) • Funding (May) • Developer Forum (May) Service Provider • Operation Title (Must) • http Method (Should) • Transfer Protocol (Should) • Keywords (May) API Operation • Response Format (Must) • Example Response Value (Should) • Response Description (Should) • Response Data Type (May) Operation Response • Operation Name (Must) • Parameter Type (Should) • Parameter Value Type (Should) • Default Value (May) Operation Parameter
  • 12. Swagger Editor with Open API Validation 12http://swagger.io/
  • 14. smartAPI Editor Features 14 Field auto-suggestion Value auto-suggestion http://smart-api.info/editor/
  • 15. Semantic Annotation of Parameter Values 15 identifiers.org URIs are suggested to semantically annotate parameterValueType http://smart-api.info/editor/
  • 16. smartAPI Profiler 16 The profiler opens within the editor, once the user wants to annotate response data http://smart-api.info/editor/
  • 17. Semantic Annotation of Response Data 17 responseDataType is automatically annotated by the profiler, within the editor http://smart-api.info/editor/
  • 20. smartAPI Use Case 20 Given a gene, find other genes involved in the same pathway and find the candidate small molecules with these genes as the perturbation targets mygene.info Input gene mygene.info pathway mygene.info genes involved in the pathway smart-api.info
  • 21. smartAPI Use Case 21 Given a gene, find other genes involved in the same pathway and find the candidate small molecules with these genes as the perturbation targets mygene.info Input gene mygene.info pathway mygene.info genes involved in the pathway list of “active” perturbagens & their associated bioassay dataset IDs http://lincsportal.ccs.miami.edu/apis/ smart-api.info
  • 22. smartAPI Use Cases 22 • MyVariant.info (annotated) • Rat Genome Database • BD2K PIC-SURE HTTP API • Alliance of Genome Resources img source: http://www.wauchopeshowsociety.com.au/images/sl_website-under-construction.jpeg smart-api.info
  • 23. • smartAPI Specification — 54 API metadata elements to describe APIs • smartAPI Editor — composition, semantic annotation and validation of API metadata • smartAPI Profiler — automatically annotate the API response data with semantic identifiers • smartAPI Registry — submit, search, and browse API descriptions and obtain field-specific metadata suggestions Conclusions 23 smart-api.info
  • 24. • Upgrade to openAPI v3 • Export functionality to other repositories • Providing API descriptions as JSON-LD • Improving registry interface Future Work 24 smart-api.info
  • 25. Acknowledgements • Michel Dumontier • Shima Dastgheib • Chunlei Wu • Trish Whetzel • Ruben Verborgh • Paul Avillach • Gabor Korodi • Raymond Terryn • Kathleen Jagodnik • Pedro Assis • Gregg Kellogg • Mark Wilkinson • Jeff De Pons • Denise Luna 25 NIH Commons Big Data to Knowledge (BD2K) API Interoperability Working Group smart-api.info