שם [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>
ה-fields_table מכיל את העמודה 'name', עם השם של כל
שדה תעופה:
airport,name
MLB,Melbourne International Airport
SFO,San Francisco International Airport
LGW,London Gatwick Airport
הערה: אפשר לציין שמות במספר שפות, בעמודות
שונות, באמצעות מיפויים של טבלאות הקונספט.
|
תיאור [XML] |
Description |
מחרוזת |
תיאור של ישות. דוגמה לשימוש:
<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 ..."
|
מידע_מידע[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
|
|