SlideShare a Scribd company logo
1 of 15
Automating the Use of Web APIs -Hands-on Session- The Open University ICWE 2011, Paphos, Cyprus
Presenters Maria Maleshkovam.maleshkova@open.ac.uk Dong Liu d.liu@open.ac.uk Carlos Pedrinacic.pedrinaci@open.ac.uk
Outline  Web API Annotation Web API annotation with SWEET Semantic description publishing in iServe Web API Discovery Without lightweight semantics Service search in iServe Web API Invocation Invocation with the Invocation Engine
Preparation for Hands-On	 The material shown in this session will be the basis for the hands-on session afterwards You’ll need Firefox Tabulator extension for Firefox http://dig.csail.mit.edu/2007/tab/
Web API Annotation Hands-On	 The script for the Web API annotation hands-on is available at: http://iserve.kmi.open.ac.uk/wiki/index.php/Hands-on_Session
Web API Annotation with SWEET  Open SWEET http://sweetdemo.kmi.open.ac.uk/war/MicroWSMOeditor.html Open GeoNamesWebService documentation http://www.geonames.org/export/web-services.html Annotate the CountryCodeoperation
Annotation Steps  Create Service property Rename it to ‘GeoNames’ Create Operation property Rename it to ‘CountryCode’ Create Input Create Output Create Address  Rename address property (not the label itself) to http://api.geonames.org/countryCode Create HTTP Method Rename method property (not the label itself) to GET
Annotation Steps Create Parameter ‘lat’ Select the ‘lat’ string the double-click on ‘Parameter’ Rename the parameter to ‘lat’ Create Parameter ‘long’ Create Parameter ‘username’ Create Parameter ‘isoCode’
Model References  Input lat http://www.w3.org/2003/01/geo/wgs84_pos#lat long http://www.w3.org/2003/01/geo/wgs84_pos#long username http://purl.oclc.org/NET/WebApiAuthentication#Username Output isoCode http://www.geonames.org/ontology#countryCode
Liftings and Lowerings  Input lowering http://people.kmi.open.ac.uk/ning/Schema/GeoNames/CountryCodeLowering.txt Output lifting http://people.kmi.open.ac.uk/ning/Schema/GeoNames/CountryCodeLifting.txt
Publishing the Description Look at the annotated HTML by saving it to your local machine Look at the generated RDF by exporting it to you local machine Publish the description in the semantic Web service repository iServe http://iserve-dev.kmi.open.ac.uk/iserve maria maria Note the service ID!!!
Web API Discovery Hands-On	 The script for the Web API annotation hands-on is available at: http://iserve.kmi.open.ac.uk/wiki/index.php/IServe_Higher_Level_Discovery_API
Invocation Example Test Invoke  http://iserve-dev.kmi.open.ac.uk/RestServiceInvoke/ServiceInvoke/4619ca73-bb6e-4b99-8114-ad2e2cae3b60/CountryCode?rdfURL=http://iserve.kmi.open.ac.uk/exampleInput/DE.rdf Monitoring Example http://iserve-dev.kmi.open.ac.uk:8080/RestInvoke/service/e8f9548e-bbed-43fe-9d8a-71b7fdefb9da/operation/SearchListingsOperation/data
Invocation Look at you service description  http://iserve-dev.kmi.open.ac.uk/iserve/page/services/YOURSERVICEID http://iserve-dev.kmi.open.ac.uk/iserve/page/services/db4b646a-4665-4337-9626-4669cc8bce56 Invocation URI http://iserve-dev.kmi.open.ac.uk/RestServiceInvoke/ServiceInvoke/{YOURSERVICEID} /{OperationName}?rdfURL={URLtoInputRDF} http://iserve-dev.kmi.open.ac.uk/RestServiceInvoke/ServiceInvoke/71879558-f1aa-40a1-8a11-5fd3c48a6cde/CountryCode?rdfURL=http://people.kmi.open.ac.uk/ning/Schema/GeoNames/GeoName_input_CY.rdf
Invocation Sample input RDF http://iserve.kmi.open.ac.uk/exampleInput/FR.rdf http://iserve.kmi.open.ac.uk/exampleInput/CY.rdf http://iserve.kmi.open.ac.uk/exampleInput/BG.rdf http://iserve.kmi.open.ac.uk/exampleInput/DE.rdf http://iserve.kmi.open.ac.uk/exampleInput/GBR.rdf Compare results with http://api.geonames.org/countryCode?lat=XXXX&lng=YYYYY&username=mariam

More Related Content

Viewers also liked

