เอนทิตี

หน้านี้บันทึกชุดข้อมูลแนวคิด Canonical ของ entity ไฟล์ XML ที่สมบูรณ์ยังใช้ได้สำหรับ รีวิว

ข้อมูลพื้นฐาน

ชื่อ แนวคิดเกี่ยวกับเอนทิตี
คำอธิบาย แนวคิดเอนทิตี
เนมสเปซ http://www.google.com/publicdata/dataset/google/entity
URL http://code.google.com/apis/publicdata/docs/canonical/entity.html

ผู้ให้บริการ

ชื่อ Google Inc.
คำอธิบาย Google Inc.
URL http://www.google.com

เนมสเปซที่นำเข้า

ไม่มีเนมสเปซที่นำเข้า

หัวข้อ

ไม่ได้กำหนดหัวข้อ

แนวคิด

แนวคิด: เอนทิตี

รหัส เอนทิตี [XML]
ชื่อ เอนทิตี
ประเภท สตริง
คำอธิบาย แนวคิดฐานสำหรับกำหนดแนวคิดที่แสดงถึงเอนทิตี
แอตทริบิวต์
entity_order
รหัส
(โดยนัย)
ลำดับเอนทิตี [XML]
แนวคิด entity_order
พร็อพเพอร์ตี้
ชื่อ
รายละเอียด [description]
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>

Airports_table มีคอลัมน์ "name" พร้อมด้วยชื่อของแต่ละสนามบิน สนามบิน:
  airport,name
  MLB,Melbourne International Airport
  SFO,San Francisco International Airport
  LGW,London Gatwick Airport

หมายเหตุ: ชื่อมีได้หลายภาษา โดยใช้การแมปตารางแนวคิด
รหัส รายละเอียด [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 ..."
รหัส info_url [XML]
ชื่อ URL ข้อมูล
ประเภท สตริง
คำอธิบาย URL ที่มีข้อมูลเพิ่มเติมเกี่ยวกับเอนทิตี การใช้งาน ตัวอย่าง:
  <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" พร้อม 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
รหัส สี [XML]
ชื่อ สี
ประเภท สตริง
คำอธิบาย สีที่แสดงด้วยรหัสเลขฐาน 16 (เช่น "#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

รหัส ลำดับเอนทิตี [XML]
ชื่อ ลำดับเอนทิตี
ประเภท สตริง
ข้อมูล entity_order_table
คำอธิบาย ระบุลำดับการแสดงเอนทิตี อัลฟ่าคือ ลำดับตัวอักษร 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>
Attributes ไม่มีแอตทริบิวต์ในพื้นที่
พร็อพเพอร์ตี้ ไม่มีพร็อพเพอร์ตี้ในเครื่อง

Slice

ไม่ได้กำหนดส่วนใดๆ

ตาราง

ตาราง: entity_order_table

รหัส ตารางลำดับเอนทิตี [XML]
ข้อมูล entity_order.csv [CSV]
คอลัมน์
ชื่อ ประเภท
entity_order สตริง