实体

本页面记录了实体规范概念数据集。您还可以查看完整的 XML 文件

基本信息

名称 实体概念
说明 实体概念。
命名空间 http://www.google.com/publicdata/dataset/google/entity
网址 http://code.google.com/apis/publicdata/docs/canonical/entity.html

提供方

名称 Google Inc.
说明 Google Inc.
网址 http://www.google.com

导入的命名空间

没有导入的命名空间。

主题

未定义任何主题。

概念

概念:实体

ID 实体 [XML]
名称 实体
类型 字符串
说明 用于定义代表实体概念的基本概念。
属性
entity_order
ID
(隐含)
entity_order[XML]
概念 entity_order
属性
name
description
info_url
color
ID 名称 [XML]
名称 名称
类型 字符串
说明 用于显示实体的名称。示例:
  <concept id="airport" extends="entity:entity">
    <info>
      <name>
        <value>Airport</value>
      </name>
      <description>
        <value>Airports, identified by their 3-letter IATA code</value>
      </description>
    </info>
    <table ref="airports_table"/>
  </concept>


airports_table 包含一个“name”列,其中列有每个机场的名称:
  airport,name
  MLB,Melbourne International Airport
  SFO,San Francisco International Airport
  LGW,London Gatwick Airport


注意:可以使用概念表映射,以多种语言提供不同列的名称。
ID 说明 [XML]
名称 说明
类型 字符串
说明 实体的说明。用法示例:
  <concept id="airport" extends="entity:entity">
    <info>
      <name>
        <value>Airport</value>
      </name>
      <description>
        <value>Airports, identified by their 3-letter IATA code</value>
      </description>
    </info>
    <table ref="airports_table"/>
  </concept>


airports_table 包含一个“description”列,其中包含每个机场的说明:
              
  airport,name,description
  MLB,Melbourne International Airport, "... located 1 1/2 miles northwest of the downtown business district ..."
  SFO,San Francisco International Airport, "... international airport located 13 miles south of San Francisco ..."
  LGW, London Gatwick Airport,  "... located 5 km (3.1 mi) north of the centre of Crawley, West Sussex ..."
  LHR, London Heathrow Airport, "... largest airport in the United Kingdom ..."

ID info_url [XML]
名称 信息网址
类型 字符串
说明 可在其中找到有关实体的更多信息的网址。用法示例:
  <concept id="airport" extends="entity:entity">
    <info>
      <name>
        <value>Airport</value>
      </name>
      <description>
        <value>Airports, identified by their 3-letter IATA code</value>
      </description>
    </info>
    <table ref="airports_table"/>
  </concept>


“国家/地区”表包含一个“info_url”列,其中包含每个国家/地区的信息网址。
  country,  name,          info_url
  AD,       Andorra,       http://en.wikipedia.org/wiki/Andorra
  AF,       Afghanistan,   http://en.wikipedia.org/wiki/Afghanistan
  AI,       Anguilla,      http://en.wikipedia.org/wiki/Anguilla
  AL,       Albania,       http://en.wikipedia.org/wiki/Albania

ID 颜色 [XML]
名称 颜色
类型 字符串
说明 颜色,以十六进制代码表示(例如,“#FFAB00”)。示例:
  <concept id="us_political_party" extends="entity:entity">
    <info>
      <name>
        <value>US Political party</value>
      </name>
    </info>
    <table ref="parties_table"/>
  </concept>


party_table 中包含一个 party_color 列:
  party, name,             color
  rep,   Republican party, #FF0000
  dem,   Democratic party, #0000FF

概念:entity_order

ID entity_order[XML]
名称 实体顺序
类型 字符串
数据 entity_order_table
说明 指定实体的显示顺序。ALPHA 是按字母顺序排序,TABLE 是表中实体的顺序。示例:
  <concept id="industry" extends="entity:entity">
    <info>
      <name>
        <value xml:lang="en">Industry</value>
      </name>
    </info>
    <attribute id="order">
      <value>NATURAL</value>
    </attribute>
    <property id="industry" isParent="true"/>
    <table ref="industries_tbl"/>
  </concept>

属性 无本地属性。
属性 没有本地媒体资源。

Slice

未定义 Slice。

表:entity_order_table

ID entity_order_table[XML]
数据 entity_order.csv [CSV]
名称 类型
entity_order [实体顺序] 字符串