ATTACK Toolkit Webinar on Big Tobacco's Emerging Marketing
ATTACK Toolkit Webinar on Big Tobacco's Emerging MarketingATTACK Toolkit Webinar on Big Tobacco's Emerging Marketing
ATTACK Toolkit Webinar on Big Tobacco's Emerging MarketingAlex T.
 
達人出版会からPHPの本を出版しよう
達人出版会からPHPの本を出版しよう達人出版会からPHPの本を出版しよう
達人出版会からPHPの本を出版しようkenjis
 
Life cycle of a star
Life cycle of a starLife cycle of a star
Life cycle of a starmramsey4
 
Interact - Energy Solution
Interact - Energy SolutionInteract - Energy Solution
Interact - Energy SolutionInterlace
 
2011wpi
2011wpi2011wpi
2011wpieshuy
 
CodeIgniterユーザガイドの翻訳に参加しよう!
CodeIgniterユーザガイドの翻訳に参加しよう!CodeIgniterユーザガイドの翻訳に参加しよう!
CodeIgniterユーザガイドの翻訳に参加しよう!kenjis
 
de Flank & de Spits Haarlem
de Flank & de Spits Haarlemde Flank & de Spits Haarlem
de Flank & de Spits Haarlemkcrabbendam
 
Attack toolkit webinar 9-7-11
Attack toolkit webinar 9-7-11Attack toolkit webinar 9-7-11
Attack toolkit webinar 9-7-11Alex T.
 
Linkedin presentation-red-1225231144081339-8
Linkedin presentation-red-1225231144081339-8Linkedin presentation-red-1225231144081339-8
Linkedin presentation-red-1225231144081339-8nizetanaiz
 
Peru culture
Peru culturePeru culture
Peru culturedgavin0
 
Как стать резидентом КРИТБИ? критби
Как стать резидентом КРИТБИ? критбиКак стать резидентом КРИТБИ? критби
Как стать резидентом КРИТБИ? критбиAlexander Verhozin
 
Brandweerkazerne Oud Nico
Brandweerkazerne Oud NicoBrandweerkazerne Oud Nico
Brandweerkazerne Oud Nicokcrabbendam
 
Microsoft Project workshop in Pune 6th & 7th August
Microsoft Project workshop in Pune 6th & 7th AugustMicrosoft Project workshop in Pune 6th & 7th August
Microsoft Project workshop in Pune 6th & 7th Augustvrushalis
 
Fresh Business Thinking - Social Media Event - Jemima presentation
Fresh Business Thinking - Social Media Event - Jemima presentationFresh Business Thinking - Social Media Event - Jemima presentation
Fresh Business Thinking - Social Media Event - Jemima presentationfbtslides
 
Spectrum deck v5.3
Spectrum deck v5.3Spectrum deck v5.3
Spectrum deck v5.3SLaM Iam
 
Ellsworthetal1996SSSAJpaper
Ellsworthetal1996SSSAJpaperEllsworthetal1996SSSAJpaper
Ellsworthetal1996SSSAJpaperellswort
 

Viewers also liked (20)

Autosar MCAL (Microcontroller Abstraction Layer)
Autosar MCAL (Microcontroller Abstraction Layer)Autosar MCAL (Microcontroller Abstraction Layer)
Autosar MCAL (Microcontroller Abstraction Layer)
 
ATTACK Toolkit Webinar on Big Tobacco's Emerging Marketing
ATTACK Toolkit Webinar on Big Tobacco's Emerging MarketingATTACK Toolkit Webinar on Big Tobacco's Emerging Marketing
ATTACK Toolkit Webinar on Big Tobacco's Emerging Marketing
 
達人出版会からPHPの本を出版しよう
達人出版会からPHPの本を出版しよう達人出版会からPHPの本を出版しよう
達人出版会からPHPの本を出版しよう
 
Life cycle of a star
Life cycle of a starLife cycle of a star
Life cycle of a star
 
Interact - Energy Solution
Interact - Energy SolutionInteract - Energy Solution
Interact - Energy Solution
 
2011wpi
2011wpi2011wpi
2011wpi
 
CodeIgniterユーザガイドの翻訳に参加しよう!
CodeIgniterユーザガイドの翻訳に参加しよう!CodeIgniterユーザガイドの翻訳に参加しよう!
CodeIgniterユーザガイドの翻訳に参加しよう!
 
de Flank & de Spits Haarlem
de Flank & de Spits Haarlemde Flank & de Spits Haarlem
de Flank & de Spits Haarlem
 
