SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Context, Quality and Relevance:
Dependencies and Impacts on RESTful
       Web Services Design
    Hong-Linh Truong1, Schahram Dustdar1 , Andrea Maurino2 ,
                        Marco Comerio2
1
    Distributed Systems Group, Vienna University of Technology
     2
       Department of Informatics, Systems and Communication
                  University of Milano – Bicocca

                   truong@infosys.tuwien.ac.at
           http://www.infosys.tuwien.ac.at/Staff/truong
Outline

 Motivation
 Quality, context and relevance in data-intensive
  services
 Access to quality and context associated with
  data resources
 APIs for specifying and obtained data quality
 Open issues
 Conclusions and future work



ComposableWeb's 10, ICWE 2010, Vienna   2
Motivation: compose data intensive
          RESTful services
 Composition of Yahoo! Boss News Search, Google
  News Search , and Flickr
   recent news and high-qualified images, but free-
    of charge, related to "Haiti earthquake"




 ComposableWeb's 10, ICWE 2010, Vienna       3
If the composer is aware of context
         and quality parameters
 Possible mappings of context and quality
  requirements




      but it is a tedious task and we are not sure we have a
      correct mapping
ComposableWeb's 10, ICWE 2010, Vienna         4
Motivation: access to large data
         resources
 Retrieve big datasets from RESTful services for further
  extraction, transform or mashup activities




                    http://www.undata-api.org/

ComposableWeb's 10, ICWE 2010, Vienna            5
Motivation: access to large data
         resources


 Without QoD: get datasets and perform mashup
 With QoD support:
    http://localhost:8080/UNDataService/data/query/Population
     annual growth rate (percent)?crq.qod:
       dataelementcompleteness= 0.8654708520179372,
        datasetcompleteness=0.7356502242152466;
    http://localhost:8080/UNDataService/data/query/Adult literacy
     rate (percent)?crq.qod:
       dataelementcompleteness=0.5874439461883408,datasetcompleteness
        =0.04349775784753363
     → Should we retrieve the data and perform data mashup?
ComposableWeb's 10, ICWE 2010, Vienna                  6
Context, quality and relevance for
         data-intensive services
 Data-intensive services provide data resources whose
  quality and context could not easily described at the
  level of service as a whole
 We all know: missing context and quality leads to
  irrelevant results
 But several questions:
    how can the composition developer recognize context and
     quality description associated with data resources?
    how context and quality parameters can be mapped and
     passed to a service via REST APIs?
    how to obtain context and quality description associated with
     data resources so that further activities can be made?

ComposableWeb's 10, ICWE 2010, Vienna              7
Related work
 Well-researched QoS and context WS
    QoS-based and context-oriented Web service design
    QoS-based/NFP-based Web service discovery and
     ranking
    User experiences and context models for
     personalized Web services .
 However, existing works mainly deal with QoS and
  context information
    QoD other data concerns are the key to data
     resources
    Data resources have different data concerns
 Recent work on quality of mashup
ComposableWeb's 10, ICWE 2010, Vienna     8
Context, quality, and relevance
         dependencies in data service
         composition




 Data resources: (semi-)structured data, unstructured
  documents, images, zipped datasets
ComposableWeb's 10, ICWE 2010, Vienna      9
Impact on the lack context and
         quality – at data resource level
 Difficult to select relevant resources and to provide
  general description of context and quality for the service
  managing the resource.
 The service has to build its own quality and context
  description
    difficult if the service developer is not the data
      resource provider
 It is not clear if the resource will meet the consumer
  quality description
    lead to the information overloading
    challenge for the service to determine the quality of
      the data resource.
ComposableWeb's 10, ICWE 2010, Vienna         10
Impact on the lack context and data
         quality – at data service level

 Not sure if the service can be used.
 Not sure if resources provided can be used.
    The composite service has to implement its own
     service selection mechanisms.
 The composite service is not sure about the quality of
  services and resources to be composed.
    The composite service has to determine the quality
     and context of the resources at its side using its own
     knowledge.



