元件: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>
|
命名空間 |
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 |
屬性 |
QName |
類型 |
固定 |
預設 |
使用 |
註解 |
概念 |
xs:QName |
|
|
選用 |
所對應概念的概念參照
。如果屬性指定類型,則類型:
必須符合所參照概念的類型。對於
外部概念必須採用下列格式
「prefix:other_concept_id」,其中「prefix」為
外部資料集命名空間使用的前置字串 (請參閱 XML
命名空間)。 |
id |
LocalId |
|
|
選用 |
概念屬性的 ID,此 ID 必須是
屬於特定類別 (所有屬性和屬性) 的不重複值
如果已指定概念屬性,則可省略 ID。在這個例子中
系統會默示建立 ID,並將值設為
所學概念例如 <property
concept="geo:country"/>等同於 <property
id="country"
concept="geo:country"/> |
isMapping |
xs:boolean |
|
false |
選用 |
如果為 true,這個屬性必須參照一個概念,且
這個屬性代表此屬性在
模型和參照的概念所參照的每個例項
這個概念最多只有一個例項
概念。 |
isParent |
xs:boolean |
|
false |
選用 |
如果為 true,這個屬性必須參照一個概念,且
這個屬性代表
概念和參考的概念 (例如
國家/地區)。 |
|
來源 |
<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>
|
命名空間 |
沒有命名空間 |
類型 |
DataType |
屬性 |
|
facet |
列舉 |
字串 |
|
列舉 |
float |
|
列舉 |
整數 |
|
列舉 |
布林值 |
|
列舉 |
日期 |
|
列舉 |
概念 |
|
|
使用這項素材資源的廣告 |
|
來源 |
<xs:attribute name="ref" type="DataType" use="required"/>
|
命名空間 |
沒有命名空間 |
註解 |
概念屬性的 ID,這個 ID 不得重複
概念性 (包括屬性和屬性)ID 可能是
如果已指定概念屬性,則省略。在此情況下,ID 就是
以參照概念的當地名稱值隱含建立。
例如 <property concept="geo:country"/>為
等同於 <property id="country"
concept="geo:country"/> |
類型 |
LocalId |
屬性 |
|
facet |
|
使用這項素材資源的廣告 |
|
來源 |
<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>
|
命名空間 |
沒有命名空間 |
註解 |
所定義概念的參照,而
資源。如果屬性指定了類型,則類型必須與
所參照概念的類型外部概念的參照必須
格式為「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>
|
命名空間 |
沒有命名空間 |
註解 |
如果為 true,這個屬性必須參照一個概念,而這個
屬性代表這個概念和
所參考的概念 (例如國家/地區的洲別)。 |
類型 |
xs:boolean |
屬性 |
而應改為使用下列指令: |
選用 |
default: |
false |
|
使用這項素材資源的廣告 |
|
來源 |
<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>
|
命名空間 |
沒有命名空間 |
註解 |
如果為 true,這個屬性必須參照一個概念,而這個
屬性表示此概念與
所參照的概念所參照概念的每個例項都是
由此概念中最多一個例子參照。 |
類型 |
xs:boolean |
屬性 |
而應改為使用下列指令: |
選用 |
default: |
false |
|
使用這項素材資源的廣告 |
|
來源 |
<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 編輯器。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-09 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-09-09 (世界標準時間)。"],[[["ConceptProperty is a complex type that represents a property of a concept, such as the country of a city, with optional elements for textual information (`info`) and data type (`type`)."],["It can have attributes like `id`, `concept`, `isParent`, and `isMapping` to define its identifier, referenced concept, and hierarchical/mapping relationships respectively."],["The `info` element can include a name, description, and URL for the concept property, and is optional."],["The `type` element specifies the data type of the property using the `ref` attribute and is also optional."],["Attributes like `id`, `concept`, `isParent`, and `isMapping` provide further details about the concept property and its relationships with other concepts."]]],["ConceptProperty defines a characteristic of a concept, with optional `info` and `type`. The `info` contains text about the property, including `name`, `description`, and `url`. `type` specifies the data type. Attributes include an optional `id` for unique identification, an optional `concept` to reference related concepts, `isParent` (hierarchical relationship), and `isMapping` (1-to-1 relationship), both booleans, defaulting to `false`. The `@ref` attribute is required for type and defines the data type of the referenced concept.\n"]]