12.01.2015 Views

Download - Academy Publisher

Download - Academy Publisher

Download - Academy Publisher

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

semantic model way so as to alleviate the pressure of<br />

application processing date.<br />

B. XML Semantics<br />

It is known that XML semantics is semantic<br />

information in XML document.<br />

As to information description, it is ideal to describe all<br />

information with same syntax. As an effective way to<br />

share the data among applications or machines, XML<br />

makes it possible to put data with different types into<br />

same format. While, the understanding to XML semantics<br />

is different in different fields, among which, three such<br />

understandings have solved different problems of XML.<br />

1) Mapping to UML: Mapping XML document to<br />

XML diagram as its semantics. MDL (Meaning<br />

Definition Language) [8] is such a kind of language,<br />

which chooses XML nodal points with Xpath expression<br />

words and maps the points to UML object, attribute and<br />

relation. While, XML data binding is a technique to map<br />

XML document OO of object model.<br />

2)Basing on format semantic way of procedure<br />

language: XML semantics can be defined format<br />

semantic way of procedure language, for example,<br />

W3C[9] standard defines Xpath and Xquery operation<br />

semantics with judge and inference rule; Wadler [10]<br />

describes model semantic of Xpath and XSLT with<br />

traditional referring semantics; Yang[l1]describes Xpath<br />

semantics with formalizing standard language of Object-<br />

Z.<br />

3)Basing on attribute grammar: Finding the similarity<br />

between XML marked document and character string<br />

generated from BNF grammar, Psaila & Crespi-<br />

Reghizzi[l2] put forward a way to transfer DTD element<br />

description to formal EBNF rule and Semantics rule<br />

definition (SRD) and gives an algorithm to calculate<br />

XML relation semantics of the rule definition. After that,<br />

Havasi[13] further advanced a new semantic rule<br />

congregation and expression language of semantic rule<br />

meta-language (SRML), which extend XML. Attribute<br />

grammar checks semantic consistency by examining and<br />

evaluating attribute value.<br />

III.XML IMPLICIT SEMANTICS<br />

Though having been the base of web technique<br />

framework, with its application in data exchange and<br />

application congregation, XML is more and more known<br />

for its important shortage: expression only in data<br />

grammar, not in formalizing semantics.<br />

Basic XML idea: data in XML document is described<br />

by labels in a meaningful and self-description way,<br />

especially label names selected by experts [14]. The label<br />

reflects common recognition. For example, label of<br />

means the age which can be inferred that data<br />

marked on the label refers to age. However, XML<br />

including DTD or XML Schema does not give<br />

formalizing system to explain what the label mean which<br />

results in XML processor’s failure to understand what<br />

label mean in XML document. In fact, there is no<br />

difference in the meaning between label and<br />

HTML label . That means XML shows grammar<br />

rather than formalizing semantics.<br />

While, XML label and XML document framework<br />

contain some meaning, the label means something to<br />

human beings, just like XML fragment:<br />

<br />

<br />

Computer Network<br />

Compulsor <br />

<br />

<br />

expresses rich semantic information as follows: a<br />

lecturer named “David Kevin” teaches a compulsory<br />

course of “computer network”. The nest between nodal<br />

points of lecturer and course shows a relation of professor.<br />

Semantic information in XML document is called as<br />

XML semantics [2]. XML semantics is expressed by<br />

document framework and label such as element nest and<br />

nest adjacency, and XML attribute. It is worthy to<br />

mention, there is no corresponding rules to bind XML ’s<br />

semantic expression way, so XML implicit semantic<br />

expression ways are diverse with irregular formats, such<br />

as nest and adjacency of node, and detailed meaning of<br />

node order. So it is difficulty to automatically analyse and<br />

extract relevant semantic information from XML<br />

document.<br />

IV.XML IMPLICIT SEMANTIC EXPRESSION MODEL<br />

In fact, XML is designed to be a unified data format<br />

and not suitable to show concept modal, which including<br />

concept, attribute and their relation. However, when users<br />

express data to XML document, data semantic<br />

information has been in label and framework of XML<br />

document such as element nest and adjacency, XML<br />

attribute nodal order and ID / IDREF. But it is impossible<br />

for the machine to understand semantic information;<br />

furthermore, most semantic information has been lost.<br />

However, XML has visual semantics; there is some<br />

meaning in the label which means something to human<br />

beings. In addition, XML document framework also<br />

mean something and XML semantics is impliedly<br />

expressed in XML document.<br />

XML has rich semantic information and diversified<br />

semantic expression ways, generally including word,<br />

individual, and data attribute and object attribute of OWL<br />

DL.<br />

A. Expressions of words<br />

In XML, word is generally showed by the value of text<br />

node and XML attribute. If data pattern defined in XML<br />

Schema, it corresponds to OWL pattern word. But<br />

element sometimes can be expressed into character, say<br />

as data attribute value, while these elements owns no<br />

attributive node. For example, an XML document to<br />

show students’ scores.<br />

<br />

<br />

<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!