Figure 5: Feature selection.
Figure 6: Restriction of ’pairwise local aligning’.
subfeatures are shown to the user using selection
boxes. As illustrated in Figure 5, the subfea-
ture ’pairwise local aligning’ was selected. After
that, the Variability Manger uses the XML mapping
file to obtain the class name of the feature ’pair-
wise local aligning’. It consults the restrictions of the
class in the ontology. This class has two restrictions,
as can be seen in Figure 6.
Using these restrictions, the Variability Man-
ager consults the XML to transform the classes
of the restrictions into features. Next, in
our example, is shown to the user a selec-
tion box with the subfeatures of ’bioinformat-
ics algorithm’ and an information to select the feature
’BLAST Basic Local Alignment Search Tool’.
When the BLAST bioinformatics algorithm is se-
lected, the Variability Manager repeats the step 2, as
was proposed before, and obtains the restrictions of
the BLAST. According to the BLAST restrictions, the
user must select: (i) the format of the input sequence,
(ii) the format of the sequence to be compared with
and (iii) the format of the sequence database. Fi-
nally, after the selection of this features, the Variabil-
ity Manager has to associate all the selected features
and its restrictions. After that, it needs to find, in the
ontology, the most appropriate class that has these re-
strictions.
For example, if the user selects: (i) a protein input
sequence, (ii) a protein sequence format to compare
with and (iii) a database with sequences of protein, the
Variability Manager can inform, through the ontology
analysis, that BLASTP is the most compatible class
with the previously selected features.
It should be emphasized that this work is only the
first step towards the proposed SPL. Our research en-
compasses all the Sequence Alignment SPL.
5 CONCLUSIONS
Throught this paper, we present an approach to con-
nect a feature model and ontology using a Variabil-
ity Manager and a XML mapping file. It aims to
obtain the advantages of both domain modeling tech-
niques. To illustrate our approach we applied this ap-
proach in the bioinformatics context, attacking the se-
quence aligning problem. Through our example, we
illustrated how an ontology can improve the feature
model, providing additional and relevant information
for the domain of the proposed SPL.
For further work, the issues below remain to be
resolved in this research: (i) improve and evolve our
models, incorporating into this all the tasks needed
in a Sequence Alignment SPL; (ii) generate a semi-
automatic matching between the feature model and
the ontology and (iii) improve the application inter-
face by which the user must select the features.
REFERENCES
Asikainen, T., M
¨
annist
¨
o, T., and Soininen, T. (2007). Kum-
bang: A domain ontology for modelling variability in
software product families. Adv. Eng. Inform., 21.
Czarnecki, K., Peter Kim, C. H., and Kalleberg, K. T.
(2006). Feature models are views on ontologies. In
Proceedings of the 10th International on Software
Product Line Conference, pages 41–51, Washington,
DC, USA. IEEE Computer Society.
Gruber, T. R. (1993). Toward principles for the design of
ontologies used for knowledge sharing. In Formal On-
tology in Conceptual Analysis and Knowledge Repre-
sentation. Kluwer Academic Publishers.
Johansen, M., Fleurey, F., Acher, M., Collet, P., and Lahire,
P. (2010). Exploring the synergies between feature
models and ontologies. In International Workshop on
Model-driven Approaches in Software Product Line
Engineering (MAPLE 2010)(SPLC’10 (Volume 2)),
volume 2 of SPLC’10 (Volume 2), pages 163–171,
Jeju Island, South Korea. Lancester University.
Matos, E. E., Campos, F., Braga, R., and Palazzi, D. (2010).
Celows: An ontology based framework for the pro-
vision of semantic web services related to biological
models. J. of Biomedical Informatics, 43:125–136.
Mendes, L. F., Silva, L., Matos, E., Braga, R., and Campos,
F. (2011). Sasagent: An agent based architecture for
search, retrieval and composition of scientific models.
Comput. Biol. Med., 41:449–462.
Silva, L. M., Braga, R., and Campos, F. (2012). Composer-
science: A semantic service based framework for
workflow composition in e-science projects. Inf. Sci.,
186:186–208.
Wolstencroft, K., Alper, P., Hull, D., Wroe, C., Lord, P. W.,
Stevens, R. D., and Goble, C. A. (2007). The my-
grid ontology: bioinformatics service discovery. Int.
J. Bioinformatics Res. Appl., 3:303–325.
ConnectingFeatureModelsandOntologiesinSoftwareProductLines
163