The fresh new group of every symbol spaces you to definitely partition

The fresh new group of every symbol spaces you to definitely partition

  • New lexical place out of an icon room are a low-blank set of Unicode profile strings.
  • The brand new identifier away from an icon area is a series of Unicode letters that setting an outright IRI [RFC-3987].
  • Various other icon rooms do not show an identical identifier.

To simplify the language, we will often use symbol space identifiers to refer to the actual symbol spaces (for instance, we may use “symbol space xs:sequence” instead of “symbol space identified by xs:sequence“).

where exact is called the lexical part of the symbol, and symspace is the identifier of the symbol space. Here literal is a sequence of Unicode characters that must be an element in the lexical space of the symbol space symspace. For instance, "1.2"^^xs:quantitative and "1"^^xs:quantitative are syntactically valid constants because 1.2 and 1 are members of the lexical space of the XML Schema datatype xs:decimal. On the other hand, "a+2"^^xs:quantitative is not a syntactically valid symbol, since a+2 is not part of the lexical space of xs:decimal.

Actually

RIF requires that all dialects include the symbol spaces listed and described in Section Constants and Symbol Spaces of [RIF-DTB] as part of their language. These symbol spaces include constants that belong to several important XML Schema datatypes, certain RDF datatypes, and constant symbols specific to RIF. The latter include the symbol spaces rif:iri and rif:regional, which are used to represent internationalized resource identifiers (IRIs [RFC-3987]) and constant symbols that are not visible outside of the RIF document in which they occur, respectively. Documents that are exchanged through RIF can use additional symbol spaces (for instance, xpress a symbol space to represent Skolem constants and functions).

We will often refer to constant symbols that come from a particular symbol space, X, as X constants. For instance, the constants in the symbol space rif:iri will be referred to as IRI constants or rif:iri constants and the constants found in the symbol space rif:regional as local constants or rif:local constants.

dos.4 Conditions

The simplest create away from a logic language try a phrase. RIF-FLD supporting many different types out-of terms and conditions: constants, parameters, the standard positional terms, as well as words that have called objections, equivalence, classification terms, structures, and a lot more. The word “term” would be used to relate to whichever identity.

  1. Constants and variables. If t ? Const or t ? Var then t is a simple term.
  2. Positional terms. If t and t1, . tn are terms then t(t1 . tn) is a positional term.

Positional terms in RIF-FLD generalize the regular notion of a term used in first-order logic. For instance, the above definition allows variables everywhere, as in ?X(?Y ?Z(?V "12"^^xs:integer)), where ?X, ?Y, ?Z, and ?V are variables. ?X("abc"^^xs:sequence ?W)(?Y ?Z(?V "33"^^xs:integer)) is a positional term (as in HiLog [CKW93]).

The term t here represents a predicate or a function; s1, . sn represent argument names; and v1, . vn represent argument values. Terms with named arguments are like regular positional terms except that the arguments are named and their order is immaterial. Note that a term with no arguments, like f(), is, trivially, both a positional term and a term with named arguments.

For instance, "person"^^xs:string(""^^rif:iri->?Y ""^^rif:iri->?Z), ?X("123"^^xs:integer ?W)(arg->?Y arg2->?Z(?V)), and "Closure"^^rif:local(""^^rif:iri->""^^rif:iri)("from"^^rif:local->?X "to"^^rif:local->?Y) are terms with named arguments. The second of these named-argument terms uses a positional term, ?X("123"^^xs:integer ?W), in the role of the function, and the third term’s function is itself represented by a named-argument term.

  • A closed list has the form List(t1 . tm), where m?0 and t1, . tm are terms.
  • An open list (or a list with a tail) has the form OpenList(t1 . tm t), where m>0 and t1, . tm, t are terms. Open lists are written in the presentation syntax as follows: List(t1 . tm | t).

administrator

Leave a Reply

Your email address will not be published.

No Image Found