Pular para o conteĂºdo principal

Explaining and Querying Knowledge Graphs by Relatedness - Leitura de Artigo (DEMO)

Valeria Fionda and Giuseppe PirrĂ². 2017. Explaining and querying knowledge graphs by relatedness. Proc. VLDB Endow. 10, 12 (August 2017), 1913–1916. DOI:https://doi.org/10.14778/3137765.3137807

ABSTRACT
We demonstrate RECAP, a tool that explains relatedness between entities in Knowledge Graphs (KGs) and implements a query by relatedness paradigm that allows to retrieve entities related to those in input. 
 
One of the peculiarities of RECAP is that it does not require any data preprocessing and can combine knowledge from multiple KGs. The underlying algorithmic techniques are reduced to the execution of SPARQL queries plus some local refinement. This makes the tool readily available on a large variety of KGs accessible via SPARQL endpoints. 
 
To show the general applicability of the tool, we will cover a set of use cases drawn from a variety of knowledge domains (e.g., biology, movies, co-authorship networks) and report on the concrete usage of RECAP in the SENSE4US FP7 project. 
 
We will underline the technical aspects of the system and give details on its implementation. The target audience of the demo includes both researchers and practitioners and aims at reporting on the benefits of RECAP in practical knowledge discovery applications.
 
1. INTRODUCTION
 
LOD datasets can be queried via SPARQL, an expressive query language, while Google’s KG and the like are typically accessible only via keywords. In the first case, users require knowledge of the SPARQL query language while in the second case, the lack of a query language makes it difficult to precisely express what one is looking for. 
 
One peculiarity of KGs underlying Google and other search engines is that they also suggest entities related to the entity in input.
 
* NĂ£o Ă© sĂ³ busca, contĂ©m recomendaĂ§Ă£o * 
 
In this demo we demonstrate a novel approach that combine relatedness explanations and querying capabilities called RECAP. The user inputs a pair of entities and the system produces different types of explanations that capture the essence of their relatedness according to different aspects (e.g., path diversity, informativeness).
 
* Explicabilidade da relaĂ§Ă£o *
 
One peculiarity of RECAP is the possibility to work with any existing KG without data preprocessing. Because of this design choice, the algorithmic techniques are reduced to the execution of a set of queries plus some local refinement. We will focus on an implementation of RECAP using the SPARQL query language for RDF data, which makes the tool readily available on a variety of KGs accessible via SPARQL endpoints.
 
* Uso imediato pq nĂ£o requer prĂ© processamento e trata de relaĂ§Ă£o. Na ferramenta de similaridade do kgtk tem o cĂ¡lculo de embeddings e Ă© similaridade *
 
Here, relatedness explanations provided by RECAP are useful to investigate and show to the user topic connectivity, thus enabling to find out previously unknown relevant information, understand how it is of relevance, and navigate it.
 
2. SYSTEM DESCRIPTION
 
In this demo we focus on KGs encoded in the RDF data format and accessed via a SPARQL endpoint. Nevertheless, our approach is generic enough to capture data in other graph data formats.

     

[Path Builder] A user information request is expressed as a pair of entities plus a maximal distance. ... The first step of the evaluation of an information need consists in retrieving paths interlinking the specified entities by issuing a set of (automatically constructed) SPARQL queries to one or more endpoints. 
 
* Acredito que seja um conjunto de queries BGP simulando uma BFS saindo da origem, percorrendo a distĂ¢ncia especificada, atĂ© encontrar o nĂ³ de destino *  
* RDF Ă© grafo direcionado, deve considerar somente essa direĂ§Ă£o para achar o caminho *
 
[Explanation Builder] Paths interlinking entities form the basis to generate different kinds of query explanations. One immediate type of explanation is the merge of all retrieved paths.  
 
* Agrupo todos os caminhos encontrados e forma um subgrafo *
 
However, this kind of explanation becomes quickly unreadable as the number of intermediate entities involved can be very large. To cope with this issue, RECAP allows to flexibly chose the set of paths that will form an explanation.
 
* CritĂ©rios para ordernar e podar os caminhos que vĂ£o ser incluĂ­do na explicaĂ§Ă£o * 
  • Informativeness: it is estimated by investigating RDF predicates in a path via the notion of Predicate Frequency Inverse Triple Frequency.
  • Pattern informativeness: a path pattern generalizes a path by replacing nodes with variables. Pattern informativeness is computed by counting the number of paths sharing a certain path pattern.
  • Diversity: it takes into account the variety of predicates in a set of paths; diversity guarantees to rank high paths that contain rare predicates.
* Predicate Frequency Inverse Triple Frequency: nĂºmero de vezes que o predicado aparece no caminho / nĂºmero de predicados distintos dos caminhos - CONFIRMAR * 
 
The user can use one or more path ranking strategies to build an explanation....
 
[KG Query Engine] Explanations capture the essence of relatedness between a pair of entities. RECAP leverages explanations to learn SPARQL queries that can be used to find other pairs of entities similar to those in input. The tool considers three different approaches for learning SPARQL queries: 
(i) edge-isomorphic, where nodes in an explanation are replaced by variables while keeping the same join structure; 
(ii) onto-relaxed queries obtained from edge-isomorphic queries by substituting a subset of predicates with more general ones (taken from the ontology); 
(iii) edge-relaxed queries obtained from edge-isomorphic queries by substituting a subset of predicates with variables. Predicates to be relaxed can be either indicated by the user or automatically selected on the basis of predicates’ informativeness. 
 