ComposableWeb's 10, ICWE 2010, Vienna        11
Access to data quality and context
         associated with data resources
 Data quality and context associated with data
  resources:
     Different with representative quality and context
      associated with a service as a whole
 Current works:
     Describe context and QoS associated with a service
      or a service operation but not with data resources
 We focus on mechanisms/convention to access
  quality and context associated with data
  resources
     Not how to determine quality and context metrics
ComposableWeb's 10, ICWE 2010, Vienna         12
Data quality and context support in
         current RESTful WS design
 Many RESTful services do not provide data quality and
  context information
 In RESTful service description, WADL or ATOM
    Allow specify individual resource but there is no
     description for context and quality information.
 At the REST APIs level, there is no convention for
  specifying and obtaining context and quality information.
  → provide context and quality description exchange
  protocols among the interactions of service
  compositions, services and resources



ComposableWeb's 10, ICWE 2010, Vienna        13
Data quality and context support in
         current RESTful WS design
 RESTful WS design: PUT, GET, POST, DELETE data
  resources but no support for non-functional properties
  (e.g., context/quality)
 Possible option:




   → difficult to understand and manage the relationship between
   the resource and its quality/context description
 We assume: non-functional properties are a part of data
  resources → using the same operation for the same
  resource id but with different parameters
ComposableWeb's 10, ICWE 2010, Vienna         14
Proposed design principles –
         convention
 Focus on specifying and obtaining context and
  quality associated with data resources
  provided by services
 Static and dynamic context and quality binding
    Static: context and quality can be published with
     resource description (e.g., WADL, ATOM)
    Dynamic: context and quality information obtained at
     runtime
 We test this principle with
    WADL, a RESTful service provides the Google Flu
     Trend data, a RESTful service wrapping the UN
     datasets service
ComposableWeb's 10, ICWE 2010, Vienna       15
Representations for Context and
           Quality
 We do not develop/propose new context and quality models
   Assume that the community will rely on existing models
   We use custom models from [APSCC 2009: 87-94]
       {
        ...
         "crq.qod": {
            "crq.uptodateness": "up to dateness",
            ...
            "crq.dataelementcompleteness":"data element completeness",
            "crq.datasetcompleteness":"data set completeness",
            "crq.domainspecificqod": [
              {
                           "name": "name of the metric",
                           "value": "value of the metric"
                 },
            ]
         },
       …
      }
 ComposableWeb's 10, ICWE 2010, Vienna                        16
Static quality and context information
         for data resources WADL
specify context and quality schemas and their types using
grammars/include and doc/title
    <grammars>
         <include
    href="http://www.infosys.tuwien.ac.at/prototype/SOD1/restfuldesign/schemas/crq-
    quality.xsd">
            <doc title="Quality">
               grammar describing quality
            </doc>
         </include>
         <include
    href="http://www.infosys.tuwien.ac.at/prototype/SOD1/restfuldesign/schemas/crq-
    context.xsd">
            <doc title="Context">
               grammar describing context
            </doc>
         </include>
      </grammars>

 ComposableWeb's 10, ICWE 2010, Vienna                           17
Static quality and context information
           for data resources with WADL
specify the published, static quality and context information using
representation
   <representation id="QualityPresentation" element="crqQuality:crq.qod"
                             mediaType="application/json">
      <doc title="QoDDescription">
        {"crq.qod": {
                 "crq.datasetcompleteness": 0.10256410256410256,
                 "crq.consistency": 1,
                 "crq.uptodateness":5
        }}
      </doc>
   </representation>
   <representation id="ContextPresentation" element="crqContext:crq.context"
                          mediaType="application/json">
      <doc title="ContextDescription">
         {"crq.context": {
                 "crq.location": "Europe",
                 "crq.datapermission":"free"
        }}
      </doc>
   </representation>

 ComposableWeb's 10, ICWE 2010, Vienna                                    18
Static quality and context information
           for data resource discovery with
           ATOM-alike model
