元素:ConceptProperty / 資訊
命名空間 | http://schemas.google.com/dspl/2010 | ||||
---|---|---|---|---|---|
註解 | 概念屬性的文字資訊。 | ||||
圖表 | |||||
類型 | 資訊 | ||||
屬性 |
|
||||
模型 | name、description{0,1}、url{0,1} | ||||
兒童 | description、name、url | ||||
執行個體 |
<info> <name>{1,1}</name> <description>{0,1}</description> <url>{0,1}</url> </info> |
||||
資料來源 |
<xs:element name="info" type="Info" minOccurs="0"> <xs:annotation> <xs:documentation>Textual information about the concept property.</xs:documentation> </xs:annotation> </xs:element> |
元素:ConceptProperty / 類型
命名空間 | http://schemas.google.com/dspl/2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
註解 | 概念屬性的資料類型。 | ||||||||||||
圖表 | |||||||||||||
屬性 |
|
||||||||||||
屬性 |
|
||||||||||||
資料來源 |
<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> |
複雜類型:ConceptProperty
命名空間 | http://schemas.google.com/dspl/2010 | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
註解 | 概念的屬性,例如城市的國家/地區。 | ||||||||||||||||||||||||||||||
圖表 | |||||||||||||||||||||||||||||||
使用這項素材資源的廣告 |
|
||||||||||||||||||||||||||||||
模型 | info{0,1}、type{0,1} | ||||||||||||||||||||||||||||||
兒童 | info、type | ||||||||||||||||||||||||||||||
屬性 |
|
||||||||||||||||||||||||||||||
資料來源 |
<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> |
屬性:ConceptProperty / type / @ref
命名空間 | 沒有命名空間 | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
類型 | 資料類型 | ||||||||||||||||||
屬性 |
|
||||||||||||||||||
商情項目 |
|
||||||||||||||||||
使用這項素材資源的廣告 |
|
||||||||||||||||||
資料來源 |
<xs:attribute name="ref" type="DataType" use="required"/> |
屬性:ConceptProperty / @id
命名空間 | 沒有命名空間 | |||
---|---|---|---|---|
註解 | 概念屬性的 ID。此 ID 在概念 (跨屬性和屬性) 中不得重複。如果已指定概念屬性,則可省略這個 ID。在這種情況下,系統會使用隱含方式參照所指概念的本機名稱,以隱含方式建立 ID。舉例來說,<property concept="geo:country"/> 相當於 <property id="country" concept="geo:country"/> | |||
類型 | 地區 ID | |||
屬性 |
|
|||
商情項目 |
|
|||
使用這項素材資源的廣告 |
|
|||
資料來源 |
<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> |
屬性:ConceptProperty / @concept
命名空間 | 沒有命名空間 | ||
---|---|---|---|
註解 | 參照與屬性值的概念的參照。如果屬性指定了類型,則該類型必須與所參照概念的類型相符。外部概念的參照格式必須是「prefix:other_concept_id」,其中「prefix」是外部資料集命名空間使用的前置字串 (請參閱 XML 命名空間)。 | ||
類型 | Xs:QName | ||
屬性 |
|
||
使用這項素材資源的廣告 |
|
||
資料來源 |
<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> |
屬性:ConceptProperty / @isParent
命名空間 | 沒有命名空間 | ||||
---|---|---|---|---|---|
註解 | 如果值為 true,這個屬性必須參照概念,此屬性代表這個概念與所參照概念之間的階層關係 (例如國家的洲別)。 | ||||
類型 | xs:布林值 | ||||
屬性 |
|
||||
使用這項素材資源的廣告 |
|
||||
資料來源 |
<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> |
屬性:ConceptProperty / @isMapping
命名空間 | 沒有命名空間 | ||||
---|---|---|---|---|---|
註解 | 如果值為 true,這個屬性應參照某個概念,此屬性代表這個概念與所參照概念之間的對應 (一對一) 關係。此概念的每個執行個體最多都會參照這個概念的執行個體。 | ||||
類型 | xs:布林值 | ||||
屬性 |
|
||||
使用這項素材資源的廣告 |
|
||||
資料來源 |
<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> |
使用 oXygen XML 編輯器建立。