Attack toolkit webinar 9-7-11
Attack toolkit webinar 9-7-11Attack toolkit webinar 9-7-11
Attack toolkit webinar 9-7-11
 
Linkedin presentation-red-1225231144081339-8
Linkedin presentation-red-1225231144081339-8Linkedin presentation-red-1225231144081339-8
Linkedin presentation-red-1225231144081339-8
 
Webshop Personalization Recommendations Webinar
Webshop Personalization Recommendations WebinarWebshop Personalization Recommendations Webinar
Webshop Personalization Recommendations Webinar
 
Peru culture
Peru culturePeru culture
Peru culture
 
Как стать резидентом КРИТБИ? критби
Как стать резидентом КРИТБИ? критбиКак стать резидентом КРИТБИ? критби
Как стать резидентом КРИТБИ? критби
 
Brandweerkazerne Oud Nico
Brandweerkazerne Oud NicoBrandweerkazerne Oud Nico
Brandweerkazerne Oud Nico
 
Nida final
Nida finalNida final
Nida final
 
Microsoft Project workshop in Pune 6th & 7th August
Microsoft Project workshop in Pune 6th & 7th AugustMicrosoft Project workshop in Pune 6th & 7th August
Microsoft Project workshop in Pune 6th & 7th August
 
Fresh Business Thinking - Social Media Event - Jemima presentation
Fresh Business Thinking - Social Media Event - Jemima presentationFresh Business Thinking - Social Media Event - Jemima presentation
Fresh Business Thinking - Social Media Event - Jemima presentation
 
Spectrum deck v5.3
Spectrum deck v5.3Spectrum deck v5.3
Spectrum deck v5.3
 
บุหรี่
บุหรี่บุหรี่
บุหรี่
 
Ellsworthetal1996SSSAJpaper
Ellsworthetal1996SSSAJpaperEllsworthetal1996SSSAJpaper
Ellsworthetal1996SSSAJpaper
 

Similar to Handson Automating the Use of Web APIs through Lightweight Semantics

Cross-Lingual Web API Classification
Cross-Lingual Web API ClassificationCross-Lingual Web API Classification
Cross-Lingual Web API Classificationmmaleshkova
 
Interview Questions of Python Selenium
Interview Questions of Python SeleniumInterview Questions of Python Selenium
Interview Questions of Python SeleniumDucatNoida2
 
OpenOffice.org Extension Development with Java and NetBeans in practice
OpenOffice.org Extension Development with Java and NetBeans in practiceOpenOffice.org Extension Development with Java and NetBeans in practice
OpenOffice.org Extension Development with Java and NetBeans in practiceAlexandro Colorado
 
0910 cagliari- spring surf and cmis - the dynamic duo
0910 cagliari- spring surf and cmis - the dynamic duo0910 cagliari- spring surf and cmis - the dynamic duo
0910 cagliari- spring surf and cmis - the dynamic duoSymphony Software Foundation
 
Frappe Open Day - April 2014
Frappe Open Day - April 2014Frappe Open Day - April 2014
Frappe Open Day - April 2014Anand Doshi
 
Automate Web Apps With Selenium
Automate Web Apps With SeleniumAutomate Web Apps With Selenium
Automate Web Apps With SeleniumEdureka!
 
Progressive Web App - Jeff Burtoft at microsoft zaventem 03-10-2016
Progressive Web App - Jeff Burtoft at microsoft zaventem 03-10-2016Progressive Web App - Jeff Burtoft at microsoft zaventem 03-10-2016
Progressive Web App - Jeff Burtoft at microsoft zaventem 03-10-2016Maxime Czetwertynski
 
State of the project (widget sdk + a11y)
State of the project (widget sdk + a11y)State of the project (widget sdk + a11y)
State of the project (widget sdk + a11y)Bert Pareyn
 
Responsive WEB APP using cakePHP
Responsive WEB APP using cakePHPResponsive WEB APP using cakePHP
Responsive WEB APP using cakePHPEdureka!
 
Web Browser Accessibility using Open-Source Software
Web Browser Accessibility using Open-Source SoftwareWeb Browser Accessibility using Open-Source Software
Web Browser Accessibility using Open-Source Softwarezeljkoobrenovic
 
A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework - APIdays Barcelona 2015A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework - APIdays Barcelona 2015Michael Petychakis
 
A Graph API Framework Incorporating the Cloud Based Services Landscape
A Graph API Framework Incorporating the Cloud Based Services LandscapeA Graph API Framework Incorporating the Cloud Based Services Landscape
A Graph API Framework Incorporating the Cloud Based Services Landscapeopeni_ict
 
