Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lexicographer files are not described properly in the RDF (dc:subject should be wn:lexfile) #1145

Open
fcbond opened this issue Dec 3, 2024 · 0 comments
Labels
release format This issue refers to the WNDB or RDF export, so no changes will be made to this repository

Comments

@fcbond
Copy link
Member

fcbond commented Dec 3, 2024

Release format
RDF

Describe the bug
dc:subject is used for the lexfiles, instead of lexfile. This differs from the XML, and other projects such as DanNet, already use dc:subject for something else. lexfile is defined in wn-lemon-1.3.ttl.

:lexfile a owl:DatatypeProperty ;
  rdfs:label "lexicographer file"@en ;
  rdfs:comments "Indicates the lexicographer file that this synset is derived from"@en .

To Reproduce

download the ttl file inspect a synset:

wnid:oewn-00001740-n
    dc:subject "noun.Tops" ;
    a ontolex:LexicalConcept ;
    skos:inScheme <https://en-word.net/> ;
    wn:definition [
        rdf:value "that which is perceived or known or inferred to have its own distinct existence (living or nonliving)"@en
    ] ;
    wn:hyponym wnid:oewn-00001930-n, wnid:oewn-00002137-n, wnid:oewn-04431553-n ;
    wn:ili ili:i35545 ;
    wn:partOfSpeech wn:noun .

Expected behavior

dc:subject should become wn:lexfile

wnid:oewn-00001740-n
    wn:lexfile "noun.Tops" ;
    a ontolex:LexicalConcept ;
    skos:inScheme <https://en-word.net/> ;
    wn:definition [
        rdf:value "that which is perceived or known or inferred to have its own distinct existence (living or nonliving)"@en
    ] ;
    wn:hyponym wnid:oewn-00001930-n, wnid:oewn-00002137-n, wnid:oewn-04431553-n ;
    wn:ili ili:i35545 ;
    wn:partOfSpeech wn:noun .


**Additional context**

This was solved for XML in https://github.com/globalwordnet/english-wordnet/issues/794
@fcbond fcbond added the release format This issue refers to the WNDB or RDF export, so no changes will be made to this repository label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release format This issue refers to the WNDB or RDF export, so no changes will be made to this repository
Projects
None yet
Development

No branches or pull requests

1 participant