【24h】

The G+/GraphLog Visual Query System

机译:G + / GraphLog可视查询系统

获取原文

摘要

The video presentation "The G+/GraphLog Visual Query System" gives an overview of the capabilities of the ongoing implementation of the G+ Visual Query System for visualizing both data and queries as graphs. The system provides an environment for expressing queries in GraphLog [Con89, CM89, CM90], as well as for browsing, displaying and editing graphs. The visual query system also supports displaying the answers in several different ways.

Graphs are a very natural representation for data in many application domains, for example, transportation networks, project scheduling, parts hierarchies, family trees, concept hierarchies, and Hypertext. From a broader perspective, many databases can be naturally viewed as graphs. In particular, any relational database in which we can identify one or more sets of objects of interest and relationships between them can be represented by mapping these objects into nodes and relationships into edges. In the case of semantic and object-oriented databases, there is a natural mapping of objects to nodes and attributes to edges.

GraphLog is a visual query language, based on a graph representation of both data and queries, that has evolved from the earlier language G+ [CMW87, CMW89, MW89]. GraphLog queries ask for patterns that must be present or absent in the database graph. Each such pattern, called a query graph, defines new edges that are added to the graph whenever the pattern is found. GraphLog queries are sets of query graphs, called graphical queries. If, when looking at a query graph in a graphical query, we do not find an edge label in the database, then there must exist another query graph in the graphical query defining that edge. The language also supports computing aggregate functions and summarizing along paths.

The G+ Visual Query System is currently implemented in Smalltalk-80#8482;, and runs on Sun 3,Sun 4 and Macintosh II workstations. A Graph Editor is available for editing query graphs and displaying database graphs. It supports graph "cutting and pasting", as well as text editing of node and edge labels, node and edge repositioning and re-shaping, storage and retrieval of graphs as text files, etc. Automatic graph layout is also provided. For editing collections of graphs (such as graphical queries) a Graph Browser is available.

The first answer mode supported by the G+ Visual Query System is to return as the result of a GraphLog query a graph with the new edges defined by the graphical query added to the database graph.

An alternative way of visualizing answers is by high-lighting on the database graph, one at a time, the paths (or just the nodes) described by the query. This mode is particularly useful to locate interesting starting points for browsing.

Rather than viewing the answers superimposed on the database graph, the user may choose to view them in a Graph Browser. The Graph Browser contains the set of subgraphs of the database graph that were found to satisfy the query.

Finally, the user may select to collect all the subgraphs of the database graph that satisfy the query together into one new graph. This graph (as well as any other result graph from any of the above mentioned answer modes) in turn may be queried, providing a mechanism for iterative filtering of irrelevant information until a manageable subgraph is obtained.

机译:

视频演示“ G + / GraphLog可视化查询系统”概述了正在进行中的G + 可视化查询系统实现的功能。数据和查询为图形。该系统为在 GraphLog [Con89,CM89,CM90]中表达查询以及浏览,显示和编辑图形提供了一个环境。视觉查询系统还支持以几种不同的方式显示答案。

图形是许多应用程序域中数据的非常自然的表示形式,例如,运输网络,项目计划,零件层次结构,族树,概念层次结构和超文本。从更广泛的角度来看,许多数据库可以自然地视为图形。尤其是,可以在其中标识一组或多组感兴趣的对象以及它们之间的关系的任何关系数据库都可以通过将这些对象映射到节点,将关系映射到边来表示。对于语义数据库和面向对象的数据库,对象与节点之间存在自然映射,而属性与边缘之间存在自然映射。

GraphLog是一种视觉查询语言,它基于数据和查询的图形表示形式,它是从早期的语言G + [CMW87,CMW89,MW89]演变而来的。 GraphLog查询要求数据库图中必须存在或不存在的模式。每个称为查询图的模式都定义了新的边线,只要找到该边线便会添加到图上。 GraphLog查询是一组查询图,称为图形查询。如果在查看图形查询中的查询图时,我们没有在数据库中找到边缘标签,那么在图形查询中必须存在定义该边缘的另一个查询图。该语言还支持计算聚合函数并沿路径进行汇总。

G + 可视查询系统当前在Smalltalk-80#8482中实现;可在Sun 3,Sun 4和Macintosh II工作站上运行。图形编辑器可用于编辑查询图和显示数据库图。它支持图形“剪切和粘贴”,以及节点和边缘标签的文本编辑,节点和边缘重新定位和重新成形,图形作为文本文件的存储和检索等。还提供了自动图形布局。为了编辑图的集合(例如图形查询),可以使用图浏览器。

G + 可视查询系统支持的第一个答案模式是,作为GraphLog查询的结果,返回一个图形,该图形具有由图形查询定义的新边线,并添加到了数据库图形中。 / P>

可视化答案的另一种方法是突出显示数据库图,一次突出显示查询描述的路径(或仅是节点)。此模式对于定位有趣的浏览起点特别有用。

用户可以选择在图形浏览器中查看它们,而不是查看叠加在数据库图形上的答案。图浏览器包含已找到满足查询条件的数据库图子图集。 最后,用户可以选择将满足查询条件的数据库图的所有子图收集到一个新图中。可以依次查询该图(以及来自任何上述回答模式的任何其他结果图),从而提供一种对无关信息进行迭代过滤的机制,直到获得可管理的子图为止。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号