<cdc:category label="Demographic and socioeconomic statistics"/>
  <cdc:id>http://undata-api.appspot.com/data/query/Adult literacy rate (percent)
</cdc:id>
  <cdc:title>UN Data on Adult literacy rate</cdc:title>
  <cdc:entry>
   <cdc:category term="DaaSConcerns" scheme="...daasconcern-v0.2.xsd"/>
   <cdc:content type="application/xml">
<tns:qod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http:/
/www.infosys.tuwien.ac.at/SOD1/daasconcerns/custom" xsi:type="tns:QoD">
  <tns:crq.dataelementcompleteness>0.5874439461883408</tns:crq.dataelementcomple
teness>
  <tns:crq.datasetcompleteness>0.04349775784753363</tns:crq.datasetcompleteness>
</tns:qod>
</cdc:content>
   <cdc:published>2010-06-23T22:23:30.557Z</cdc:published>
  </cdc:entry>




ComposableWeb's 10, ICWE 2010, Vienna                       19
Specifying and obtaining data context
           and quality using parameters in REST
           APIs
 Specifying requests by using utilizing query parameters
  the form of crq.metricName=value
       GET/resource?crq.accuracy="0.5"&crq.location=’’Europe”

 Obtaining contex and quality by using context and
  quality parameters without specifying value conditions
 curl http://localhost:8080/UNDataService/data/query/Population annual growth rate
 (percent)?crq.qod
 {”crq.qod” : {
 ”crq.dataelementcompleteness ”: 0.8654708520179372,
 ”crq.datasetcompleteness”: 0.7356502242152466,
 ...
 }}

 Context and quality schema can be also accessed via
  parameters
ComposableWeb's 10, ICWE 2010, Vienna                           20
Open issues
 Data context and quality of data resources is a part of
  the contract/licensing of the data resource?
 The use of parameters can be achieved but
    Context and quality metrics and representations are
     diverse → how do we compare quality/context metrics
      defined by different services
 We propose only convention/principle. To convince its
  use we need:
    Use accepted terms, evaluate via real applications
    Perform possible different mappings
 Data concerns must more than data quality and context
    e.g., data privacy

ComposableWeb's 10, ICWE 2010, Vienna      21
Conclusions and future work
 Analyzed the importance of data context and quality
  support in RESTful data-intensive services
 Limitations of current RESTful Web service design with
  the respect to data context, quality and relevance
 Propose conventions to specify and obtain context and
  quality associated with data resources
 Future plans
    Examine possible mappings and focus on validation
    Composition of context and quality of data resources
    Link data concern evaluation to data concern
     publishing for data services

ComposableWeb's 10, ICWE 2010, Vienna      22
Thanks for your attention!

         Hong-Linh Truong
         Distributed Systems Group
         Vienna University of Technology
         Austria

         truong@infosys.tuwien.ac.at
         http://www.infosys.tuwien.ac.at




ComposableWeb's 10, ICWE 2010, Vienna      23

Weitere ähnliche Inhalte

Andere mochten auch (9)

Au Psy492 M7 A2 Bagwell P Pp
Au Psy492 M7 A2 Bagwell P PpAu Psy492 M7 A2 Bagwell P Pp
Au Psy492 M7 A2 Bagwell P Pp
 
Mobilizing multi-Stakeholder Support through Strategic Communication - A Case...
Mobilizing multi-Stakeholder Support through Strategic Communication - A Case...Mobilizing multi-Stakeholder Support through Strategic Communication - A Case...
Mobilizing multi-Stakeholder Support through Strategic Communication - A Case...
 
Au Psy492 M7 A3 E Portf Bagwell P.Doc
Au Psy492 M7 A3 E Portf Bagwell P.DocAu Psy492 M7 A3 E Portf Bagwell P.Doc
Au Psy492 M7 A3 E Portf Bagwell P.Doc
 
Sentencia t327 01
Sentencia t327 01Sentencia t327 01
Sentencia t327 01
 
Justifying digital banking
Justifying digital bankingJustifying digital banking
Justifying digital banking
 
