simple propositions, see Table 1. Table 2 presents
the RDF triples derived from the Table 1.
Table 1: Short list of simple propositions.
1 “Ninety-three is a novel”
2 “Ninety-three its author is Victor Hugo”
3 “Ninety-three has been published in 1874”
4 “Ninety-three’s theme is the French revolution”
5 “Victor Hugo was born in February 26, 1802”
6 “Victor Hugo was born in Besançon”
Table 2: Corresponding RDF Triples.
Subject Predicate Object
1 Ninety-three is Novel
2 Ninety-three author Victor Hugo
3 Ninety-three Published 1874
4 Ninety-three theme French revolution
5 Victor Hugo Date_born February 26, 1802
6 Victor Hugo Place_born Besançon
From the previous description in natural
language, we can express it in temporal logic as
shown in Table 3.
Table 3: Example of Temporal Logic representation.
Temporal logic Explanation
1 Always (Ninety-three next
novel)
We check that ninety
three is a novel
2 Always (Ninety-three next
Victor Hugo)
We check that ninety
three is written by
Victor Hugo
Figure 3: RDF Graph.
0
5
10
15
20
25
0 102030405060
Graph size (Megabyte)
Time (Second)
RDF2NuSMV
RDF2SPIN
Figure 4: Time conversion of semantic graphs.
Now, we will be able to transform the RDF graph in
Fig. 3 with our tools "RDF2SPIN" and
RDF2NμSMV" into a model in order to check each
formula of temporal logic described in Table 3 and
see if each formula is verified or not in the model.
0
10
20
30
40
50
60
70
80
90
100
0,0004 0,0004 0,0006 0,0009 0,0009 0,001 0,0017 0,0065 3,6 8,6 20,6 53,1
Size of the RDF graph (Megabyte)
Size of the RDF graph converted
(Megabyte)
RDF2NuSMV
RDF2SPIN
Figure 5: Size of the models.
5 CONCLUSIONS
This paper presents a new technique for the semantic
graphs verification by using a model-checker.
Knowing that the model-checker does not
understand the semantic graphs, we developed two
tools RDF2SPIN and RDF2NµSMV to convert them
into PROMELA and NµSMV languages in order to
be verified with the temporal logics.
In future work, we would like to convert the
SPARQL query language for RDF graphs into
queries using the operator of the temporal logic, to
have a better verification of RDF graphs
representing the building industry.
REFERENCES
Becket, D., McBride, B., 2004. RDF/ XML Syntax
Specification (Revised). W3C recommandation.
http://www.w3.org/TR/2004/REC-rdf-syntax-gramma
r-20040210/.
Ben-Ari, M., 2008. Principles of the SPIN Model Checker.
Springer. ISBN: 978-1-84628-769-5.
Berners-Lee, t., Hendler, J., and Lassila, O., 2001. The
Semantic Web. Scientific American. pp. 34–43.
Bray, T., Paoli, J., Sperberg-McQueen., C., M., Maler, E.,
Yergeau, F., Cowan, J., 2006. Extensible Markup
Language (XML) 1.1 (second edition) W3C
recommendation, http://www.w3.org/TR/2006/REC-
xml11-20060816/.
Cimatti, A., Clarke, E., Giunchiglia, F., Roveri, M., 2000.
NuSMV: a new symbolic model checker.
Kahan, J., Koivunen, M., Prud'Hommeaux, E., Swick, R.,
R, 2001. Annotea: An Open RDF Infrastructure for
Shared Web Annotations, in Proc. of the WWW 10th
International Conference, Hong Kong. http://www10.
org/cdrom/papers/488/index.html
Katoen, J. P., 2002. The principal of Model Checking.
University of Twente.
Pnueli, A., 1977. The temporal logic of programs. In proc.
18th IEEE Symp. Foundations of Computer Science
(FOCS’77), Providence, RI, USA. pages 46-57.
WEBIST 2011 - 7th International Conference on Web Information Systems and Technologies
398