Connect Week 1
Connect Week 1Connect Week 1
Connect Week 1barry222
 
MyMobileWeb Certification Part I
MyMobileWeb Certification Part IMyMobileWeb Certification Part I
MyMobileWeb Certification Part Icrdlc
 
Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?BugRaptors
 
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphereMixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSpherejdlea
 
Chef for the Symfony developer
Chef for the Symfony developerChef for the Symfony developer
Chef for the Symfony developerCarlos Mafla
 
APIdays Barcelona 2019 - How a Cloud native Architecture helps to drive Busin...
APIdays Barcelona 2019 - How a Cloud native Architecture helps to drive Busin...APIdays Barcelona 2019 - How a Cloud native Architecture helps to drive Busin...
APIdays Barcelona 2019 - How a Cloud native Architecture helps to drive Busin...apidays
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devsguest0a62e8
 

Similar to Handson Automating the Use of Web APIs through Lightweight Semantics (20)

Cross-Lingual Web API Classification
Cross-Lingual Web API ClassificationCross-Lingual Web API Classification
Cross-Lingual Web API Classification
 
Interview Questions of Python Selenium
Interview Questions of Python SeleniumInterview Questions of Python Selenium
Interview Questions of Python Selenium
 
OpenOffice.org Extension Development with Java and NetBeans in practice
OpenOffice.org Extension Development with Java and NetBeans in practiceOpenOffice.org Extension Development with Java and NetBeans in practice
OpenOffice.org Extension Development with Java and NetBeans in practice
 
0910 cagliari- spring surf and cmis - the dynamic duo
0910 cagliari- spring surf and cmis - the dynamic duo0910 cagliari- spring surf and cmis - the dynamic duo
0910 cagliari- spring surf and cmis - the dynamic duo
 
Frappe Open Day - April 2014
Frappe Open Day - April 2014Frappe Open Day - April 2014
Frappe Open Day - April 2014
 
Automate Web Apps With Selenium
Automate Web Apps With SeleniumAutomate Web Apps With Selenium
Automate Web Apps With Selenium
 
Progressive Web App - Jeff Burtoft at microsoft zaventem 03-10-2016
Progressive Web App - Jeff Burtoft at microsoft zaventem 03-10-2016Progressive Web App - Jeff Burtoft at microsoft zaventem 03-10-2016
Progressive Web App - Jeff Burtoft at microsoft zaventem 03-10-2016
 
State of the project (widget sdk + a11y)
State of the project (widget sdk + a11y)State of the project (widget sdk + a11y)
State of the project (widget sdk + a11y)
 
Responsive WEB APP using cakePHP
Responsive WEB APP using cakePHPResponsive WEB APP using cakePHP
Responsive WEB APP using cakePHP
 
Web Browser Accessibility using Open-Source Software
Web Browser Accessibility using Open-Source SoftwareWeb Browser Accessibility using Open-Source Software
Web Browser Accessibility using Open-Source Software
 
A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework - APIdays Barcelona 2015A Graph API Framework - APIdays Barcelona 2015
A Graph API Framework - APIdays Barcelona 2015
 
A Graph API Framework Incorporating the Cloud Based Services Landscape
A Graph API Framework Incorporating the Cloud Based Services LandscapeA Graph API Framework Incorporating the Cloud Based Services Landscape
A Graph API Framework Incorporating the Cloud Based Services Landscape
 
Connect Week 1
Connect Week 1Connect Week 1
Connect Week 1
 
Spring In Alfresco Ecm
Spring In Alfresco EcmSpring In Alfresco Ecm
Spring In Alfresco Ecm
 
MyMobileWeb Certification Part I
MyMobileWeb Certification Part IMyMobileWeb Certification Part I
MyMobileWeb Certification Part I
 
Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?
 
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphereMixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
 
Chef for the Symfony developer
Chef for the Symfony developerChef for the Symfony developer
Chef for the Symfony developer
 
APIdays Barcelona 2019 - How a Cloud native Architecture helps to drive Busin...
APIdays Barcelona 2019 - How a Cloud native Architecture helps to drive Busin...APIdays Barcelona 2019 - How a Cloud native Architecture helps to drive Busin...
APIdays Barcelona 2019 - How a Cloud native Architecture helps to drive Busin...
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devs
 