Nagico united cricket club vs mno montego bay cricket club may 15
Nagico united cricket club vs mno montego bay cricket club may 15Nagico united cricket club vs mno montego bay cricket club may 15
Nagico united cricket club vs mno montego bay cricket club may 15
 
St maarten national tea mvs winairconqueror cricket club rbtt 50 overs
St maarten national tea mvs winairconqueror cricket club rbtt 50 oversSt maarten national tea mvs winairconqueror cricket club rbtt 50 overs
St maarten national tea mvs winairconqueror cricket club rbtt 50 overs
 
Outdoors Internacionais
Outdoors InternacionaisOutdoors Internacionais
Outdoors Internacionais
 
Learn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionLearn BEM: CSS Naming Convention
Learn BEM: CSS Naming Convention
 

Ähnlich wie Context, Quality and Relevance: Dependencies and Impacts on RESTful Web Services Design

Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
1crore projects
 
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
1crore projects
 
On Evaluating and Publishing Data Concerns for Data as a Service
On Evaluating and Publishing Data Concerns for Data as a ServiceOn Evaluating and Publishing Data Concerns for Data as a Service
On Evaluating and Publishing Data Concerns for Data as a Service
Hong-Linh Truong
 
Itz Lecture Bi & Web Tech Standards Feb 2009
Itz Lecture Bi & Web Tech Standards Feb 2009Itz Lecture Bi & Web Tech Standards Feb 2009
Itz Lecture Bi & Web Tech Standards Feb 2009
subramanian K
 

Ähnlich wie Context, Quality and Relevance: Dependencies and Impacts on RESTful Web Services Design (20)

SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
 
Web Service QoS Prediction Based on Adaptive Dynamic Programming Using Fuzzy ...
Web Service QoS Prediction Based on Adaptive Dynamic Programming Using Fuzzy ...Web Service QoS Prediction Based on Adaptive Dynamic Programming Using Fuzzy ...
Web Service QoS Prediction Based on Adaptive Dynamic Programming Using Fuzzy ...
 
M.Phil Computer Science Data Mining Projects
M.Phil Computer Science Data Mining ProjectsM.Phil Computer Science Data Mining Projects
M.Phil Computer Science Data Mining Projects
 
A new approach to gather similar operations extracted from web services
A new approach to gather similar operations extracted from web servicesA new approach to gather similar operations extracted from web services
A new approach to gather similar operations extracted from web services
 
Unit 2
Unit 2Unit 2
Unit 2
 
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
 
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
Location-Aware and Personalized Collaborative Filtering for Web Service Recom...
 
On Evaluating and Publishing Data Concerns for Data as a Service
On Evaluating and Publishing Data Concerns for Data as a ServiceOn Evaluating and Publishing Data Concerns for Data as a Service
On Evaluating and Publishing Data Concerns for Data as a Service
 
WEB SERVICES COMPOSITION METHODS AND TECHNIQUES: A REVIEW
WEB SERVICES COMPOSITION METHODS AND TECHNIQUES: A REVIEWWEB SERVICES COMPOSITION METHODS AND TECHNIQUES: A REVIEW
WEB SERVICES COMPOSITION METHODS AND TECHNIQUES: A REVIEW
 
A review on framework and quality of service based web services discovery
A review on framework and quality of service based web services discoveryA review on framework and quality of service based web services discovery
A review on framework and quality of service based web services discovery
 
Web Services Discovery and Recommendation Based on Information Extraction and...
Web Services Discovery and Recommendation Based on Information Extraction and...Web Services Discovery and Recommendation Based on Information Extraction and...
Web Services Discovery and Recommendation Based on Information Extraction and...
 
Itz Lecture Bi & Web Tech Standards Feb 2009
Itz Lecture Bi & Web Tech Standards Feb 2009Itz Lecture Bi & Web Tech Standards Feb 2009
Itz Lecture Bi & Web Tech Standards Feb 2009
 
Combining efficiency, fidelity, and flexibility in resource information services
Combining efficiency, fidelity, and flexibility in resource information servicesCombining efficiency, fidelity, and flexibility in resource information services
Combining efficiency, fidelity, and flexibility in resource information services
 
