ชื่อ [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
|
|