Komponent: Concept Property

Element: ConceptProperty / informacje

Przestrzeń nazw http://schemas.google.com/dspl/2010
Adnotacje Informacje tekstowe na temat właściwości koncepcji.
Diagram Diagram dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
Typ Informacje
Właściwości
treść: Złożone
min.: 0
Model name , description{0,1} , url{0,1}
Dzieci description, name, url
Instancja
<info>
  <name>{1,1}</name>
  <description>{0,1}</description>
  <url>{0,1}</url>
</info>
Źródło
<xs:element name="info" type="Info" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Textual information about the concept property.</xs:documentation>
  </xs:annotation>
</xs:element>

Element: ConceptProperty / typ

Przestrzeń nazw http://schemas.google.com/dspl/2010
Adnotacje Typ danych właściwości koncepcji.
Diagram Diagram dspl8.tmp#id52
Właściwości
treść: Złożone
min.: 0
Atrybuty
QName Typ Naprawiono Domyślny Użyj Adnotacja
źródło DataType wymagane
Źródło
<xs:element name="type" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The data type of the concept property.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="ref" type="DataType" use="required"/>
  </xs:complexType>
</xs:element>

Typ złożony: Concept Property

Przestrzeń nazw http://schemas.google.com/dspl/2010
Adnotacje Właściwość danego elementu (np. kraj miasto).
Diagram Diagram dspl8.tmp#id53 dspl8.tmp#id54 dspl8.tmp#id55 dspl8.tmp#id56 dspl8.tmp#id50 dspl8.tmp#id51
Używane przez
Element Pojęcie/właściwość
Model info{0,1} , type{0,1}
Dzieci info, typ
Atrybuty
QName Typ Naprawiono Domyślny Użyj Adnotacja
koncepcja xs:QName opcjonalnie Odniesienie do pojęcia, który odpowiada wartościom. usługi. Jeśli właściwość określa typ, zostanie użyty typ musi pasować do typu wskazanej koncepcji. Odwołanie do koncepcja zewnętrzna musi mieć postać „prefix:other_koncepcja”, gdzie „prefiks” to prefiks używany dla przestrzeni nazw zewnętrznego zbioru danych (patrz XML przestrzeni nazw).
id LocalId opcjonalnie Identyfikator właściwości koncepcji. Ten identyfikator musi być: które są unikalne (w odniesieniu do różnych atrybutów i właściwości). Identyfikator może zostać pominięty, jeśli określono właściwość koncepcji. Pod tym kątem , domyślnie tworzony jest identyfikator z wartością lokalną nazwę tagu wymienionego pojęcia. Na przykład <property concept=&quot;geo:country&quot;/&gt; jest odpowiednikiem elementu <property id=&quot;country&quot; concept=&quot;geo:country&quot;/&gt;
isMapping xs:boolean fałsz opcjonalnie Jeśli ma wartość true (prawda), ta właściwość musi odnosić się do koncepcji, ta właściwość wskazuje na mapowanie (1 do 1) między i powiązanej koncepcji. Każde wystąpienie odwołania do pojęcie jest wskazywane przez co najmniej 1 wystąpienie tego argumentu koncepcję.
isParent xs:boolean fałsz opcjonalnie Jeśli ma wartość true (prawda), ta właściwość musi odnosić się do koncepcji, ta właściwość określa hierarchiczną relację między i pojęcie, do którego się odwołuje (np. kontynent kraj).
Źródło
<xs:complexType name="ConceptProperty">
  <xs:annotation>
    <xs:documentation>A property of a concept (e.g., the country of a city).</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="info" type="Info" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Textual information about the concept property.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="type" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The data type of the concept property.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:attribute name="ref" type="DataType" use="required"/>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="id" type="LocalId" use="optional">
    <xs:annotation>
      <xs:documentation>The id of the concept property. This identifier must be unique within the concept
          (across attributes and properties).

          The id may be omitted if the concept property is specified. In that case, an id is
          implicitly created with value the local name of the referenced concept. For instance

          <property concept="geo:country"/>

          is equivalent to

          <property id="country" concept="geo:country"/></xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="concept" type="xs:QName" use="optional">
    <xs:annotation>
      <xs:documentation>A reference to a concept that corresponds to the values of the property.

          If the property specifies a type, then the type must match the type of the
          referenced concept.

          A reference to an external concept must be of the form "prefix:other_concept_id",
          where "prefix" is the prefix used for the namespace of the external dataset
          (see XML namespaces).</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="isParent" type="xs:boolean" use="optional" default="false">
    <xs:annotation>
      <xs:documentation>If true, then this property must reference a
          concept, and this property denotes a hierarchical
          relationship between this concept and the referenced
          concept (e.g., the continent of a country).</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="isMapping" type="xs:boolean" use="optional" default="false">
    <xs:annotation>
      <xs:documentation>If true, then this property must reference a
          concept, and this property denotes a mapping
          (1-to-1) relationship between this concept and the
          referenced concept. Each instance of the referenced
          concept is referenced by at most one instance of
          this concept.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