Reliability evaluation model for composite web services
Reliability evaluation model for composite web servicesReliability evaluation model for composite web services
Reliability evaluation model for composite web services
 
SERVICE ORIENTED QUALITY REQUIREMENT FRAMEWORK FOR CLOUD COMPUTING
SERVICE ORIENTED QUALITY REQUIREMENT FRAMEWORK FOR CLOUD COMPUTINGSERVICE ORIENTED QUALITY REQUIREMENT FRAMEWORK FOR CLOUD COMPUTING
SERVICE ORIENTED QUALITY REQUIREMENT FRAMEWORK FOR CLOUD COMPUTING
 
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
 
YASAM SEMANTIC WEB SERVICE MATCHMAKER YASAR SEMANTIC WEB SERVICE REGISTRY. Ya...
YASAM SEMANTIC WEB SERVICE MATCHMAKER YASAR SEMANTIC WEB SERVICE REGISTRY. Ya...YASAM SEMANTIC WEB SERVICE MATCHMAKER YASAR SEMANTIC WEB SERVICE REGISTRY. Ya...
YASAM SEMANTIC WEB SERVICE MATCHMAKER YASAR SEMANTIC WEB SERVICE REGISTRY. Ya...
 
R01765113122
R01765113122R01765113122
R01765113122
 
Design and Implementation of SOA Enhanced Semantic Information Retrieval web ...
Design and Implementation of SOA Enhanced Semantic Information Retrieval web ...Design and Implementation of SOA Enhanced Semantic Information Retrieval web ...
Design and Implementation of SOA Enhanced Semantic Information Retrieval web ...
 
Towards a Web of Services
Towards a Web of ServicesTowards a Web of Services
Towards a Web of Services
 

Mehr von Hong-Linh Truong

Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Hong-Linh Truong
 

Mehr von Hong-Linh Truong (20)

QoA4ML – A Framework for Supporting Contracts in Machine Learning Services
QoA4ML – A Framework for Supporting Contracts in Machine Learning ServicesQoA4ML – A Framework for Supporting Contracts in Machine Learning Services
QoA4ML – A Framework for Supporting Contracts in Machine Learning Services
 
Sharing Blockchain Performance Knowledge for Edge Service Development
Sharing Blockchain Performance Knowledge for Edge Service DevelopmentSharing Blockchain Performance Knowledge for Edge Service Development
Sharing Blockchain Performance Knowledge for Edge Service Development
 
Measuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
Measuring, Quantifying, & Predicting the Cost-Accuracy TradeoffMeasuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
Measuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
 
DevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
DevOps for Dynamic Interoperability of IoT, Edge and Cloud SystemsDevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
DevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
 
Dynamic IoT data, protocol, and middleware interoperability with resource sli...
Dynamic IoT data, protocol, and middleware interoperability with resource sli...Dynamic IoT data, protocol, and middleware interoperability with resource sli...
Dynamic IoT data, protocol, and middleware interoperability with resource sli...
 
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
 
Modeling and Provisioning IoT Cloud Systems for Testing Uncertainties
Modeling and Provisioning IoT Cloud Systems for Testing UncertaintiesModeling and Provisioning IoT Cloud Systems for Testing Uncertainties
Modeling and Provisioning IoT Cloud Systems for Testing Uncertainties
 
Characterizing Incidents in Cloud-based IoT Data Analytics
Characterizing Incidents in Cloud-based IoT Data AnalyticsCharacterizing Incidents in Cloud-based IoT Data Analytics
Characterizing Incidents in Cloud-based IoT Data Analytics
 
Enabling Edge Analytics of IoT Data: The Case of LoRaWAN
Enabling Edge Analytics of IoT Data: The Case of LoRaWANEnabling Edge Analytics of IoT Data: The Case of LoRaWAN
Enabling Edge Analytics of IoT Data: The Case of LoRaWAN
 
