名稱 [XML] |
名稱 |
string |
用來顯示實體的名稱。範例:
<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] |
說明 |
string |
實體的說明。使用範例:
<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] |
資訊網址 |
string |
可找到實體詳細資訊的網址。使用範例:
<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
|
顏色 [XML] |
顏色 |
string |
以十六進位代碼表示的色彩 (例如「#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
|
|