Dictionaries: Difference between revisions

From LexBib
Line 27: Line 27:
This is under construction. You can see what's there at the moment.
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%3Chttp%3A%2F%2Flexbib.elex.is%2Fentity%2F%3E%0APREFIX%20ldp%3A%20%3Chttp%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%3Fext_equiv%20%3Fdefinition%20where%20%0A%7B%20%3Furi%20ldp%3AP42%20%3Fdm_equiv%3B%20%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%3AP57%20%3Fext_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%22http%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].
* Classes and properties relevant for dictionary metadata: mappings [https://lexbib.elex.is/query/#PREFIX%20lwb%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fentity%2F%3E%0APREFIX%20ldp%3A%20%3Chttp%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%3Fext_equiv%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%3AP57%20%3Fext_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%22http%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%3Chttp%3A%2F%2Flexbib.elex.is%2Fentity%2F%3E%0APREFIX%20ldp%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fprop%2Fdirect%2F%3E%0APREFIX%20lp%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fprop%2F%3E%0APREFIX%20lps%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fprop%2Fstatement%2F%3E%0APREFIX%20lpq%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fprop%2Fqualifier%2F%3E%0APREFIX%20lpr%3A%20%3Chttp%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".
* A graph of test items can be viewed using this [https://lexbib.elex.is/query/#%23defaultView%3AGraph%0APREFIX%20lwb%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fentity%2F%3E%0APREFIX%20ldp%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fprop%2Fdirect%2F%3E%0APREFIX%20lp%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fprop%2F%3E%0APREFIX%20lps%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fprop%2Fstatement%2F%3E%0APREFIX%20lpq%3A%20%3Chttp%3A%2F%2Flexbib.elex.is%2Fprop%2Fqualifier%2F%3E%0APREFIX%20lpr%3A%20%3Chttp%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".

Revision as of 07:52, 17 October 2021

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.

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, from where we inherit the terminology, and the definitions. These hierarchy levels, expressed as classes, are the following:

FRBR class Metashare class LexBib class MetaShare definition
frbr:Work Lexicographic work [An abstract notion of a creation; used to group different expressions (editions, versions) of the same work, and address statements that apply on work level.]
frbr:Expression ms:LexicalConceptualResource LexicalConceptualResource A resource organised on the basis of lexical or conceptual entries (lexical items, terms, concepts, etc.) with their supplementary information (e.g., grammatical, semantic, statistical information, etc.)
frbr:Manifestation ms:DatasetDistribution LCR Distribution Any form with which a dataset is distributed, such as a downloadable form in a specific format (e.g., spreadsheet, plain text, etc.) or an API with which it can be accessed

The entity Schemata for LexBib LCR and LCR Distributions are aligned to those of the corresponding FRBR and Metashare classes (in other words, the LexBib class is a subclass of both). This has several implications:

  • Properties that describe LCR content are attached to items of class LexicalConceptualResource.
  • Properties that describe the LCR distribution, e.g. a physical dictionay in book form, or an electronic dictionary in a dictionary web portal or as downloadable dataset, are attached to LCR Distribution items.
  • LCR Distribution items, when they have publication metadata as books have, are LexBib Zotero items, i.e. in LexBib wikibase, members of class LexBib BibItem. This applies mainly for book publications, and distributions on CD-ROM. But also online electronic dictionaries are collected in library information systems and can have publication metadata, and can exist as LexBib Zotero items. Publication metadata properties are described in the BIBO ontology (RDF), and Zotero item data fields map to BIBO.
  • A dictionary with the same contents in printed form, on CD-ROM, available in a mobile app, or downloadable in different serialization formats (XML, JSON, etc.) will be represented as the same resource (LexicalConceptualResource) with different distributions (LCR Distribution).
  • Different versions, editions, conversions, summaries, etc., of a lexicographic work will be represented as different LexicalConceptualResource items, being able to describe relations between these using properties defined in Metashare.

<TBC>

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".