is correctly generated if the database queries
produced is syntactically correct.
For the queries that are correctly generated, not
all of the generated XPath match FLQs. Table 8
displays the number of XPath matches FLQ and the
numbers of XPath don’t match FLQ.
Table 8: XPATH matches FLQ
XPath matches
NLQ
XPath doesn't
match NLQ
NB
(1930)
1897 33
% 98.29 % 1.70%
As presented in Table 8, 98.29% of XPath
queries that are correctly generated matches FLQ.
5 CONCLUSION AND FUTURE
WORK
This research paper presents a model of an
architecture of intelligent interface for querying
XML database. It proposes a method for translating
FLQ into an XPath queries. The main objective of
this interface is to allow communication between the
XML database and its users using the French
language. One of the advantages of this interface is
that it functions independently of database domain
and it improves automatically its knowledge base
through experience. The results of experimentation
show that the methods employed in the system have
the capabilities to produce an XPath queries for a
very important number of FLQ.
As future work, we will continue to solve more
complex queries. Also, we intend to apply the
methods used in the paper to translating queries in
other languages, such as the Arabic language.
REFERENCES
Akerkar, R., Joshi, M.,2008. Natural Language Interface
Using Shallow Parsing. In International Journal of
Computer Science Applications, Vol. 5, pp. 70-90.
Albert, J., Giammarresi, D., Wood, D., 2001. Normal form
algorithms for extended context-free grammars.
Theoretical Computer Scienc, Vol. 267, pp. 35-47.
Androutsopoulos, I., Ritchie, G.D., Thanisch, P., 1993.
MASQUE/SQL - An Efficient and Portable Natural
Language Query Interface for Relational Databases.
Proceedings of the 6th International Conference on
Industrial and Engineering Applications of Artificial
Intelligence and Expert Systems,1_4 June1993
Edinburgh, Scotland, pp.327-330.
Androutsopoulos, I., Ritchie, G., Thanisch, P., 1995.
Natural Language Interfaces to Databases – An
Introduction. In Journal of Natural Language
Engineering 1 Part 1, pp.29-81.
Auxerre, P., Inder, R., 1986. MASQUE Modular
Answering System for Queries in English, User’s
Manual, technical report AIAI/SR/10, Artificial
Intelligence Applications Institute, University of
Edinburgh.
Bais, H., Machkour, M., Lahcen, K., 2016. Querying
database using a universal natural language interface
based on machine learning. In International
Conference on Information Technology for
Organizations Development (IT4OD). IEEE.
Gauri, R., Agarwal, C., Chaudry, S. , Kulkarni, N. , Patel,
S.H., 2010.Natural language query processing using
semantic grammar’. In International Journal on
Computer Science and Engineering, Vol. 2, pp. 219-
223.
Hemerelain, B.Belbachir, H., 2010. Semantic Analysis of
Natural Language Queries for an Object Oriented
Database. In JSEA, Vol. 03, pp. 1047-1053.
Hendrix, G., Sacerdoti, E., Sagalowicz, D., Slocum, J.,
1978. Developing a natural language interface to
complex data. ACM Transactions on Database
Systems, Vol. 3, pp. 105-147.
Kataria, A.Nath, R., 2015. Natural Language Interface for
Databases in Hindi based on Karaka Theory. In
International Journal of Computer Applications, Vol.
122, pp. 39-43.
Li, Y., Yang, H., Jagadish, H.V., 2005. Nalix: an
interactive natural language interface for querying
xml. SIGMOD 05: Proceedings of the 2005 ACM
SIGMOD international conference on Management of
data, pp. 900-902.
Li, Z., Li, J., Ning, W., 2015. Research on Chinese Natural
Language Query Interface to Database Based on
Syntax and Semantic. In Applied Mechanics and
Materials, Vol. 731, pp. 237-241.
Papadakis, N., Kefalas, P., Stilianakakis, M., 2011. A tool
for access to relational databases in natural language.
In Expert Systems with Applications, Vol. 38, pp.
7894-7900.
Popescu, A-M., Armanasu, A., Etzioni, O., Ko, D., Yates,
A., 2004. Modern Natural Language Interfaces to
Databases: Composing Statistical Parsing with
Semantic Tractability. In Proc. COLING’04.
Rachide, A., Khan, M.A., Ali, R., 2009. Efficient
Transformation of a Natural Language Query to SQL
for Urdu. Proceedings of the Conference on Language
and Technology, pp. 53-60.
Rangel, R.A.P., Gelbukh, A.F., Barbosa, J.J.G., Ruiz,
E.A., Mej_a, A.M., S_anchez, A.P.D., 2002. Spanish
Natural Language Interface for a Relational Database
Querying System. 5th International Conference, TSD
2002 Brno, Czech Republic, pp. 123-130.