time-link / timelink-kleio

Provides translation of files in Kleio notation into XML and other formats. Part of Timelink.
1 stars 0 forks source link

Linked data notation for automatic mapping of attribute type #6

Open joaquimrcarvalho opened 1 year ago

joaquimrcarvalho commented 1 year ago

Use the kleio$ group to define automatic mapping of attribute types to properties in external data.

 kleio$
     link$wikiprop/"http://www.wikidata.org/wiki/Property:$1"
          map$attribute:type/chegada/P551
          map$attribute:type/estadia/P551

So that

   attribute$chegada/somewhere
   attribute$estadia/somewhere-else
   attribute$@wikiprop:P551/somewhere    <-- generated
   attribute$@wikiprop:P551/somewhere-else    <-- generated     

See milestone description for overall view of linked data notation.

joaquimrcarvalho commented 1 year ago

Moved to main description

joaquimrcarvalho commented 7 months ago

Reverted to ls$atribute-type@wikidata/wikidata-url format because:

  1. keeps attributes of the same type together in listings.
  2. The "@" facilitates activation of the link in the attribute value