The execution of all the code described so far will
generate an HTML page showing the chart in Figure
3, which in our system replaces the chart in the dash-
board.
Figure 3: The Google Bar Chart generated by our system.
The use case described so far is a simple case but
gave us good feedback on the quality of the proposed
system.
In order to have higher degree of flexibility in the
generation of the JavaScript code, and especially in
enhancing the quality of the fully automated chart
generation process we believe that the use of more
modular languages such as Java is a better solution.
We plan to implement a first prototype using Java,
together with Pellet reasoner, Sesame
8
and Apache
Tomcat as server-side technology to generate the re-
quired JavaScript.
5 CONCLUSIONS
In this paper we have presented a promising ap-
proach for the automatic generation of charts from a
SPARQL query. The system exploits inference pro-
cesses in order to generate an appropriate chart that
can be used to visualize the result set returned by a
specific SPARQL query. An application of this ap-
proach in the field of service monitoring has been pre-
sented.
The major benefit of our approach is the automatic
on-the-fly generation of charts without the need for
manual mapping between visualization and data stor-
age layers (as would be required in current BI sys-
tems).
Future work will consider extending the scenario
presented in this paper to the implementation of a
generic framework, which is able to automatically
create charts and dashboards in a generic context.
Additional work will be to capture user interaction
with the chart in order to automatically generate new
SPARQL queries that will consequently lead to new
8
http://www.openrdf.org
views of the data, this future direction will be espe-
cially interesting in the case where the data to analyze
can be linked to an external data such as Linked Data.
Our approach is particularly relevant in that case,
as the queries that can be submitted can not be pre-
dicted at design time because of the high dimensional-
ity and the highly connected nature of the data. This,
in turn, may lead to the visualization of data that ini-
tially was considered irrelevant, which is a situation
that current BI systems can not handle.
REFERENCES
Bizer, C. (2004). D2rq - treating non-rdf databases as virtual
rdf graphs. In In Proceedings of the 3rd International
Semantic Web Conference (ISWC2004.
Brickley, D., Guha, R., and McBride, B. (2004). Rdf vo-
cabulary description language 1.0: Rdf schema. Rec-
ommendation, W3C.
Dean, M., Schreiber, G., Bechhofer, S., van Harmelen, F.,
Hendler, J., Horrocks, I., McGuinness, D. L., Patel-
Schneider, P. F., and Stein, L. A. (2004). Owl web on-
tology language reference. Recommendation, W3C.
Hayes, P. and McBride, B. (2004). Resource description
framework (rdf). Recommendation, W3C.
Horrocks, I., Patel-Schneider, P. F., Boley, H., Tabet, S.,
Grosof, B., and Dean, M. (2004). Swrl: A semantic
web rule language combining owl and ruleml. Mem-
ber submission, W3C.
Katifori, A., Halatsis, C., Lepouras, G., Vassilakis, C.,
and Giannopoulou, E. (2007). Ontology visualization
methods, a survey. ACM Comput. Surv., 39.
Knublauch, H. (2010a). Sparql web pages (swp, aka
uispin). Technical report, TopQuadrant.
Knublauch, H. (2010b). Uispin - charts. Technical report,
TopQuadrant.
Leida, M., Afzal, A., and Majeed, B. (2010). Outlines for
dynamic visualization of semantic web data. In OTM
2010 Workshops, volume 6428 of Lecture Notes in
Computer Science, pages 170–179. Springer Berlin /
Heidelberg.
Motik, B., Sattler, U., and Studer, R. (2005). Query answer-
ing for owl-dl with rules. Web Semant., 3:41–60.
Parsia, B. and Sirin, E. (2004). Pellet: An owl dl rea-
soner. In 3rd International Semantic Web Conference
(ISWC2004).
Sahoo, S. S., Halb, W., Hellmann, S., Idehen, K., Jr, T. T.,
Auer, S., Sequeda, J., and Ezzat, A. (2009). A sur-
vey of current approaches for mapping of relational
databases to rdf.
ICE-B 2011 - International Conference on e-Business
186