SlideShare a Scribd company logo
Toward Automatic Generation of SPARQL Result Set Visualizations A Use Case in Service Monitoring Leida Marcello EBTIC (Etisalat BT Innovation Centre), Khalifa University - Abu Dhabi, U.A.E. http://www.ebtic.org [email_address]
Introduction Semantic Web is experiencing an interesting phase. The vision has finally shift from the definition of languages and tools supporting the vision, to a phase where data is made available from sparse sources. Leading to and led by projects such  Linked Open Data .
Value for Enterprises? Potential of Semantic Web understood by the academic/reseach community but difficulties to stream down the benefits to Enterprises. However Enterprises’ interest on Semantic Web technologies is growing: Use of Linked Data sets seems at the moment more appealing than the use of Semantic Web technologies as support for AI (OWL, SWRL). Accessing virtually infinite source of information and link it with internal one.
Federated queries Enabling interesting scenarios even without AI support: “ Query WiMAX customer complains, together with related location and weather situation of the day of the complain; this may lead to discovering that some devices do not perform well in some particular conditions.”
Need to display information in an efficient way: no need to understand the ontological model by the final user; need to represent data as meaningful visualisations, understandable by managers and business analysts;  allow dynamic exploration of internal data integrated with Linked Data; analyze possibilities offered by semantic information to enhance and automate the data visualisation process. Furthermore actual BI dashboards are generated by manually mapping queries with the visualization. Changing the query will require changes in the mapping    time and resource consuming. Creating Value
Ontology Visualization: the Graph Two main approaches to the visualization of ontological data: Visualization of the Graph: exploit the  subject, predicate, object  pattern to create network-like views of ontologies; first approaches to support research community.
Ontology Visualization: the Graph Pros: Generic process that automatically suits all the ontologies. Graph and network visualization algorithms can be used Cons: Not interesting from a reporting point of view.
Ontology Visualization: query Results Visualisation of query results:
Ontology Visualization : query Results Query results mapped to the visualisation library through a process defined manually; Convert SPARQL Query results Construct SPARQL Query Identify RDF data
Ontology Visualization : query Results Pros: Very expressive and effective views; Display only what is relevant; Easy to understand; No need to know anything about ontologies. Cons: Need of a specific process, defined manually, to translate query results to a format that can be digested by the visualisation library; Imply knowledge of the data source to display; Visualization is created as result of a query, but it cannot be refined or lead dynamically to other visualizations.
From static to dynamic visualisations Fresnel ( http://www.w3.org/2005/04/fresnel-info/ ) proposes a solution for browsing ontologies: Lenses : what to display; Formats : how to display it. Possible to define more than one format for each lens. Browsers apply the Fresnel document to the ontology in order to obtain the CSS. Extremely Powerful!
Limits of available approaches Oriented toward browsing ontologies and not on displaying query results. Fresnel allows selectors: but FSL and SPARQL used within Fresnel must always return exactly one node set, meaning that  only one variable  is allowed in the SELECT clause. This reflects also to other approaches based on Fresnel (e.g. Pazienza et al.  Semi-Automatic Generation of GUIs for RDF Browsing ) SPARQL Web Pages form TopQuadrant (with the UISPIN Charts Extension) is the closest approach but still relies on declarative mapping between the query and the visualization library.
Missing Step Consider an ontology representing  customers ,  products  and  orders  and a  SPARQL query  that returns the  revenue  of the orders for every  country  a customer is located. The result of the query are values from attributes belonging to different concepts, not directly in relation. PREFIX ebtic:<http://www.ebtic.org/OTMDemo#> SELECT ?country ?revenue  WHERE { ?location ebtic:Country ?country.   ?customer ebtic:location ?location.   ?order ebtic:orderedBy ?customer.   ?order ebtic:TotalPrice ?revenue.} How do I display this? Can I exploit semantic information to automatically display such information in the correct way? More information is required!!
Proposed Approach: overview of the system The user will generate a SPARQL query by interacting with the GUI or explicitly submitting it to the system. The Query is executed by the SPARQL query engine and the result set is retrieved.  The query and its results set is analysed by the Semantic Binder and semantically annotated with information regarding the types involved in the Result Set. A rule based inference process supported by external ontologies is used to select the set of most suitable charts that are able to visualize the query results. The results set returned by the query is merged with the chart template in order to generate the final instance of the chart to display.
Proposed Approach: Labels Ontology The proposed architecture is supported by a set of ontologies that are used to model semantically the SPARQL query. The Label ontology is used to annotate the query results set by modelling the semantic of every variable in the SPARQL query. This is a basically a hierarchy of datatypes.
Proposed Approach: Chart Ontology The Chart Ontology imports the Label Ontology. This ontology defines the concept of  ResultSet  and  VisualizationMethod . Which are the basic concepts used to model the query and the method used to visualize the results. The variables in the results set are instances of the Label Ontology.
Proposed Approach: Chart Ontology Equivalent Concepts and Rules definition The Chart Ontology is at the core of the inference process. Here the various rules (SWRL) and equivalent concepts (defined using OWL-DL) are defined. These rules and logic concepts are used in the inference process in order to automatically infer the set of suitable visualization for a given result set. The concept of  ResultSet  is extended by equivalent concepts: An inference process will re-classify the instances of the ResultsSet with the equivalent concepts. Once this is done the system will apply the rules:
Proposed Approach: instances of VisualizationMethod Instances of the ontologies are generated from two independent processes: one process that is defined offline and relate to prepare the system to be used with a specific Chart API and another one that is executed runtime once the queries are submitted to the system. The first of this processes will create the instances of the  Chart Ontology . These are defined as instances of the sub concepts of  VisualizationMethod  concept with also specific attributes depending on the API used to create the Charts (e.g. Yahoo UI Charts, Google Visualization API,…). In case of our implementation we used Google Visualization API. Each instance of the specific  VisualizatioMethod  in this case will contain an attribute  visualizationCode  containing the template of the code used to create the JavaScript code to display the chart.
Proposed Approach: instances of ResultSet Instances of the  ResultSet  concept are created by the  Semantic Binder  process. This process analyses the SPARQL query and the returned results set and creates instances of the  ResultSet  concept representing the query and instances of the  Label  concept representing the variables of the query. The binding between the variable and a concept in the  Label  ontology hierarchy can be done performed in may ways: by a manual process, an automatic or a semi-automatic process.  In our implementation we analyse the results set using a set of techniques: e.g.  regular expressions associated to a certain  Label  (e.g. Dates, Numbers) or lookup lists in case of fixed value sets (e.g. Country).
Proposed Approach: chart creation process The inference process will  re-classify  the instances of  ResultSet  and apply the  rules  in order to link instances of  ResultSet  and  VisualizeMethod  with the  visualizeWith  relation. It is important that the inferred information is made persistent in the Chart Ontology. The system will extract the suitable template code for the visualization methods, given a specific result set, by executing a SPARQL query on the Chart Ontology with instances: PREFIX chart:<http://www.ebtic.org/bpm/visualizationOntology.owl#> PREFIX instance:<http://www.ebtic.org/bpm/serviceMonitoring.owl#> SELECT ?visualizationCode WHERE { ?resultSet chart:visualizeWith ?visualizationMethod. ?visualizationMethod chart:visualizationCode ?visualizationCode. FILTER (?resultSet = instance:ResultSetQuery1)}
Proposed Approach: implementation Our approach is not bounded to any specific enabling technology: For proof of concept prototype in the domain of service monitoring we used Ruby. OWLIM is used to store and query the supporting ontologies (Label, Chart and Instances) together with the rules and OWL equivalent concepts. Since originally Service Monitoring data is in a relational database we used D2R to provide a SPARQL endpoint to the database. Our system at the moment offer to the user a choice between two graphs which are each one mapped to a SPARQL query on the D2R server. The Query is analised by our system supported by the OWLIM inference process and SPARQL engine used to extract the code template. Code template is processed by Ruby and the results of the query on the D2R server are integrated with the template and the final HTML is returned to the user.
Use case: services monitoring PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> PREFIX db:<http://localhost:2020/resource/> PREFIX owl:<http://www.w3.org/2002/07/owl#> PREFIX xsd:<http://www.w3.org/2001/XMLSchema#> PREFIX map:<file:/D:/d2r-server-0.7/mapping.n3#> PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX vocab:<http://localhost:2020/vocab/resource/> SELECT ?serviceEndPoint ?messageType (COUNT(?messageType) AS ?countMessageType) WHERE { ?monitor vocab:result_serviceEndpoint ?serviceEndPoint. ?monitor vocab:result_messageType ?messageType.} GROUP BY ?serviceEndPoint ?messageType ORDER BY ?serviceEndPoint ?messageType
Use case: services monitoring PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> PREFIX db:<http://localhost:2020/resource/> PREFIX owl:<http://www.w3.org/2002/07/owl#> PREFIX xsd:<http://www.w3.org/2001/XMLSchema#> PREFIX map:<file:/D:/d2r-server-0.7/ServMonMapping.n3#> PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX vocab:<http://localhost:2020/vocab/resource/> SELECT ?serviceEndPoint ?avgeResponseTime ?timestamp WHERE { ?monitor vocab:result_timestamp ?timestamp. ?monitor vocab:result_serviceEndpoint ?serviceEndPoint. ?monitor vocab:result_averageResponseTime ?avgeResponseTime. } ORDER BY ?serviceEndPoint ?timestamp ?avgeResponseTime
Conclusions & Future Work We presented a promising approach for the automatic generation of charts from SPARQL queries. System exploits inference processes to generate appropriate charts.  Major benefit is the automatic on-the-fly generation of charts. Future work will consider extending the proof of concept implementation presented in this paper to a generic framework. Capture user interaction with the chart in order to automatically generate new SPARQL queries that will consequently lead to new views of the data; interesting in the case where the data to analyze can be linked to an external data such as Linked Data Project. Our approach is particularly relevant in with Linked Data, where the queries that can be submitted can not be predicted at design time because of the high dimensionality and the highly connected nature of the data. This, in turn, may lead to the visualization of data that initially was not considered, which is a situation that current BI systems can not handle.
Thank you for your attention!

More Related Content

PDF
Nose Dive into Apache Spark ML
PPTX
FAIR Metrics - Presentation to NIH KC1
PPSX
Advantages & disadvantages of web 1.0 vs web 2.0
PDF
Web Based Agriculture Information System
PPT
Object Oriented Design
PPT
Object Oriented Analysis and Design
PDF
Feature analysis of ontology visualization methods and tools
ODP
Ontology based semantics and graphical notation as directed graphs
Nose Dive into Apache Spark ML
FAIR Metrics - Presentation to NIH KC1
Advantages & disadvantages of web 1.0 vs web 2.0
Web Based Agriculture Information System
Object Oriented Design
Object Oriented Analysis and Design
Feature analysis of ontology visualization methods and tools
Ontology based semantics and graphical notation as directed graphs

Similar to Toward Automatic Generation of SPARQL result set Visualizations (20)

PPT
State and future of linked data in learning analytics
PDF
Semantic Interoperability - grafi della conoscenza
PPTX
Knowledge Graph Introduction
PDF
A semantic based approach for knowledge discovery and acquistion from multipl...
PDF
A SEMANTIC BASED APPROACH FOR KNOWLEDGE DISCOVERY AND ACQUISITION FROM MULTIP...
PDF
A SEMANTIC BASED APPROACH FOR KNOWLEDGE DISCOVERY AND ACQUISITION FROM MULTIP...
PPTX
Ozr2013
PPTX
Self adaptive based natural language interface for disambiguation of
PPTX
Semantic web meetup – sparql tutorial
PDF
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
PDF
Presenting Your Digital Research
PPT
Re-using Media on the Web: Media fragment re-mixing and playout
PDF
Open interoperability standards, tools and services at EMBL-EBI
PPTX
Lotico oct 2010
PDF
A SEMANTIC BASED APPROACH FOR KNOWLEDGE DISCOVERY AND ACQUISITION FROM MULTIP...
PPTX
The Information Workbench - Linked Data and Semantic Wikis in the Enterprise
PDF
A Comparative Study of Recent Ontology Visualization Tools with a Case of Dia...
PPTX
Consuming Linked Data 4/5 Semtech2011
PDF
Indexing data on the web a comparison of schema level indices for data search
PDF
Open Government Data on the Web - A Semantic Approach
State and future of linked data in learning analytics
Semantic Interoperability - grafi della conoscenza
Knowledge Graph Introduction
A semantic based approach for knowledge discovery and acquistion from multipl...
A SEMANTIC BASED APPROACH FOR KNOWLEDGE DISCOVERY AND ACQUISITION FROM MULTIP...
A SEMANTIC BASED APPROACH FOR KNOWLEDGE DISCOVERY AND ACQUISITION FROM MULTIP...
Ozr2013
Self adaptive based natural language interface for disambiguation of
Semantic web meetup – sparql tutorial
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
Presenting Your Digital Research
Re-using Media on the Web: Media fragment re-mixing and playout
Open interoperability standards, tools and services at EMBL-EBI
Lotico oct 2010
A SEMANTIC BASED APPROACH FOR KNOWLEDGE DISCOVERY AND ACQUISITION FROM MULTIP...
The Information Workbench - Linked Data and Semantic Wikis in the Enterprise
A Comparative Study of Recent Ontology Visualization Tools with a Case of Dia...
Consuming Linked Data 4/5 Semtech2011
Indexing data on the web a comparison of schema level indices for data search
Open Government Data on the Web - A Semantic Approach
Ad

Recently uploaded (20)

PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Cell Types and Its function , kingdom of life
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
01-Introduction-to-Information-Management.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Institutional Correction lecture only . . .
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
A systematic review of self-coping strategies used by university students to ...
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Cell Types and Its function , kingdom of life
VCE English Exam - Section C Student Revision Booklet
01-Introduction-to-Information-Management.pdf
Microbial disease of the cardiovascular and lymphatic systems
Abdominal Access Techniques with Prof. Dr. R K Mishra
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
RMMM.pdf make it easy to upload and study
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
O7-L3 Supply Chain Operations - ICLT Program
Final Presentation General Medicine 03-08-2024.pptx
Institutional Correction lecture only . . .
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Computing-Curriculum for Schools in Ghana
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Anesthesia in Laparoscopic Surgery in India
Ad

Toward Automatic Generation of SPARQL result set Visualizations

  • 1. Toward Automatic Generation of SPARQL Result Set Visualizations A Use Case in Service Monitoring Leida Marcello EBTIC (Etisalat BT Innovation Centre), Khalifa University - Abu Dhabi, U.A.E. http://www.ebtic.org [email_address]
  • 2. Introduction Semantic Web is experiencing an interesting phase. The vision has finally shift from the definition of languages and tools supporting the vision, to a phase where data is made available from sparse sources. Leading to and led by projects such Linked Open Data .
  • 3. Value for Enterprises? Potential of Semantic Web understood by the academic/reseach community but difficulties to stream down the benefits to Enterprises. However Enterprises’ interest on Semantic Web technologies is growing: Use of Linked Data sets seems at the moment more appealing than the use of Semantic Web technologies as support for AI (OWL, SWRL). Accessing virtually infinite source of information and link it with internal one.
  • 4. Federated queries Enabling interesting scenarios even without AI support: “ Query WiMAX customer complains, together with related location and weather situation of the day of the complain; this may lead to discovering that some devices do not perform well in some particular conditions.”
  • 5. Need to display information in an efficient way: no need to understand the ontological model by the final user; need to represent data as meaningful visualisations, understandable by managers and business analysts; allow dynamic exploration of internal data integrated with Linked Data; analyze possibilities offered by semantic information to enhance and automate the data visualisation process. Furthermore actual BI dashboards are generated by manually mapping queries with the visualization. Changing the query will require changes in the mapping  time and resource consuming. Creating Value
  • 6. Ontology Visualization: the Graph Two main approaches to the visualization of ontological data: Visualization of the Graph: exploit the subject, predicate, object pattern to create network-like views of ontologies; first approaches to support research community.
  • 7. Ontology Visualization: the Graph Pros: Generic process that automatically suits all the ontologies. Graph and network visualization algorithms can be used Cons: Not interesting from a reporting point of view.
  • 8. Ontology Visualization: query Results Visualisation of query results:
  • 9. Ontology Visualization : query Results Query results mapped to the visualisation library through a process defined manually; Convert SPARQL Query results Construct SPARQL Query Identify RDF data
  • 10. Ontology Visualization : query Results Pros: Very expressive and effective views; Display only what is relevant; Easy to understand; No need to know anything about ontologies. Cons: Need of a specific process, defined manually, to translate query results to a format that can be digested by the visualisation library; Imply knowledge of the data source to display; Visualization is created as result of a query, but it cannot be refined or lead dynamically to other visualizations.
  • 11. From static to dynamic visualisations Fresnel ( http://www.w3.org/2005/04/fresnel-info/ ) proposes a solution for browsing ontologies: Lenses : what to display; Formats : how to display it. Possible to define more than one format for each lens. Browsers apply the Fresnel document to the ontology in order to obtain the CSS. Extremely Powerful!
  • 12. Limits of available approaches Oriented toward browsing ontologies and not on displaying query results. Fresnel allows selectors: but FSL and SPARQL used within Fresnel must always return exactly one node set, meaning that only one variable is allowed in the SELECT clause. This reflects also to other approaches based on Fresnel (e.g. Pazienza et al. Semi-Automatic Generation of GUIs for RDF Browsing ) SPARQL Web Pages form TopQuadrant (with the UISPIN Charts Extension) is the closest approach but still relies on declarative mapping between the query and the visualization library.
  • 13. Missing Step Consider an ontology representing customers , products and orders and a SPARQL query that returns the revenue of the orders for every country a customer is located. The result of the query are values from attributes belonging to different concepts, not directly in relation. PREFIX ebtic:<http://www.ebtic.org/OTMDemo#> SELECT ?country ?revenue WHERE { ?location ebtic:Country ?country. ?customer ebtic:location ?location. ?order ebtic:orderedBy ?customer. ?order ebtic:TotalPrice ?revenue.} How do I display this? Can I exploit semantic information to automatically display such information in the correct way? More information is required!!
  • 14. Proposed Approach: overview of the system The user will generate a SPARQL query by interacting with the GUI or explicitly submitting it to the system. The Query is executed by the SPARQL query engine and the result set is retrieved. The query and its results set is analysed by the Semantic Binder and semantically annotated with information regarding the types involved in the Result Set. A rule based inference process supported by external ontologies is used to select the set of most suitable charts that are able to visualize the query results. The results set returned by the query is merged with the chart template in order to generate the final instance of the chart to display.
  • 15. Proposed Approach: Labels Ontology The proposed architecture is supported by a set of ontologies that are used to model semantically the SPARQL query. The Label ontology is used to annotate the query results set by modelling the semantic of every variable in the SPARQL query. This is a basically a hierarchy of datatypes.
  • 16. Proposed Approach: Chart Ontology The Chart Ontology imports the Label Ontology. This ontology defines the concept of ResultSet and VisualizationMethod . Which are the basic concepts used to model the query and the method used to visualize the results. The variables in the results set are instances of the Label Ontology.
  • 17. Proposed Approach: Chart Ontology Equivalent Concepts and Rules definition The Chart Ontology is at the core of the inference process. Here the various rules (SWRL) and equivalent concepts (defined using OWL-DL) are defined. These rules and logic concepts are used in the inference process in order to automatically infer the set of suitable visualization for a given result set. The concept of ResultSet is extended by equivalent concepts: An inference process will re-classify the instances of the ResultsSet with the equivalent concepts. Once this is done the system will apply the rules:
  • 18. Proposed Approach: instances of VisualizationMethod Instances of the ontologies are generated from two independent processes: one process that is defined offline and relate to prepare the system to be used with a specific Chart API and another one that is executed runtime once the queries are submitted to the system. The first of this processes will create the instances of the Chart Ontology . These are defined as instances of the sub concepts of VisualizationMethod concept with also specific attributes depending on the API used to create the Charts (e.g. Yahoo UI Charts, Google Visualization API,…). In case of our implementation we used Google Visualization API. Each instance of the specific VisualizatioMethod in this case will contain an attribute visualizationCode containing the template of the code used to create the JavaScript code to display the chart.
  • 19. Proposed Approach: instances of ResultSet Instances of the ResultSet concept are created by the Semantic Binder process. This process analyses the SPARQL query and the returned results set and creates instances of the ResultSet concept representing the query and instances of the Label concept representing the variables of the query. The binding between the variable and a concept in the Label ontology hierarchy can be done performed in may ways: by a manual process, an automatic or a semi-automatic process. In our implementation we analyse the results set using a set of techniques: e.g. regular expressions associated to a certain Label (e.g. Dates, Numbers) or lookup lists in case of fixed value sets (e.g. Country).
  • 20. Proposed Approach: chart creation process The inference process will re-classify the instances of ResultSet and apply the rules in order to link instances of ResultSet and VisualizeMethod with the visualizeWith relation. It is important that the inferred information is made persistent in the Chart Ontology. The system will extract the suitable template code for the visualization methods, given a specific result set, by executing a SPARQL query on the Chart Ontology with instances: PREFIX chart:<http://www.ebtic.org/bpm/visualizationOntology.owl#> PREFIX instance:<http://www.ebtic.org/bpm/serviceMonitoring.owl#> SELECT ?visualizationCode WHERE { ?resultSet chart:visualizeWith ?visualizationMethod. ?visualizationMethod chart:visualizationCode ?visualizationCode. FILTER (?resultSet = instance:ResultSetQuery1)}
  • 21. Proposed Approach: implementation Our approach is not bounded to any specific enabling technology: For proof of concept prototype in the domain of service monitoring we used Ruby. OWLIM is used to store and query the supporting ontologies (Label, Chart and Instances) together with the rules and OWL equivalent concepts. Since originally Service Monitoring data is in a relational database we used D2R to provide a SPARQL endpoint to the database. Our system at the moment offer to the user a choice between two graphs which are each one mapped to a SPARQL query on the D2R server. The Query is analised by our system supported by the OWLIM inference process and SPARQL engine used to extract the code template. Code template is processed by Ruby and the results of the query on the D2R server are integrated with the template and the final HTML is returned to the user.
  • 22. Use case: services monitoring PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> PREFIX db:<http://localhost:2020/resource/> PREFIX owl:<http://www.w3.org/2002/07/owl#> PREFIX xsd:<http://www.w3.org/2001/XMLSchema#> PREFIX map:<file:/D:/d2r-server-0.7/mapping.n3#> PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX vocab:<http://localhost:2020/vocab/resource/> SELECT ?serviceEndPoint ?messageType (COUNT(?messageType) AS ?countMessageType) WHERE { ?monitor vocab:result_serviceEndpoint ?serviceEndPoint. ?monitor vocab:result_messageType ?messageType.} GROUP BY ?serviceEndPoint ?messageType ORDER BY ?serviceEndPoint ?messageType
  • 23. Use case: services monitoring PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> PREFIX db:<http://localhost:2020/resource/> PREFIX owl:<http://www.w3.org/2002/07/owl#> PREFIX xsd:<http://www.w3.org/2001/XMLSchema#> PREFIX map:<file:/D:/d2r-server-0.7/ServMonMapping.n3#> PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX vocab:<http://localhost:2020/vocab/resource/> SELECT ?serviceEndPoint ?avgeResponseTime ?timestamp WHERE { ?monitor vocab:result_timestamp ?timestamp. ?monitor vocab:result_serviceEndpoint ?serviceEndPoint. ?monitor vocab:result_averageResponseTime ?avgeResponseTime. } ORDER BY ?serviceEndPoint ?timestamp ?avgeResponseTime
  • 24. Conclusions & Future Work We presented a promising approach for the automatic generation of charts from SPARQL queries. System exploits inference processes to generate appropriate charts. Major benefit is the automatic on-the-fly generation of charts. Future work will consider extending the proof of concept implementation presented in this paper to a generic framework. Capture user interaction with the chart in order to automatically generate new SPARQL queries that will consequently lead to new views of the data; interesting in the case where the data to analyze can be linked to an external data such as Linked Data Project. Our approach is particularly relevant in with Linked Data, where the queries that can be submitted can not be predicted at design time because of the high dimensionality and the highly connected nature of the data. This, in turn, may lead to the visualization of data that initially was not considered, which is a situation that current BI systems can not handle.
  • 25. Thank you for your attention!