เอนทิตี

หน้านี้บันทึกชุดข้อมูลแนวคิด Canonical ของเอนทิตี นอกจากนี้ยังมีไฟล์ 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.co.th

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

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

หัวข้อ

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

แนวคิด

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

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

รหัส 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>

แอตทริบิวต์ ไม่มีแอตทริบิวต์ในพื้นที่
พร็อพเพอร์ตี้ ไม่มีพร็อพเพอร์ตี้ในพื้นที่

แบ่งเป็นช่องๆ

ไม่ได้กําหนดส่วนเนื้อหา

ตาราง

ตาราง: entity_order_table

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