SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

Destacado

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
 

Destacado (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 a 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 a 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
 

Último

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
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
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Último (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
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
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

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