77范文网 - 专业文章范例文档资料分享平台

PatMan A Visual Database System to Manipulate Path Patterns(5)

来源:网络收集 时间:2021-09-24 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

4.4 Output Module: Visualizing Results

The output module presents the query results, visualizing the structure of the hierarchies maintained in the TSRs and the data records organized in the resource items. It also helps the user to explore TSRs which are already stored either in plain XML files or in the RDBMS. Figure 12(a) shows a TSR schema which is the result of a query. The AND groups are denoted by the curved line crossing the involved paths (in the original implementation paths in a certain AND group have identical colors). For example, /photo/35mmSLR and /photo/35mm Systems/35mmSLR/SLR Cameras belong to an AND group. Resource items are represented by the DATA nodes. Selecting such a node, a new window opens, showing the attributes and the data records of the resource item (see Figure 12(b)).

(a)

(b)

Figure 12: Graphic Result Interface.

4.5 Other Functionalities

The PatMan system, beside its core functions for querying and storing TSRs from hierarchical catalogs, offers a set of tools supporting the user to perform other administration and manipulation tasks:

1. Query Storage. Queries can be still written (following original PatManQL’s syntax) in text files

and loaded in the system to be executed on the TSRs stored.

2. Data Import. Attributes and data records can be added to empty resource items of stored TSRs.

New data records can be also added to existing resource items of stored TSRs. Generally, resource items can be filled or constructed from scratch, given (a) relational tables filled with records or (b) plain record-oriented delimited text files.

3. XML-RDBMS Import. TRSs which are stored as plain XML files can be imported in the

RDBMS.

4. RDBMS-XML Export. TRSs which are stored in the RDBMS can be exported as plain XML

files.

Abstract. Hierarchical structures are a way to organize and enrich semantically the available information on the Web. Popular examples of such structures are the product catalogs of e-market stores, which provide data (i.e. products) organized in thematic

5. TSR re-shape. The user can change the name of the TSR, the name of the XML file used to

encode it, its description and the name of resource items.

5. Application Scenario

This section presents an application scenario to show how our system can be used to manipulate navigational path patterns and data from hierarchical catalogs. Figure 13 presents three TSRs from catalog schemas related to photo equipment. Specifically, (b) and (c) are TSRs from the catalog schemas of Adorama and B&H (presented in Figure 1), while (a) is a TSR of a new, imaginary catalog owned by X to serve the needs of our example. The first TSR is named SLR Systems (stored in the file X.xml), the second SLR cameras (stored in the file Adoramas.xml) and the third lenses (stored in the file ‘B&H.xml).

Figure 13: TSR examples.

X sells integrated photo equipment, that is camera bodies and lenses as one package. Since new lenses are out in the market, X needs to find among the lenses provided by B&H, those that fit in ‘Canon’ bodies provided by Adorama, and are not in her stock as integrated systems. To create complex resource items (i.e. camera bodies and lenses as an integrated package), the user applies the cartesian product operator on SLR cameras and lenses (see Figure 14) to construct TSR1 (see Figure 15). TSR1 includes paths from both TSRs in an AND group and data for integrated photo equipment (i.e. camera bodies and lenses).

Figure 14: Applying cartesian product operator.

Figure 15: Result of cartesian product operator.

Abstract. Hierarchical structures are a way to organize and enrich semantically the available information on the Web. Popular examples of such structures are the product catalogs of e-market stores, which provide data (i.e. products) organized in thematic

From the records of the resource item node of TSR1, the user keeps only those (a) referring to ‘Canon’ camera bodies and (b) having lenses that fit these bodies (see Figures 16 and 17). From all the attributes, the user keeps cbrand, cmodel, lmodel (see Figure 18).

Figure 16: applying select operator: first condition.

Figure 17: applying select operator: second condition.

Figure 19 illustrates TSR1. This TSR refers to integrated systems having ‘Canon’ bodies from Adorama and fitted lenses from B&H.

Figure 18: applying project operator.

Figure 19: TSR TSR1 for case 1.

To find integrated systems which are not in her stock, the user applies the difference operator between TSR1 and SLR systems, resulting in a new TSR having systems with ‘Canon’ bodies from Adorama and lenses from B&H which are not in X’s catalog. Since difference operates on two TSRs with the same set of resource item attributes, a project operator is necessary on SLR systems to keep only attributes cbrand, cmodel and lmodel before applying the difference operator. The resulting TSR (see Figure 20) has one OR component, showing that there is an integrated photo system, including a body ‘EOS-3’ and lens ‘110’ not offered by X.

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说医药卫生PatMan A Visual Database System to Manipulate Path Patterns(5)在线全文阅读。

PatMan A Visual Database System to Manipulate Path Patterns(5).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/yiyao/1253228.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: