• Nenhum resultado encontrado

Neste trabalho, apresentamos a abordagem CORE que utiliza informações contextuais para personalizar as consultas do usuário submetidas por uma aplicação. A abordagem proposta

foca em uma estratégia de reescrita de consultas baseada em contexto e é parte de um sistema mais geral chamado Texere.

Nos experimentos, as consultas submetidas pelos usuários foram reescritas levando-se em conta diretivas de reescrita, produzidas por regras contextuais definidas por um especialista do domínio. As diretivas são traduzidas para cláusulas definidas, que realizam operações de expansão, relaxamento ou formatação de uma determinada consulta e, assim, produzem outra consulta relacionada à original que é então executada na base de dados da aplicação. Ao realizar a reescrita de uma consulta, espera-se que a consulta reescrita possa retornar resultados mais adequados para quem a submeteu.

REFERÊNCIAS

ALVES, D. [et. al]. Using Social Network Information to Identify User Contexts for Query Personalization. DBKDA 2013: The Fifth International Conference on Advances in Databases, Knowledge, and Data Applications, Seville, Spain. 2013.

AMO, S.; PEREIRA, F. Evaluation of conditional preference queries. Journal of Information and Data Management (JIDM). vol. 1(3), p. 521–536, 2010.

ANDRADE, L. Otimização de Consultas de Aplicações T-SQL em Ambiente SQL Server 2000. Monografia (Graduação em Ciência da Computação), UFPB, 2005.

ANDREOU, A. Ontologies and query expansion. Master’s thesis, University of Edin-burgh, 2005.

ANSI. Padrão SQL 92. Disponível em: <http://www.ansi.org/>. Acesso em: 15 de fevereiro de 2014.

ARAUJO, H. [et. al]. On Using an Automatic, Autonomous and Non-Intrusive Approach for Rewriting SQL Queries. SBBD Recife, Pernambuco, 2013.

ARLINO, H. [et. al]. On Using an Automatic, Autonomous and Non-Intrusive Approach for Rewriting SQL Queries. SBBD Recife, Pernambuco, 2013.

ASFARI, O.; DOAN, B.; BOURDA, Y. Context-based Hybrid Method for User Query Expansion. IARIA Conference. Florence Italy, 2010.

BALDAUF, M.; DUSTDAR, S.; ROSENBERG, F. A survey on context-aware systems. In: Int.J. Ad Hoc Ubiquitous Computer, Geneva, Switzerland, Inderscience Publishers, p. 263- 277, 2007.

BRÉZILLON, P. Context in Artificial Intelligence: IA Survey of the Literature. Computer&Artificial Intelligence, v. 18, p. 321-340, 1999.

BRÉZILLON, P.; ARAÚJO, R. Reinforcing Shared Context to Improve Collaborative Work. Revue d'Intelligence Artificielle, v. 19, n. 3, p. 537-556, 2005.

BRUNO, N.; HAUDHURI, S.; RAMAMURTHY, R. Power hints for query optimization. In ICDE ’09 Proceedings of the 2009 IEEE International Conference on Data. IEEE

Computer Society, Washington, DC, USA, p. 469–480, 2009.

CACHEONIX. Disponível em: < http://www.cacheonix.com/>. Acesso em: 18/02/2014.

CHEN, H. An Intelligent Broker Architecture for Pervasive Context-Aware Systems. PhDThesis, University of Maryland, Baltimore County, 2004.

DANDAN, L.; HAN, L.; DING, Y. SQL Query Optimization Methods of Relational Database System. Computer Engineering and Applications (ICCEA), 2010 Second International Conference on. p. 557 – 560, 2010.

DEY, A.; ABOWD, G. A Conceptual Framework and a Toolkit for Supporting the Rapid Prototyping of Context-Aware Applications. Human-Computer Interaction. p. 97-166, 2001.

FRKOVIC, F. Agent-based User Personalization Using Context- Aware Semantic Reasoning. 12th International Conference, KES, University of Zagreb, Croatia. Ericsson Nikola Tesla, p. 166-173, 2012.