Atrybut: ConceptProperty / type / @ref

Przestrzeń nazw Brak przestrzeni nazw
Typ DataType
Właściwości
użyj: wymagane
Aspekty
wyliczenie ciąg znaków
wyliczenie liczba zmiennoprzecinkowa
wyliczenie liczba całkowita
wyliczenie wartość logiczna
wyliczenie data
wyliczenie pomysł : koncepcja
Używane przez
Element ConceptProperty/type
Źródło
<xs:attribute name="ref" type="DataType" use="required"/>

Atrybut: ConceptProperty / @id

Przestrzeń nazw Brak przestrzeni nazw
Adnotacje Identyfikator właściwości koncepcji. Ten identyfikator musi być unikalny (w odniesieniu do różnych atrybutów i właściwości). Identyfikatorem może być jest pomijany, jeśli określono właściwość koncepcji. W takim przypadku identyfikator to niejawnie utworzona z wartością lokalną nazwę wskazanego pojęcia. Na przykład <property Concept="geo:country"/> to odpowiednik <property id="country" concept=&quot;geo:country&quot;/&gt;
Typ LocalId
Właściwości
użyj: opcjonalnie
Aspekty
maksymalna długość 64
Używane przez
Rodzaj złożony ConceptProperty
Źródło
<xs:attribute name="id" type="LocalId" use="optional">
  <xs:annotation>
    <xs:documentation>The id of the concept property. This identifier must be unique within the concept
          (across attributes and properties).

          The id may be omitted if the concept property is specified. In that case, an id is
          implicitly created with value the local name of the referenced concept. For instance

          <property concept="geo:country"/>

          is equivalent to

          <property id="country" concept="geo:country"/></xs:documentation>
  </xs:annotation>
</xs:attribute>

Atrybut: ConceptProperty / @Concept

Przestrzeń nazw Brak przestrzeni nazw
Adnotacje Odniesienie do pojęcia, który odpowiada wartościom atrybutu usłudze. Jeśli właściwość określa typ, musi on pasować do parametru lub typ wskazanej koncepcji. Odniesienie do zewnętrznej koncepcji musi mieć postać „prefix:other_Concept_id”, gdzie „prefiks” to prefiks używany dla przestrzeni nazw zewnętrznego zbiór danych (patrz przestrzenie nazw XML).
Typ xs:QName
Właściwości
użyj: opcjonalnie
Używane przez
Rodzaj złożony ConceptProperty
Źródło
<xs:attribute name="concept" type="xs:QName" use="optional">
  <xs:annotation>
    <xs:documentation>A reference to a concept that corresponds to the values of the property.

          If the property specifies a type, then the type must match the type of the
          referenced concept.

          A reference to an external concept must be of the form "prefix:other_concept_id",
          where "prefix" is the prefix used for the namespace of the external dataset
          (see XML namespaces).</xs:documentation>
  </xs:annotation>
</xs:attribute>

Atrybut: ConceptProperty / @isParent

Przestrzeń nazw Brak przestrzeni nazw
Adnotacje Jeśli ma wartość true (prawda), ta właściwość musi odnosić się do koncepcji, a to wskazuje hierarchiczną relację między tą koncepcją a wskazane pojęcie (np. kontynent danego kraju).
Typ xs:boolean
Właściwości
użyj: opcjonalnie
domyślnie: fałsz
Używane przez
Rodzaj złożony ConceptProperty
Źródło
<xs:attribute name="isParent" type="xs:boolean" use="optional" default="false">
  <xs:annotation>
    <xs:documentation>If true, then this property must reference a
          concept, and this property denotes a hierarchical
          relationship between this concept and the referenced
          concept (e.g., the continent of a country).</xs:documentation>
  </xs:annotation>
</xs:attribute>

Atrybut: ConceptProperty / @isMapping

Przestrzeń nazw Brak przestrzeni nazw
Adnotacje Jeśli ma wartość true (prawda), ta właściwość musi odnosić się do koncepcji, a to wskazuje relację mapowania (1 do 1) między tą koncepcją a wspomnianą koncepcję. Każde wystąpienie omawianej koncepcji jest a do tego może odwołać się co najmniej 1 wystąpienie tej koncepcji.
Typ xs:boolean
Właściwości
użyj: opcjonalnie
domyślnie: fałsz
Używane przez
Rodzaj złożony ConceptProperty
Źródło
<xs:attribute name="isMapping" type="xs:boolean" use="optional" default="false">
  <xs:annotation>
    <xs:documentation>If true, then this property must reference a
          concept, and this property denotes a mapping
          (1-to-1) relationship between this concept and the
          referenced concept. Each instance of the referenced
          concept is referenced by at most one instance of
          this concept.</xs:documentation>
  </xs:annotation>
</xs:attribute>

Utworzono za pomocą oXygen XML Editor.