Skip to main content

cuatro.dos Mapping regarding the RIF-FLD Speech Sentence structure to the XML Sentence structure

By 2022년 08월 10일No Comments

cuatro.dos Mapping regarding the RIF-FLD Speech Sentence structure to the XML Sentence structure

Note that if D requires the directive Dialect(D) as part of its syntax then this implies that any D-admissible document must have this directive. ?

A round-falling from an enthusiastic admissible file inside the a dialect, D, was an excellent semantics-sustaining mapping in order to a document in just about any words L followed closely by good semantics-sustaining mapping regarding the L-file back again to a keen admissible D-document. While you are semantically comparable, the first additionally the round-set off D-records need not be the same.

cuatro.step one XML towards RIF-FLD Vocabulary

RIF-FLD spends [XML1.0] for its XML sentence structure. New XML serialization to own RIF-FLD are switching or fully striped [ANF01]. A fully striped serialization views XML records since the objects and you may divides all XML labels on the category descriptors, entitled kind of tags, and you may property descriptors, entitled character tags [TRT03]. I stick to the lifestyle of employing capitalized names to possess particular labels and you may lowercase brands having role labels.

amolatina sign in

The all-uppercase classes in the EBNF of the presentation syntax, such as Algorithm, become XML Schema groups in Appendix XML Schema for FLD. They are not visible in instance markup. The other classes as well as non-terminals and symbols (such as Is available or =) become XML elements with optional attributes, as shown below.

Getting capacity for source, the initial formulas are included on top

The RIF serialization framework for the syntax of Section EBNF Grammar for the Presentation Syntax of RIF-FLD uses the following XML tags. While there is a RIF-FLD element tag for the Transfer directive and an attribute for the Dialect directive, there are none for the Ft and Prefix directives: they are handled as discussed in Section Mapping from the RIF-FLD Presentation Syntax to the XML Syntax.

The name of an effective prefix is not with the an XML function, because it is handled through preprocessing while the discussed into the Area Mapping of your own Low-annotated RIF-FLD Vocabulary.

The id and meta elements, which are expansions of the IRIMETA element, can occur optionally as the initial children of any Class element.

The XML syntax for symbol spaces uses the type attribute associated with the XML element Const. For instance, a literal in the xs:dateTime datatype is represented as 2007-11-23T-.

The xml:lang attribute, as defined by 2.12 Language Identification of XML 1.0 or its successor specifications in the W3C recommendation track, is optionally used to identify the language for the presentation of the Const to the user. It is allowed only in association with constants of the type rdf:plainLiteral. A compliant implementation MUST ignore the xml:lang attribute if the type of the Const is not rdf:plainLiteral.

This situation shows an XML serialization on the algorithms during the Analogy step three. To possess better readability, we again make use of the shortcut sentence structure laid out into the [RIF-DTB].

This section defines a normative mapping, ?fld, from the presentation syntax of Section EBNF Grammar for the Presentation Syntax of RIF-FLD to the XML syntax of RIF-FLD. The mapping is given via tables where each row specifies the mapping of a particular syntactic pattern in the presentation syntax. These patterns appear in the first column of the tables and the bold-italic symbols represent metavariables. The second column represents the corresponding XML patterns, which may contain applications of the mapping ?fld to these metavariables. When an expression ?fld(metavar) occurs in an XML pattern in the right column of a translation table, it should be understood as a recursive application of ?fld to the presentation syntax represented by the metavariable. The XML syntax result of such an application is substituted for the expression ?fld(metavar). A sequence of terms containing metavariables with subscripts is indicated by an ellipsis. A metavariable or a well-formed XML subelement is marked as optional by appending a bold-italic question mark, ?, to its right.


Author 천소현

More posts by 천소현