Analytics of Performance and Data Quality for Mobile Edge Cloud Applications
Analytics of Performance and Data Quality for Mobile Edge Cloud ApplicationsAnalytics of Performance and Data Quality for Mobile Edge Cloud Applications
Analytics of Performance and Data Quality for Mobile Edge Cloud Applications
 
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
 
Deep Context-Awareness: Context Coupling and New Types of Context Information...
Deep Context-Awareness: Context Coupling and New Types of Context Information...Deep Context-Awareness: Context Coupling and New Types of Context Information...
Deep Context-Awareness: Context Coupling and New Types of Context Information...
 
Managing and Testing Ensembles of IoT, Network functions, and Clouds
Managing and Testing Ensembles of IoT, Network functions, and CloudsManaging and Testing Ensembles of IoT, Network functions, and Clouds
Managing and Testing Ensembles of IoT, Network functions, and Clouds
 
Towards a Resource Slice Interoperability Hub for IoT
Towards a Resource Slice Interoperability Hub for IoTTowards a Resource Slice Interoperability Hub for IoT
Towards a Resource Slice Interoperability Hub for IoT
 
On Supporting Contract-aware IoT Dataspace Services
On Supporting Contract-aware IoT Dataspace ServicesOn Supporting Contract-aware IoT Dataspace Services
On Supporting Contract-aware IoT Dataspace Services
 
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
 
On Engineering Analytics of Elastic IoT Cloud Systems
On Engineering Analytics of Elastic IoT Cloud SystemsOn Engineering Analytics of Elastic IoT Cloud Systems
On Engineering Analytics of Elastic IoT Cloud Systems
 
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
 
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
 
Governing Elastic IoT Cloud Systems under Uncertainties
Governing Elastic IoT Cloud Systems under UncertaintiesGoverning Elastic IoT Cloud Systems under Uncertainties
Governing Elastic IoT Cloud Systems under Uncertainties
 