GARCIA-MOLINA, H.; U, LLMAN, J.; WIDOM, J. Database System implementation. Prentice Hall, Upper Saddle Rivr, New Jersey, 2000.

GODFREY, P.; GRYZ, J. A framework for intensional query optimization. In Forca Giannotti Dimitri Boulanger, Ultrich Geske and Dietmar Seipel, editors, Proceedings of the Workshop on Deductive Databases and Logic Programming, held in conjunction with the Joint International Conference and Symposium on Logic Programming (JICSLP'96), GMD- Studien Nr. 295, Bonn, Germany, p. 57–68, 1996.

HACHANI, N.; OUNELLI, H. A Knowledge-Based Approach For Database Flexible Querying. DEXA '06 Proceedings of the 17th International Conference on Database and Expert Systems Applications. p. 420-424, 2006.

HALEVY, Y. Theory of answering queries using views. SIGMOD Record, p. 40-47, 2000.

INES, F.; HABIB, O. An ontological approach for SQL query expansion. Information Technology and e-Services (ICITeS), 2012 International Conference on. p. 24-26, 2012.

IKEMATU, R. Realizando Tuning na Base de Aplicações. 2003. Disponível em: <

http://www.devmedia.com.br/articles/viewcomp_forprint.asp?comp=11323>. Acesso em: 08 de novembro 2013.

JBOSS. Disponível em: <http://www.jboss.org/>. Acesso em: 15/02/2014.

JONES, R. [et. al]. Generating query substitutions. In Proceedings of the 15th International Conference on World Wide Web (Edinburgh, Scotland, May 23 - 26, 2006). WWW '06. ACM Press, New York, NY, p.387-396, 2006.

KHAN, L.; MCLEOD, D.; HOVY, E. Retrieval effectiveness of an ontology-based model for information selection. The VLDB Journal — The International Journal on Very Large Data Bases, v.13 n.1, p.71-85, 2004.

KRAMER, R. [et. al]. Context-Aware Adaptation in a Mobile Tour Guide. In: Proc. of the 5th International and Interdisciplinary Conference on Modeling and Using Context

(CONTEXT'05), LNCS 3554, Paris, France, p. 210-224, 2005.

KOSTADINOV, D.; BOUZEGHOUB, M.; LOPES, S. Query Rewriting Based on User's Profile Knowledge. In O. Boucelma, M.-S. Hacid, T. Libourel & J.-M. Petit (eds.), BDA, 2007.

KOUDAS, N.; LI, C.; TUNG, H. Relaxing Join and Selection Queries. VLDB, New York, USA, p. 199-210, 2006.

KOUTRIKA, G.; IOANNIDIS, Y. Personalized Queries under a Generalized Preference Model. 21st Intl. Conf. On Data Engineering, Tokyo, p. 841-852, 2005.

KOUTRIKA, G. Query Personalization based on User Preferences. V. 35, New York, USA, 2010.

LENZERINI, M. Data Integration: A Theoretical Perspective. Proceeding PODS '02 Proceedings of the twenty-first ACM symposium on Principles of database systems ACM, NY, p. 233-246, 2002.

LEVANDOSKI, J.; MOKBEL, F.; KHALEFA. M. CareDB: A Context and Preference - Aware Location-Based Database System. In Proceedings of the VLDB Endowment, p. 1529-1532, 2010.

LIAN, L. [et. al]. Query relaxing based on ontology and users’ behavior in service discovery. In Fourth International Conference on Fuzzy Systems and Knowledge Discovery, p. 638-642, 2007.

MACIEL, P.; MENDONÇA, A. Texere, a Context-aware System for Improving Database Queries. Technical Report, Federal University of Pernambuco, Brazil, 2013.

MISHRA, C.; KOUDAS, N. Interactive query refinement. EDBT 09 Proceedings of the 12th International Conference on Extending Database Technology: Advances in Database Technology. New York, USA, p.862-873, 2009.

NEWELL, A. In Visual Information Processing. Academic Press. Chase E. (editor), New York, USA, p. 283-308, 1973.

ORACLE. Disponível em: <http://www.oracle.com/index.html>. Acesso em: 20/09/2013.

PANCHAL, B. Performance analysis for query expansion for information retrieval. Masters Thesis, California State University, Sacramento, 2012.

POSTGRESQL. Disponível em: <http://www.postgresql.org/>. Acesso em: 25/03/2014.

PRESSMAN, S. Engenharia de Software - uma abordagem profissional. 7ª edição – editora Bookman, 2011.

QUIDUTE, F. Engenharia de Requisitos no Âmbito da Computação Sensível ao Contexto. Monografia, CIn UFPE Recife, 2010.

RIJSBERGEN, J. Inforamtion Retrieval. Lon-don: Butterworths, 1979.

SEHER, I.; GINIGE, A.; SHAHRESTANI, A. A personalized query expansion approach using context. Intelligent Environments. IE 07. 3rd IET International Conference on. p. 383-390, 2007.

SOUZA, D. [et. al]. Towards a context ontology to enhance data integration processes. In 4th International VLDB Workshop ODBIS. Auckland, p. 49-56, 2008.

SOUZA, D.; SALGADO, A.; TEDESCO, P. Towards a Context Ontology for Geospatial Data Integration. In: Second International Workshop on Semantic-based Geographical Information Systems (SeBGIS'06), Montpellier, France, 2006.

SOUZA, D. [et. al]. A Semantic-based Approach for Data Management in a P2P System. Book Transactions on large-scale data and knowledge centere. Springer- Berlin,

Heidelberg 2011.

STEFANIDIS, P.; VASSILIADIS, P.; PITOURA, E. On Relaxing Contextual Preference Queries. Mdm International Conference on Mobile Data Management, p.289-293, 2007.

STUCKENSCHMIDT, H.; GIUNCHIGLI, A.;VAN-HARMELEN, F. Query processing in ontology-based peer-to-peer systems. In V. Tamma, S. Craneeld, T. Finin, and S. Willmott, editors, Ontologies for Agents: Theory and Experiences. Birkhuser, 2005.

SUM, R.; ONG, C.; CHUA, T. Mining dependency relations for query expansion in passage retrieval. SIGIR '06 Proceedings of the 29th annual international ACM SIGIR. New York, USA, p. 382 – 389, 2006.

TANCA, L.[et. al]. Problems and Opportunities in Context Based Personalization. Proc. VLDB Endowment, V. 4, p. 1-4, 2011.

TRAMONTINA, G. Database Tuning: Configurando o Interbase e o PostgreSQL. Campinas, 2008. Disponível em: <http://www.ic.unicamp.br/~geovane/mo410-091/Ch20- ConfigInterbasePosgres-art.pdf >. Acesso em: 08 novembro de 2008.

VALE, I.[et. al]. Regras Contextuais para Aplicações Sensíveis ao Contexto: Modelagem e Realização na plataforma Ginga. In: II SBCUP - III Brazilian Symposium on Ubiquitous Computing, 2010, Belo Horizonte - MG. XXX Congresso da Sociedade Brasileira de

Computação (II SBCUP), 2010.

VIEIRA, V.; TEDESCO, P.; SALGADO A. Modelos e Processos para o Desenvolvimento de Sistemas Sensíveis ao Contexto. Texto JAI, 2009.

VIEIRA, V.[et. al]. Uso e Representação de Contexto em Sistemas Computacionais. Tópicos em Sistemas Interativos e Colaborativos, São Carlos: UFSCAR. Cap. 4, p.127-166, 2006.

VILAR, B. Processamento de Consultas Baseado em Ontologias para Sistemas de Biodiversidade. UNICAMP, Dissertação de mestrado, 2009.

WANG, X.[et. al]. Ontology based context modeling and reasoning using OWL. In: Workshop on Context Modeling and Reasoning at II IEEE International Conference on Pervasive Computing and Communication, Orlando, Florida, 2004.

YAGUINUMA, A.; BIAJIZ, S. Sistema FOQuE para Expansão Semântica de

ConsultasBaseada em Ontologias Difusas. SBBD 2007. São Paulo, Brasil, p.208-222, 2007.

ZIMMERMANN, A.; LORENZ, A.; OPPERMANN, R. An Operational Definition of Context. In: Proc. of the 6th International and Interdisciplinary Conference on Modeling and Using Context (CONTEXT'07), LNAI 4635, Roskilde, Denmark, p. 558-571, 2007.

ZORZAL, R. Estratégia para o desenvolvimento de aplicações adaptativas de

visualização de informações com realidade aumentada. Tese (Doutorado) -Universidade Federal de Uberlândia, Uberlândia, 2009.

Apêndice B – Logs de Reescrita

Log Consulta original (Q) Consulta reescrita (Q’) Elementos

contextuais Tipo de reescrita 1 SELECT book.name, language.name as language, category.name as category

FROM book, language, category WHERE book.language_id = language.id and book.category_id = category.id and category.name like '%computação%'

SELECT book.name, language.name as language, category.name as category, author.name as author

FROM book, language, category, author, author_book, book_format

WHERE language.name = 'Portugûes' AND book.language_id = language.id AND

book.category_id = category.id AND author_book.id_author = author.id AND author_book.id_book = book.id AND (category.name like '%computação%' ) AND book.format = book_format.id AND book_format.format Not In ( 'braile', 'brinquedo' ) AND category.name Not In ( 'Romance Juvenil', 'Poesia infanto- juvenil', 'Fabula Infantil', 'Educativo escolar médio',

'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil' ) AND category.name Not In ( 'Médica', 'Direito', 'Psicologia', 'Engenharia', 'Administração' ) Idade, Profissão, Deficiência, Grau de Escolaridade, Sexo, Preferência Literária, Idioma Preferido Expansão, Relaxamento 2 SELECT book.name, language.name as language, category.name as category, author.name as author FROM

book, language, category, author, author_book WHERE

book.language_id =

SEELCT book.name, language.name as language, category.name as category, author.name as author

FROM book, language, category, author, author_book, book_format

WHERE language.name = 'Português' AND book.language_id = language.id AND

book.category_id = category.id AND author_book.id_author = author.id AND author_book.id_book = book.id AND (category.name = 'Romance Adulto' ) AND book.format = ook_format.id AND book_format.format Not In ( 'braile', 'brinquedo' ) AND category.name Not In ( 'Romance Juvenil', 'Poesia infanto- juvenil', 'Fabula Infantil', 'Educativo escolar médio',

'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil')

Idade, Profissão, Idioma Preferido, Deficiência, Sexo, Deficiência, Grau de Escolaridade Expansão, Relaxamento, Formatação

language.id and book.category_id = category.id and author_book.id_author = author.id and author_book.id_book = book.id and (category.name = 'Romance Adulto' )

AND category.name Not In ('Médica', 'Direito', 'Psicologia', 'Engenharia', 'Administração' )

UNION SELECT

book.name, language.name as language, category.name as category, author.name as author

FROM book, language, category, author, author_book, book_format

WHERE language.name != 'Português' AND book.language_id = language.id AND

book.category_id = category.id AND author_book.id_author = author.id AND author_book.id_book = book.id AND (category.name = 'Romance Adulto' ) AND book.format = book_format.id AND book_format.format Not In ( 'braile', 'brinquedo' ) AND category.name Not In ( 'Romance Juvenil', 'Poesia infanto- juvenil', 'Fabula Infantil', 'Educativo escolar médio',

'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil') AND category.name Not In ('Médica', 'Direito', 'Psicologia', 'Engenharia', 'Administração' )

3 SELECT book.* FROM book

SELECT book.*

FROM book, book_format, category

WHERE category.name = 'ciência da computação' AND book.format = book_format.id AND book_format.format Not In ( 'braile', 'brinquedo' ) AND book.category_id = category.id AND

category.name Not In ('Romance Juvenil', 'Poesia infanto-juvenil', 'Fabula Infantil', 'Educativo escolar médio', 'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil' ) AND category.name Not In ( 'Médica',

'Direito', 'Psicologia', 'Engenharia', 'Administração' ) UNION SELECT book.*

FROM book, book_format, category

WHERE category.name != 'ciência da computação' AND book.format = book_format.id AND

book_format.format Not In ( 'braile', 'brinquedo' ) AND book.category_id = category.id AND category.name Not In ( 'Romance Juvenil', 'Poesia infanto-

Idade, Profissão, Idioma Preferido, Deficiência, Idioma, Sexo, Deficiência, Grau de Escolaridade Expansão, Formatação

juvenil', 'Fabula Infantil', 'Educativo escolar médio', 'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil' ) AND category.name Not In ( 'Médica', 'Direito', 'Psicologia', 'Engenharia', 'Administração')

4 SELECT book.name, category.name as category

FROM book , category WHERE book.category_id = category.id and category.name = 'Romance Juvenil'

SELECT book.name, category.name as category FROM book, category, book_format, language

WHERE language.name = 'Inglês' AND language.id = book.language_id AND book.category_id = category.id AND (category.name = 'Romance Juvenil' ) AND book.format = book_format.id AND book_format.format Not In ( 'braile', 'brinquedo' ) AND category.name Not In ( 'Poesia infanto-juvenil', 'Fabula Infantil', 'Educativo escolar médio', 'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil' ) AND category.name Not

In ('Médica', 'Direito', 'Psicologia', 'Engenharia', 'Administração' )

Idade, Profissão, Idioma Preferido, Deficiência, Idioma, Sexo, Deficiência, Grau de Escolaridade Expansão 5 SELECT book.name FROM book WHERE book.name = ‘medicina' SELECT book.name

FROM book, book_format, category

WHERE (category.name = 'ciência da computação' OR book.name like

'%medicina%' ) AND book.format = book_format.id AND book_format.format Not In ( 'braile', 'brinquedo' ) AND

book.category_id = category.id AND category.name Not In ( 'Romance Juvenil', 'Poesia infanto-juvenil', 'Fabula Infantil', 'Educativo escolar médio', 'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil' ) AND category.name Not In ( 'Médica', 'Direito', 'Psicologia', 'Engenharia', 'Administração' ) Idade, Profissão, Idioma Preferido, Deficiência, Idioma, Sexo, Deficiência, Grau de Escolaridade Expansão, Relaxamento 6 SELECT book.name, book_format.format FROM book , book_format WHERE book.format = book_format.id and (book_format.format = 'digital' )

SELECT book.name, book_format.format FROM book, book_format, category

WHERE category.name = 'ciência da computação' AND book.format = book_format.id AND (book_format.format = digital ) AND

book_format.format Not In ( 'braile', 'brinquedo' ) AND

book.category_id = category.id AND category.name Not In ( 'Romance Juvenil', 'Poesia infanto-juvenil', 'Fabula Infantil', 'Educativo escolar médio', 'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil' ) AND category.name Not In ( 'Médica', 'Direito', 'Psicologia', 'Engenharia',

Idade, Profissão, Idioma Preferido, Deficiência, Idioma, Sexo, Deficiência, Grau de Expansão

'Administração' ) Escolaridade 7 SELECT book.name, language.name as language, book.review, book_format.format, category.name as category, author.name as author, book.quantity FROM book, language, book_format, category, author, author_book WHERE book.language_id = language.id and book.format = book_format.id and book.category_id = category.id and author_book.id_author = author.id and author_book.id_book = book.id

SELECT book.name, language.name as language, book.review, book_format.format, category.name as category, author.name as author, book.quantity

FROM book, language, book_format, category, author, author_book

WHERE category.name = 'ciência da computação' AND book.language_id = language.id AND

book.format = book_format.id AND book.category_id = category.id AND author_book.id_author = author.id AND author_book.id_book = book.id AND book_format.format Not In ( 'braile', 'brinquedo' ) AND category.name Not In ( 'Romance

Juvenil', 'Poesia infanto-juvenil', 'Fabula Infantil', 'Educativo escolar médio', 'Fábula Juvenil', 'Educativo Infantil', 'Fábula Infantil', 'Fabula Infano-juvenil' ) AND category.name Not In (

'Médica', 'Direito', 'Psicologia', 'Engenharia', 'Administração' )

Idade, Profissão, Idioma Preferido, Deficiência, Sexo, Deficiência, Grau de Escolaridade Expansão

Documentos relacionados