* TrĂªs opções para construir as queries. Para a segunda opĂ§Ă£o Ă© necessario ter uma ontologia e entendi que precisa usar reasoning para usar um predicado pai e ainda assim recuperar caminhos que passam por predicados filho * 
 
The last component of the query engine involves the ranking of results. RECAP at the moment implements two different strategies; one based on Pagerank and the other based on the Katz index introduced to estimate the relatedness of actors in a social network.
 
* OrdenaĂ§Ă£o dos resultados gerados com as consultas SPARQL extraĂ­das da explicaĂ§Ă£o entre os dois nĂ³s de entrada *  

3. RUNNING EXAMPLE
 
We have developed a main running example that will serve as a basis to explain the ideas underlying our framework.
 
The example is on the domain of movies and involves the pair of entities <A> and <B>. The users inputs this pair to RECAP ...
he interface also enables to chose the maximum path distance to be considered ... An example of explanation  ... combines information from Freebase and DBpedia. The explanation includes the top-20 most informative paths (out of 240) at max. distance 2 for the pair ... 
 
* Encontra caminhos e cada caminho possui um cĂ¡lculo de relevĂ¢ncia para ordenaĂ§Ă£o dos resultados. Os top-K, onde K Ă© definido na aplicaĂ§Ă£o, sĂ£o apresentados *  
 
.... allows to filter an explanation according to certain types of predicates. ...
 
* Poderia filtrar por contexto se as consultas recuperassem o contexto dos caminhos *  
* O filtro Ă© aplicado na interface depois que os caminhos sĂ£o recuperados, ordenados e apresentados ao usuĂ¡rio *

The system suggests different types of SPARQL queries ... query can be (manually) refined and then executed to find other pairs of entities. The top-k pairs of entities found, and ranked by their popularity, are show  ...
 
* As consultas BGP/CGP geradas para representar os caminhos encontrados podem ser aplicadas a outros pares de nĂ³s <origem> e <destino>, usando os nĂ³s intermediĂ¡rios como variĂ¡veis *
 
4. DEMONSTRATION SCENARIO
 
We will pick specific examples having small and large explanations and underline the following aspects: (i) filtering explanations is a necessary step when the size of the explanation starts to grow; (ii) each type of explanation has pros and cons. 
 
The idea is to underline the pros and cons of our approach with particular emphasis on the following aspects: (i) balance between path length and running time; (ii) motivate the design choice to work on top of KGs and access them only via endpoints.  

* NĂ£o faz referĂªncia ao deo online *
* A abordagem de encontrar caminhos entre dois nĂ³s (usados como seed / semente) e depois extrair padrões de queries BGP desses caminhos para uma forma de aprendizado mas Ă© feito por regras *

ComentĂ¡rios

Postagens mais visitadas deste blog

Connected Papers: Uma abordagem alternativa para revisĂ£o da literatura

Durante um projeto de pesquisa podemos encontrar um artigo que nos identificamos em termos de problema de pesquisa e tambĂ©m de soluĂ§Ă£o. EntĂ£o surge a vontade de saber como essa Ă¡rea de pesquisa se desenvolveu atĂ© chegar a esse ponto ou quais desdobramentos ocorreram a partir dessa soluĂ§Ă£o proposta para identificar o estado da arte nesse tema. Podemos seguir duas abordagens:  realizar uma revisĂ£o sistemĂ¡tica usando palavras chaves que melhor caracterizam o tema em bibliotecas digitais de referĂªncia para encontrar artigos relacionados ou realizar snowballing ancorado nesse artigo que identificamos previamente, explorando os artigos citados (backward) ou os artigos que o citam (forward)  Mas a ferramenta Connected Papers propõe uma abordagem alternativa para essa busca. O problema inicial Ă© dado um artigo de interesse, precisamos encontrar outros artigos relacionados de "certa forma". Find different methods and approaches to the same subject Track down the state of the art rese...

Knowledge Graph Embedding with Triple Context - Leitura de Abstract

  Jun Shi, Huan Gao, Guilin Qi, and Zhangquan Zhou. 2017. Knowledge Graph Embedding with Triple Context. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management (CIKM '17). Association for Computing Machinery, New York, NY, USA, 2299–2302. https://doi.org/10.1145/3132847.3133119 ABSTRACT Knowledge graph embedding, which aims to represent entities and relations in vector spaces, has shown outstanding performance on a few knowledge graph completion tasks. Most existing methods are based on the assumption that a knowledge graph is a set of separate triples, ignoring rich graph features, i.e., structural information in the graph. In this paper, we take advantages of structures in knowledge graphs, especially local structures around a triple, which we refer to as triple context. We then propose a Triple-Context-based knowledge Embedding model (TCE). For each triple, two kinds of structure information are considered as its context in the graph; one is the out...

KnOD 2021

Beyond Facts: Online Discourse and Knowledge Graphs A preface to the proceedings of the 1st International Workshop on Knowledge Graphs for Online Discourse Analysis (KnOD 2021, co-located with TheWebConf’21) https://ceur-ws.org/Vol-2877/preface.pdf https://knod2021.wordpress.com/   ABSTRACT Expressing opinions and interacting with others on the Web has led to the production of an abundance of online discourse data, such as claims and viewpoints on controversial topics, their sources and contexts . This data constitutes a valuable source of insights for studies into misinformation spread, bias reinforcement, echo chambers or political agenda setting. While knowledge graphs promise to provide the key to a Web of structured information, they are mainly focused on facts without keeping track of the diversity, connection or temporal evolution of online discourse data. As opposed to facts, claims are inherently more complex. Their interpretation strongly depends on the context and a vari...