Kürzlich hochgeladen

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
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
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
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
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...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Context, Quality and Relevance: Dependencies and Impacts on RESTful Web Services Design

  • 1. Context, Quality and Relevance: Dependencies and Impacts on RESTful Web Services Design Hong-Linh Truong1, Schahram Dustdar1 , Andrea Maurino2 , Marco Comerio2 1 Distributed Systems Group, Vienna University of Technology 2 Department of Informatics, Systems and Communication University of Milano – Bicocca truong@infosys.tuwien.ac.at http://www.infosys.tuwien.ac.at/Staff/truong
  • 2. Outline  Motivation  Quality, context and relevance in data-intensive services  Access to quality and context associated with data resources  APIs for specifying and obtained data quality  Open issues  Conclusions and future work ComposableWeb's 10, ICWE 2010, Vienna 2
  • 3. Motivation: compose data intensive RESTful services  Composition of Yahoo! Boss News Search, Google News Search , and Flickr  recent news and high-qualified images, but free- of charge, related to "Haiti earthquake" ComposableWeb's 10, ICWE 2010, Vienna 3
  • 4. If the composer is aware of context and quality parameters  Possible mappings of context and quality requirements but it is a tedious task and we are not sure we have a correct mapping ComposableWeb's 10, ICWE 2010, Vienna 4
  • 5. Motivation: access to large data resources  Retrieve big datasets from RESTful services for further extraction, transform or mashup activities http://www.undata-api.org/ ComposableWeb's 10, ICWE 2010, Vienna 5
  • 6. Motivation: access to large data resources  Without QoD: get datasets and perform mashup  With QoD support:  http://localhost:8080/UNDataService/data/query/Population annual growth rate (percent)?crq.qod:  dataelementcompleteness= 0.8654708520179372, datasetcompleteness=0.7356502242152466;  http://localhost:8080/UNDataService/data/query/Adult literacy rate (percent)?crq.qod:  dataelementcompleteness=0.5874439461883408,datasetcompleteness =0.04349775784753363 → Should we retrieve the data and perform data mashup? ComposableWeb's 10, ICWE 2010, Vienna 6
  • 7. Context, quality and relevance for data-intensive services  Data-intensive services provide data resources whose quality and context could not easily described at the level of service as a whole  We all know: missing context and quality leads to irrelevant results  But several questions:  how can the composition developer recognize context and quality description associated with data resources?  how context and quality parameters can be mapped and passed to a service via REST APIs?  how to obtain context and quality description associated with data resources so that further activities can be made? ComposableWeb's 10, ICWE 2010, Vienna 7
  • 8. Related work  Well-researched QoS and context WS  QoS-based and context-oriented Web service design  QoS-based/NFP-based Web service discovery and ranking  User experiences and context models for personalized Web services .  However, existing works mainly deal with QoS and context information  QoD other data concerns are the key to data resources  Data resources have different data concerns  Recent work on quality of mashup ComposableWeb's 10, ICWE 2010, Vienna 8
  • 9. Context, quality, and relevance dependencies in data service composition  Data resources: (semi-)structured data, unstructured documents, images, zipped datasets ComposableWeb's 10, ICWE 2010, Vienna 9
  • 10. Impact on the lack context and quality – at data resource level  Difficult to select relevant resources and to provide general description of context and quality for the service managing the resource.  The service has to build its own quality and context description  difficult if the service developer is not the data resource provider  It is not clear if the resource will meet the consumer quality description  lead to the information overloading  challenge for the service to determine the quality of the data resource. ComposableWeb's 10, ICWE 2010, Vienna 10
  • 11. Impact on the lack context and data quality – at data service level  Not sure if the service can be used.  Not sure if resources provided can be used.  The composite service has to implement its own service selection mechanisms.  The composite service is not sure about the quality of services and resources to be composed.  The composite service has to determine the quality and context of the resources at its side using its own knowledge. ComposableWeb's 10, ICWE 2010, Vienna 11
  • 12. Access to data quality and context associated with data resources  Data quality and context associated with data resources:  Different with representative quality and context associated with a service as a whole  Current works:  Describe context and QoS associated with a service or a service operation but not with data resources  We focus on mechanisms/convention to access quality and context associated with data resources  Not how to determine quality and context metrics ComposableWeb's 10, ICWE 2010, Vienna 12
  • 13. Data quality and context support in current RESTful WS design  Many RESTful services do not provide data quality and context information  In RESTful service description, WADL or ATOM  Allow specify individual resource but there is no description for context and quality information.  At the REST APIs level, there is no convention for specifying and obtaining context and quality information. → provide context and quality description exchange protocols among the interactions of service compositions, services and resources ComposableWeb's 10, ICWE 2010, Vienna 13
  • 14. Data quality and context support in current RESTful WS design  RESTful WS design: PUT, GET, POST, DELETE data resources but no support for non-functional properties (e.g., context/quality)  Possible option: → difficult to understand and manage the relationship between the resource and its quality/context description  We assume: non-functional properties are a part of data resources → using the same operation for the same resource id but with different parameters ComposableWeb's 10, ICWE 2010, Vienna 14
  • 15. Proposed design principles – convention  Focus on specifying and obtaining context and quality associated with data resources provided by services  Static and dynamic context and quality binding  Static: context and quality can be published with resource description (e.g., WADL, ATOM)  Dynamic: context and quality information obtained at runtime  We test this principle with  WADL, a RESTful service provides the Google Flu Trend data, a RESTful service wrapping the UN datasets service ComposableWeb's 10, ICWE 2010, Vienna 15
  • 16. Representations for Context and Quality  We do not develop/propose new context and quality models  Assume that the community will rely on existing models  We use custom models from [APSCC 2009: 87-94] { ... "crq.qod": { "crq.uptodateness": "up to dateness", ... "crq.dataelementcompleteness":"data element completeness", "crq.datasetcompleteness":"data set completeness", "crq.domainspecificqod": [ { "name": "name of the metric", "value": "value of the metric" }, ] }, … } ComposableWeb's 10, ICWE 2010, Vienna 16
  • 17. Static quality and context information for data resources WADL specify context and quality schemas and their types using grammars/include and doc/title <grammars> <include href="http://www.infosys.tuwien.ac.at/prototype/SOD1/restfuldesign/schemas/crq- quality.xsd"> <doc title="Quality"> grammar describing quality </doc> </include> <include href="http://www.infosys.tuwien.ac.at/prototype/SOD1/restfuldesign/schemas/crq- context.xsd"> <doc title="Context"> grammar describing context </doc> </include> </grammars> ComposableWeb's 10, ICWE 2010, Vienna 17
  • 18. Static quality and context information for data resources with WADL specify the published, static quality and context information using representation <representation id="QualityPresentation" element="crqQuality:crq.qod" mediaType="application/json"> <doc title="QoDDescription"> {"crq.qod": { "crq.datasetcompleteness": 0.10256410256410256, "crq.consistency": 1, "crq.uptodateness":5 }} </doc> </representation> <representation id="ContextPresentation" element="crqContext:crq.context" mediaType="application/json"> <doc title="ContextDescription"> {"crq.context": { "crq.location": "Europe", "crq.datapermission":"free" }} </doc> </representation> ComposableWeb's 10, ICWE 2010, Vienna 18
  • 19. Static quality and context information for data resource discovery with ATOM-alike model <cdc:category label="Demographic and socioeconomic statistics"/> <cdc:id>http://undata-api.appspot.com/data/query/Adult literacy rate (percent) </cdc:id> <cdc:title>UN Data on Adult literacy rate</cdc:title> <cdc:entry> <cdc:category term="DaaSConcerns" scheme="...daasconcern-v0.2.xsd"/> <cdc:content type="application/xml"> <tns:qod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http:/ /www.infosys.tuwien.ac.at/SOD1/daasconcerns/custom" xsi:type="tns:QoD"> <tns:crq.dataelementcompleteness>0.5874439461883408</tns:crq.dataelementcomple teness> <tns:crq.datasetcompleteness>0.04349775784753363</tns:crq.datasetcompleteness> </tns:qod> </cdc:content> <cdc:published>2010-06-23T22:23:30.557Z</cdc:published> </cdc:entry> ComposableWeb's 10, ICWE 2010, Vienna 19
  • 20. Specifying and obtaining data context and quality using parameters in REST APIs  Specifying requests by using utilizing query parameters the form of crq.metricName=value GET/resource?crq.accuracy="0.5"&crq.location=’’Europe”  Obtaining contex and quality by using context and quality parameters without specifying value conditions curl http://localhost:8080/UNDataService/data/query/Population annual growth rate (percent)?crq.qod {”crq.qod” : { ”crq.dataelementcompleteness ”: 0.8654708520179372, ”crq.datasetcompleteness”: 0.7356502242152466, ... }}  Context and quality schema can be also accessed via parameters ComposableWeb's 10, ICWE 2010, Vienna 20
  • 21. Open issues  Data context and quality of data resources is a part of the contract/licensing of the data resource?  The use of parameters can be achieved but  Context and quality metrics and representations are diverse → how do we compare quality/context metrics defined by different services  We propose only convention/principle. To convince its use we need:  Use accepted terms, evaluate via real applications  Perform possible different mappings  Data concerns must more than data quality and context  e.g., data privacy ComposableWeb's 10, ICWE 2010, Vienna 21
  • 22. Conclusions and future work  Analyzed the importance of data context and quality support in RESTful data-intensive services  Limitations of current RESTful Web service design with the respect to data context, quality and relevance  Propose conventions to specify and obtain context and quality associated with data resources  Future plans  Examine possible mappings and focus on validation  Composition of context and quality of data resources  Link data concern evaluation to data concern publishing for data services ComposableWeb's 10, ICWE 2010, Vienna 22
  • 23. Thanks for your attention! Hong-Linh Truong Distributed Systems Group Vienna University of Technology Austria truong@infosys.tuwien.ac.at http://www.infosys.tuwien.ac.at ComposableWeb's 10, ICWE 2010, Vienna 23