Dictionaries: Difference between revisions

From LexBib
(Created page with "= Dictionaries in LexBib = Initially being ment for LOD-ification of publication metadata, LexBib ontology is now being further developed, so that conceptual-lexical resource...")
 
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Dictionaries in LexBib =
= Dictionaries in LexBib =


Initially being ment for LOD-ification of publication metadata, LexBib ontology is now being further developed, so that conceptual-lexical resources (LCR) such as dictionaries can be represented, linked to other LCR through a defined set of properties, and linked to the bibliographical items or other types of distribution that embody them.
Initially being meant for LOD-ification of publication metadata, LexBib ontology is now being further developed, so that conceptual-lexical resources (LCR) such as dictionaries can be represented, linked to other LCR through a defined set of properties, and linked to the bibliographical items or other types of distribution that embody them. [[LexMeta]] is the working title of a metadata model for lexical resources.


We follow the three-level entity hierarchy for the representation of artistic or creative endavour proposed in the FRBR ontology, widely used in Libraries, which we map to the two-level hierarchy for the representation of LCR metadata proposed in Metashare. These hierarchy levels, expressed as RDF classes, are the following:
==Glottolog Dictionaries==
 
LexBib now contains reference to 8000+ dictionaries imported from the [https://glottolog.org/langdoc Glottolog Bibliography] (items with doctype "Dictionary"). These are represented as LCR (class [[Item:Q4|Q4]]), and their entity data contains information about "[[Property:P122|metalanguage]]" (language the resource has been published) and "[[Property:P56|object language]]" (language(s) described in the dictionary), as listed on Glottolog. For Glottolog, that indexation of LCR with languages has been produced computationally using legacy indexations, item titles, etc. ([https://glottolog.org/meta/glossary#sec-computerizedassignment reference]), and is not perfect. Besides (frequent) gaps and (infrequent) errors, for bilingual or multilingual dictionaries, the languages represented as "metalanguage" and "object language" are actually a "target language" and/or a "source language". We are ready to start to update these relations manually. Long-term aim is to correct the indexation, and to represent LCR languages for bilingual or multilingual dictionaries as "source language" and/or "target language"; such representation would be compliant with the [[LexMeta]] model.
 
* Glottolog Dictionaries: [https://lexbib.elex.is/query/#PREFIX%20lwb%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fentity%2F%3E%0APREFIX%20ldp%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fdirect%2F%3E%0APREFIX%20lp%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2F%3E%0APREFIX%20lps%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fstatement%2F%3E%0APREFIX%20lpq%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fqualifier%2F%3E%0APREFIX%20lpr%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Freference%2F%3E%0APREFIX%20lno%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fnovalue%2F%3E%0A%0Aselect%20%0A%3Flcr%20%0A%3FlcrLabel%20%0A%3Fyear%0A%28uri%28concat%28%22https%3A%2F%2Fglottolog.org%2Fresource%2Freference%2Fid%2F%22%2C%3FglottologID%29%29%20as%20%3FGlottolog%29%20%0A%28group_concat%28distinct%20%3FmetaLangLabel%3BSEPARATOR%3D%22%2C%20%22%29%20as%20%3Fmetalanguages%29%0A%28group_concat%28distinct%20%3FobjectLangLabel%3BSEPARATOR%3D%22%2C%20%22%29%20as%20%3Fobjectlanguages%29%0A%28group_concat%28distinct%20%3FsourceLangLabel%3BSEPARATOR%3D%22%2C%20%22%29%20as%20%3Fsourcelanguages%29%0A%28group_concat%28distinct%20%3FtargetLangLabel%3BSEPARATOR%3D%22%2C%20%22%29%20as%20%3Ftargetlanguages%29%0A%0Awhere%0A%0A%7B%20%3Flcr%20ldp%3AP5%20lwb%3AQ4%3B%0A%20%20%20%20%20%20%20ldp%3AP160%20%3FglottologID%20%3B%20%23%20restricts%20results%20to%20LCR%20imported%20from%20Glottolog%0A%20%20%20%20%20%20%20rdfs%3Alabel%20%3FlcrLabel%20.%20filter%20%28lang%28%3FlcrLabel%29%3D%22en%22%29%0A%20OPTIONAL%20%7B%3Flcr%20ldp%3AP122%20%3FmetaLang.%20%3FmetaLang%20rdfs%3Alabel%20%3FmetaLangLabel%20.%20filter%20%28lang%28%3FmetaLangLabel%29%3D%22en%22%29%7D%20%23%20%22metalanguage%22%0A%20OPTIONAL%20%7B%3Flcr%20ldp%3AP56%20%3FobjectLang.%20%3FobjectLang%20rdfs%3Alabel%20%3FobjectLangLabel%20.%20filter%20%28lang%28%3FobjectLangLabel%29%3D%22en%22%29%7D%20%23%20%22object%20language%22%0A%20OPTIONAL%20%7B%3Flcr%20ldp%3AP150%20%3FsourceLang.%20%3FsourceLang%20rdfs%3Alabel%20%3FsourceLangLabel%20.%20filter%20%28lang%28%3FsourceLangLabel%29%3D%22en%22%29%7D%20%23%20%22source%20language%22%0A%20OPTIONAL%20%7B%3Flcr%20ldp%3AP134%20%3FtargetLang.%20%3FtargetLang%20rdfs%3Alabel%20%3FtargetLangLabel%20.%20filter%20%28lang%28%3FtargetLangLabel%29%3D%22en%22%29%7D%20%23%20%22target%20language%22%0A%20OPTIONAL%20%7B%3Flcr%20lp%3AP55%20%5Blpq%3AP126%20%3Fyear%5D.%7D%0A%20%0A%7D%20group%20by%20%3Flcr%20%3FlcrLabel%20%3Fyear%20%3FglottologID%20%3Fmetalanguages%20%3Fobjectlanguages%20%3Fsourcelanguages%20%3Ftargetlanguages%0Alimit%20500%0A Query].
* Languages, and number or relations as Glottolog LCR "metalanguage" or "object language": [https://lexbib.elex.is/query/#PREFIX%20lwb%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fentity%2F%3E%0APREFIX%20ldp%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fdirect%2F%3E%0APREFIX%20lp%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2F%3E%0APREFIX%20lps%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fstatement%2F%3E%0APREFIX%20lpq%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fqualifier%2F%3E%0APREFIX%20lpr%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Freference%2F%3E%0APREFIX%20lno%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fnovalue%2F%3E%0A%0Aselect%20%3Flang%20%3FlangLabel%20%28count%28%3Flcr%29%20as%20%3FnumberOfLCR%29%20%20%20where%0A%7B%20%3Flcr%20ldp%3AP5%20lwb%3AQ4%3B%0A%20%20%20%20%20%20%20ldp%3AP160%20%3FglottologID%20%3B%20%23%20restricts%20results%20to%20LCR%20imported%20from%20Glottolog%0A%20%20%20%20%20%20%20ldp%3AP122%7Cldp%3AP56%20%3Flang.%20%23%20%22metalanguage%22%20and%20%22object%20language%22%0A%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%20group%20by%20%3Flang%20%3FlangLabel%20%3FnumberOfLCR%0Aorder%20by%20desc%28%3FnumberOfLCR%29%0A Query].
 
== See what's in the database ==
 
This is under construction. You can see what's there at the moment.
 
* Classes and properties relevant for dictionary metadata: mappings [https://lexbib.elex.is/query/#PREFIX%20lwb%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fentity%2F%3E%0APREFIX%20ldp%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fdirect%2F%3E%0A%0Aselect%20%3Furi%20%3FuriLabel%20%3Fdm_equiv%20%3Frange%20%3FrangeLabel%20%28uri%28concat%28%22http%3A%2F%2Fwww.wikidata.org%2Fentity%2F%22%2C%3Fwd%29%29%20as%20%3Fwikidata%29%20%3Fdefinition%20where%20%0A%7B%20%3Furi%20ldp%3AP42%20%3Fdm_equiv%3B%20%23%20dm_equiv%20is%20the%20entity%20identifier%20used%20in%20our%20Dictionary%20Metadata%20%28DM%29%20RDF%20model%0A%20%20%20%20%20%20%20rdfs%3Alabel%20%3FuriLabel.%0A%20filter%28lang%28%3FuriLabel%29%3D%22en%22%29%0A%20OPTIONAL%20%7B%20%3Furi%20ldp%3AP48%20%3Frange%20.%20%3Frange%20rdfs%3Alabel%20%3FrangeLabel.%20filter%28lang%28%3FrangeLabel%29%3D%22en%22%29%7D%0A%20OPTIONAL%20%7B%20%3Furi%20ldp%3AP2%20%3Fwd%20.%20%7D%0A%20OPTIONAL%20%7B%20%3Furi%20ldp%3AP42%20%3Fdm_equiv%20.%20%7D%0A%20OPTIONAL%20%7B%20%3Furi%20ldp%3AP80%20%3Fdefinition%20.%20%7D%0A%20BIND%20%28xsd%3Ainteger%28REPLACE%28str%28%3Furi%29%2C%20%22https%3A%2F%2Flexbib.elex.is%2Fentity%2FQ%22%2C%20%22%22%29%29%20as%20%3Forder%20%29%0A%7D%20order%20by%20%3Forder%0A Query].
 
* A graph of test items can be viewed using this [https://lexbib.elex.is/query/#%23defaultView%3AGraph%0APREFIX%20lwb%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fentity%2F%3E%0APREFIX%20ldp%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fdirect%2F%3E%0APREFIX%20lp%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2F%3E%0APREFIX%20lps%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fstatement%2F%3E%0APREFIX%20lpq%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Fqualifier%2F%3E%0APREFIX%20lpr%3A%20%3Chttps%3A%2F%2Flexbib.elex.is%2Fprop%2Freference%2F%3E%0A%0Aselect%20%3Furi%20%3FuriLabel%20%3FedgeLabel%0A%3Fo%20%3FoLabel%0A%3Frgb%20%0Awhere%20%7B%0A%7B%20%3Furi%20ldp%3AP5%20lwb%3AQ24.%20%3Fexpr%20lp%3Ap55%20%3Furi%20.%20%7D%20union%20%7B%20%3Furi%20ldp%3AP5%20lwb%3AQ4%3B%20lp%3AP55%20%3Fdistr.%20%7D%20union%20%7B%20%3Furi%20ldp%3AP5%20lwb%3AQ41%3B%20lp%3AP118%20%3Frealis.%20%7D%0A%20%3Furi%20%3Fp%20%3Fo%20.%0A%3Fedge%20wikibase%3AdirectClaim%20%3Fp%20.%0AVALUES%20%3Fedge%20%7B%20lwb%3AP118%20lwb%3AP55%20%7D%23lwb%3AP125%20lwb%3AP124%20%7D%0A%23%20filter%28%3Fedge%20%21%3D%20lwb%3AP5%29%0A%23%20filter%28%3Fedge%20%21%3D%20lwb%3AP100%29%0A%23%20filter%28%3Fedge%20%21%3D%20lwb%3AP11%29%0A%20%20%3Furi%20ldp%3AP5%20%3FsClass%3B%20rdfs%3Alabel%20%3FuLabel%20.%20filter%28lang%28%3FuLabel%29%3D%22en%22%29%20filter%28%3FsClass%20%21%3D%20lwb%3AQ24%29%0A%20%20%3FsClass%20rdfs%3Alabel%20%3FsClassLabel%20.%20filter%28lang%28%3FsClassLabel%29%3D%22en%22%29%0A%20%20VALUES%20%3FsClass%20%7Blwb%3AQ4%20lwb%3AQ41%20%20%7D%0A%20%20BIND%28concat%28%3FuLabel%2C%20%22%20%28a%20%22%2C%20%3FsClassLabel%2C%20%22%29%22%29%20as%20%3FuriLabel%29%0A%20%20%3Fedge%20rdfs%3Alabel%20%3FedgeLabel%20.%20filter%28lang%28%3FedgeLabel%29%3D%22en%22%29%0A%20%20%3Fo%20rdfs%3Alabel%20%3FoLabel%20.%20filter%28lang%28%3FoLabel%29%3D%22en%22%29%0A%20%20%3Fo%20ldp%3AP5%20%3FoClass%20.%20filter%28%3FoClass%20%21%3D%20lwb%3AQ24%29%0A%20%20%3FoClass%20rdfs%3Alabel%20%3FoClassLabel%20.%20filter%28lang%28%3FoClassLabel%29%3D%22en%22%29%0A%20%20VALUES%20%3FoClass%20%7Blwb%3AQ4%20lwb%3AQ3%20lwb%3AQ13%20%7D%0A%20%20BIND%28concat%28%3FoLabel%2C%20%22%20%28a%20%22%2C%20%3FoClassLabel%2C%20%22%29%22%29%20as%20%3FobjLabel%29%0A%20%20%23optional%20%7B%3Fo%20ldp%3AP15%20%3Fdate.%7D%0A%20%20%20%20%0A%20%23%20colouring%0A%20%20BIND%20%28%0A%20%20COALESCE%28%0A%20%20%23%20%20IF%28%3Fedge%20%3D%20lwb%3AP118%20%2C%20%22CCFFE5%22%2C%201%2F0%29%2C%0A%20%20%20%20IF%28%3Fedge%20%3D%20lwb%3AP55%20%2C%20%22CCFF99%22%2C%201%2F0%29%2C%0A%20%23%20%20%20IF%28%3Fedge%20%3D%20lwb%3AP125%20%2C%20%22CCFFE5%22%2C%201%2F0%29%2C%0A%23%20%20%20%20IF%28%3Fedge%20%3D%20lwb%3AP124%20%2C%20%22FFB266%22%2C%201%2F0%29%2C%0A%20%23%20%20%20IF%28%3FoClass%20%3D%20lwb%3AQ7%20%2C%20%22FFFF99%22%2C%201%2F0%29%2C%0A%20%20%20%20%22FFB266%22%0A%20%20%29%20AS%20%3Frgb%20%29%20%0A%20%20%0A%7D%20group%20by%20%3Furi%20%3FuriLabel%20%3FedgeLabel%20%3Fo%20%3FoLabel%20%3Frgb%0A Query]. You can change view mode to "table".

Latest revision as of 08:26, 30 May 2022

Dictionaries in LexBib

Initially being meant for LOD-ification of publication metadata, LexBib ontology is now being further developed, so that conceptual-lexical resources (LCR) such as dictionaries can be represented, linked to other LCR through a defined set of properties, and linked to the bibliographical items or other types of distribution that embody them. LexMeta is the working title of a metadata model for lexical resources.

Glottolog Dictionaries

LexBib now contains reference to 8000+ dictionaries imported from the Glottolog Bibliography (items with doctype "Dictionary"). These are represented as LCR (class Q4), and their entity data contains information about "metalanguage" (language the resource has been published) and "object language" (language(s) described in the dictionary), as listed on Glottolog. For Glottolog, that indexation of LCR with languages has been produced computationally using legacy indexations, item titles, etc. (reference), and is not perfect. Besides (frequent) gaps and (infrequent) errors, for bilingual or multilingual dictionaries, the languages represented as "metalanguage" and "object language" are actually a "target language" and/or a "source language". We are ready to start to update these relations manually. Long-term aim is to correct the indexation, and to represent LCR languages for bilingual or multilingual dictionaries as "source language" and/or "target language"; such representation would be compliant with the LexMeta model.

  • Glottolog Dictionaries: Query.
  • Languages, and number or relations as Glottolog LCR "metalanguage" or "object language": Query.

See what's in the database

This is under construction. You can see what's there at the moment.

  • Classes and properties relevant for dictionary metadata: mappings Query.
  • A graph of test items can be viewed using this Query. You can change view mode to "table".