tên [XML] |
Tên |
chuỗi |
Tên dùng để hiển thị một thực thể. Ví dụ:
<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>
Sân bay_table chứa cột “name”, với tên của từng
sân bay:
airport,name
MLB,Melbourne International Airport
SFO,San Francisco International Airport
LGW,London Gatwick Airport
Lưu ý: bạn có thể cung cấp tên bằng nhiều ngôn ngữ, ở nhiều
cột khác nhau, bằng cách sử dụng liên kết bảng khái niệm.
|
nội dung mô tả [XML] |
Mô tả |
chuỗi |
Thông tin mô tả về một thực thể. Ví dụ về cách sử dụng:
<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>
Sân bay bao gồm cột “mô tả”, cùng với
nội dung mô tả về từng sân bay:
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 thông tin |
chuỗi |
URL nơi có thể tìm thấy thêm thông tin về một thực thể. Ví dụ về cách sử dụng:
<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>
Bảng quốc gia chứa cột “info_url”, trong đó có URL thông tin
cho từng quốc gia.
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
|
màu sắc [XML] |
Màu |
chuỗi |
Một màu được biểu thị bằng mã thập lục phân (ví dụ:
"#FFAB00"). Ví dụ:
<concept id="us_political_party" extends="entity:entity">
<info>
<name>
<value>US Political party</value>
</name>
</info>
<table ref="parties_table"/>
</concept>
Party_table chứa cột Party_color:
party, name, color
rep, Republican party, #FF0000
dem, Democratic party, #0000FF
|
|