Recently uploaded

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Recently uploaded (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Handson Automating the Use of Web APIs through Lightweight Semantics

  • 1. Automating the Use of Web APIs -Hands-on Session- The Open University ICWE 2011, Paphos, Cyprus
  • 2. Presenters Maria Maleshkovam.maleshkova@open.ac.uk Dong Liu d.liu@open.ac.uk Carlos Pedrinacic.pedrinaci@open.ac.uk
  • 3. Outline Web API Annotation Web API annotation with SWEET Semantic description publishing in iServe Web API Discovery Without lightweight semantics Service search in iServe Web API Invocation Invocation with the Invocation Engine
  • 4. Preparation for Hands-On The material shown in this session will be the basis for the hands-on session afterwards You’ll need Firefox Tabulator extension for Firefox http://dig.csail.mit.edu/2007/tab/
  • 5. Web API Annotation Hands-On The script for the Web API annotation hands-on is available at: http://iserve.kmi.open.ac.uk/wiki/index.php/Hands-on_Session
  • 6. Web API Annotation with SWEET Open SWEET http://sweetdemo.kmi.open.ac.uk/war/MicroWSMOeditor.html Open GeoNamesWebService documentation http://www.geonames.org/export/web-services.html Annotate the CountryCodeoperation
  • 7. Annotation Steps Create Service property Rename it to ‘GeoNames’ Create Operation property Rename it to ‘CountryCode’ Create Input Create Output Create Address Rename address property (not the label itself) to http://api.geonames.org/countryCode Create HTTP Method Rename method property (not the label itself) to GET
  • 8. Annotation Steps Create Parameter ‘lat’ Select the ‘lat’ string the double-click on ‘Parameter’ Rename the parameter to ‘lat’ Create Parameter ‘long’ Create Parameter ‘username’ Create Parameter ‘isoCode’
  • 9. Model References Input lat http://www.w3.org/2003/01/geo/wgs84_pos#lat long http://www.w3.org/2003/01/geo/wgs84_pos#long username http://purl.oclc.org/NET/WebApiAuthentication#Username Output isoCode http://www.geonames.org/ontology#countryCode
  • 10. Liftings and Lowerings Input lowering http://people.kmi.open.ac.uk/ning/Schema/GeoNames/CountryCodeLowering.txt Output lifting http://people.kmi.open.ac.uk/ning/Schema/GeoNames/CountryCodeLifting.txt
  • 11. Publishing the Description Look at the annotated HTML by saving it to your local machine Look at the generated RDF by exporting it to you local machine Publish the description in the semantic Web service repository iServe http://iserve-dev.kmi.open.ac.uk/iserve maria maria Note the service ID!!!
  • 12. Web API Discovery Hands-On The script for the Web API annotation hands-on is available at: http://iserve.kmi.open.ac.uk/wiki/index.php/IServe_Higher_Level_Discovery_API
  • 13. Invocation Example Test Invoke http://iserve-dev.kmi.open.ac.uk/RestServiceInvoke/ServiceInvoke/4619ca73-bb6e-4b99-8114-ad2e2cae3b60/CountryCode?rdfURL=http://iserve.kmi.open.ac.uk/exampleInput/DE.rdf Monitoring Example http://iserve-dev.kmi.open.ac.uk:8080/RestInvoke/service/e8f9548e-bbed-43fe-9d8a-71b7fdefb9da/operation/SearchListingsOperation/data
  • 14. Invocation Look at you service description http://iserve-dev.kmi.open.ac.uk/iserve/page/services/YOURSERVICEID http://iserve-dev.kmi.open.ac.uk/iserve/page/services/db4b646a-4665-4337-9626-4669cc8bce56 Invocation URI http://iserve-dev.kmi.open.ac.uk/RestServiceInvoke/ServiceInvoke/{YOURSERVICEID} /{OperationName}?rdfURL={URLtoInputRDF} http://iserve-dev.kmi.open.ac.uk/RestServiceInvoke/ServiceInvoke/71879558-f1aa-40a1-8a11-5fd3c48a6cde/CountryCode?rdfURL=http://people.kmi.open.ac.uk/ning/Schema/GeoNames/GeoName_input_CY.rdf
  • 15. Invocation Sample input RDF http://iserve.kmi.open.ac.uk/exampleInput/FR.rdf http://iserve.kmi.open.ac.uk/exampleInput/CY.rdf http://iserve.kmi.open.ac.uk/exampleInput/BG.rdf http://iserve.kmi.open.ac.uk/exampleInput/DE.rdf http://iserve.kmi.open.ac.uk/exampleInput/GBR.rdf Compare results with http://api.geonames.org/countryCode?lat=XXXX&lng=YYYYY&username=mariam