SlideShare a Scribd company logo
1 of 26
Download to read offline
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

API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Design Best Practices & Tech Talk : API Craft Meetup @ ApigeeAPI Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
Anil Sagar
 
What is SAP API Management_.pdf
What is SAP API Management_.pdfWhat is SAP API Management_.pdf
What is SAP API Management_.pdf
BilawalAmeen
 

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

Extend soa with api management Sangam18
Extend soa with api management Sangam18Extend soa with api management Sangam18
Extend soa with api management Sangam18
 
Adding Rules on Existing Hypermedia APIs
Adding Rules on Existing Hypermedia APIsAdding Rules on Existing Hypermedia APIs
Adding Rules on Existing Hypermedia APIs
 
Intro to Strapi 4
Intro to Strapi 4Intro to Strapi 4
Intro to Strapi 4
 
RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)RESTful web APIs (build, document, manage)
RESTful web APIs (build, document, manage)
 
Austin API Summit 2018: Are REST APIs Still Relevant Today?
Austin API Summit 2018: Are REST APIs Still Relevant Today?Austin API Summit 2018: Are REST APIs Still Relevant Today?
Austin API Summit 2018: Are REST APIs Still Relevant Today?
 
Are REST APIs Still Relevant Today?
Are REST APIs Still Relevant Today?Are REST APIs Still Relevant Today?
Are REST APIs Still Relevant Today?
 
Apiary
ApiaryApiary
Apiary
 
Ultimate Guide to 30+ API Documentation Solutions
Ultimate Guide to 30+ API Documentation SolutionsUltimate Guide to 30+ API Documentation Solutions
Ultimate Guide to 30+ API Documentation Solutions
 
Arabidopsis Information Portal overview from Plant Biology Europe 2014
Arabidopsis Information Portal overview from Plant Biology Europe 2014Arabidopsis Information Portal overview from Plant Biology Europe 2014
Arabidopsis Information Portal overview from Plant Biology Europe 2014
 
REST APIs
REST APIsREST APIs
REST APIs
 
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Design Best Practices & Tech Talk : API Craft Meetup @ ApigeeAPI Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
 
API Services: Building State-of-the-Art APIs
API Services: Building State-of-the-Art APIsAPI Services: Building State-of-the-Art APIs
API Services: Building State-of-the-Art APIs
 
API Marketing: First Comes Usability, Then Discoverability
API Marketing: First Comes Usability, Then DiscoverabilityAPI Marketing: First Comes Usability, Then Discoverability
API Marketing: First Comes Usability, Then Discoverability
 
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then DiscoverabilityLF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
 
What is SAP API Management_.pdf
What is SAP API Management_.pdfWhat is SAP API Management_.pdf
What is SAP API Management_.pdf
 
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led ConnectivityMuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
 
Extend soa with api management spoug- Madrid
Extend soa with api management   spoug- MadridExtend soa with api management   spoug- Madrid
Extend soa with api management spoug- Madrid
 
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
 
The ultimate api checklist by Blendr.io
The ultimate api checklist by Blendr.ioThe ultimate api checklist by Blendr.io
The ultimate api checklist by Blendr.io
 
Supercharging Self-Service API Integration with AI
Supercharging Self-Service API Integration with AI Supercharging Self-Service API Integration with AI
Supercharging Self-Service API Integration with AI
 

More from Amrapali Zaveri, PhD

More from Amrapali Zaveri, PhD (16)

Data Quality and the FAIR principles
Data Quality and the FAIR principlesData Quality and the FAIR principles
Data Quality and the FAIR principles
 
Workshop on Data Quality Management in Wikidata
Workshop on Data Quality Management in WikidataWorkshop on Data Quality Management in Wikidata
Workshop on Data Quality Management in Wikidata
 
ESOF Panel 2018
ESOF Panel 2018ESOF Panel 2018
ESOF Panel 2018
 
CrowdED: Guideline for optimal Crowdsourcing Experimental Design
CrowdED: Guideline for optimal Crowdsourcing Experimental DesignCrowdED: Guideline for optimal Crowdsourcing Experimental Design
CrowdED: Guideline for optimal Crowdsourcing Experimental Design
 
MetaCrowd: Crowdsourcing Gene Expression Metadata Quality Assessment
MetaCrowd: Crowdsourcing Gene Expression Metadata Quality AssessmentMetaCrowd: Crowdsourcing Gene Expression Metadata Quality Assessment
MetaCrowd: Crowdsourcing Gene Expression Metadata Quality Assessment
 
Introduction to Bio SPARQL
Introduction to Bio SPARQL Introduction to Bio SPARQL
Introduction to Bio SPARQL
 
Crowdsourcing Linked Data Quality Assessment
Crowdsourcing Linked Data Quality AssessmentCrowdsourcing Linked Data Quality Assessment
Crowdsourcing Linked Data Quality Assessment
 
Linked Data Quality Assessment: A Survey
Linked Data Quality Assessment: A SurveyLinked Data Quality Assessment: A Survey
Linked Data Quality Assessment: A Survey
 
Amrapali Zaveri Defense
Amrapali Zaveri DefenseAmrapali Zaveri Defense
Amrapali Zaveri Defense
 
LDQ 2014 DQ Methodology
LDQ 2014 DQ MethodologyLDQ 2014 DQ Methodology
LDQ 2014 DQ Methodology
 
LOD-SEM
LOD-SEMLOD-SEM
LOD-SEM
 
TripleCheckMate
TripleCheckMateTripleCheckMate
TripleCheckMate
 
Towards Biomedical Data Integration for Analyzing the Evolution of Cognition
Towards Biomedical Data Integration for Analyzing the Evolution of CognitionTowards Biomedical Data Integration for Analyzing the Evolution of Cognition
Towards Biomedical Data Integration for Analyzing the Evolution of Cognition
 
User-driven Quality Evaluation of DBpedia
User-driven Quality Evaluation of DBpediaUser-driven Quality Evaluation of DBpedia
User-driven Quality Evaluation of DBpedia
 
Converting GHO to RDF
Converting GHO to RDFConverting GHO to RDF
Converting GHO to RDF
 
ReDD-Observatory
ReDD-ObservatoryReDD-Observatory
ReDD-Observatory
 

Recently uploaded

Recently uploaded (20)

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 

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