GithubHelp home page GithubHelp logo

Comments (10)

jmccrae avatar jmccrae commented on August 29, 2024 1

I do wonder what to do about the owl:oneOf relation from the wn:PartOfSpeech currently defined in the schema. I believe that the set of POS tags in lexinfo is more extensive - or at least not finite - so I wonder if it makes sense to also remove this restriction if, say, you wanted to use a lexinfo:PartOfSpeech as the object of a wn:partOfSpeech relation...? What are your thoughts on this?

It would not be compatible with this schema to use a value of part-of-speech other than ones specified. We need this to ensure interoperability. (Of course we are open to proposals for new values)

from schemas.

jmccrae avatar jmccrae commented on August 29, 2024 1

Can you tell me what the distinction is between e.g. the capitalised and all-lowercase versions of POS tags in lexinfo, e.g. Adjective vs adjective? It is not immediately clear to me.

Essentially capitalised names are for classes and lower case for values. So Adjective is a subclass of LexicalEntry, while adjective is the value of part-of-speech property. The following equivalence basically holds

X rdf:type ontolex:LexicalEntry and X lexinfo:partOfSpeech lexinfo:adjective <=> X rdf:type lexinfo:Adjective

Since you're involved with writing both this schema and the lexinfo one, how come you don't just add e.g. adjective_satellite to lexinfo and use lexinfo directly? Is it because adjective_satellite is non-standard...?

Exactly

from schemas.

jmccrae avatar jmccrae commented on August 29, 2024

We chose this because there were some values, e.g., adjective_satellite that aren't in LexInfo and wouldn't really make sense to add. We wanted to avoid mixing namespaces also (e.g., lexinfo:noun with wn:adjective_satellite)

However, adding some owl:sameAs links to LexInfo would be very useful!

from schemas.

simongray avatar simongray commented on August 29, 2024

Ok, then I will make an attempt at that for 1.2.

from schemas.

simongray avatar simongray commented on August 29, 2024

Having taken a look at it, there doesn't seem to be a way to make it compatible in a satisfactory way. Defining owl:sameAs doesn't map the actual relations, just the instances.

Lexinfo unfortunately has a definite range (the lexinfo:PartOfSpeech class) so I'm unsure whether it's even possible to define the wn:partOfSpeech as a sub-property of lexinfo:PartOfSpeech while extending its range to encompass both PartOfSpeech classes. It doesn't seem like it will be possible.

from schemas.

jmccrae avatar jmccrae commented on August 29, 2024

Not sure I get what the issue is here. I would assume that wn:PartOfSpeechlexinfo:PartOfSpeech for both the class and the property?

from schemas.

simongray avatar simongray commented on August 29, 2024

I am not OWL expert, that is probably the main issue ;-)

What you're saying is true. I guess owl:unionOf could be used to define the 1.2 wn:partOfSpeech range to be both wn:PartOfSpeech and lexinfo:PartOfSpeech? Still, not using lexinfo:partOfSpeech directly does make it harder to integrate directly with other Ontolex datasets.

from schemas.

jmccrae avatar jmccrae commented on August 29, 2024

If you add a subclass axiom between wn:PartOfSpeech and lexinfo:PartOfSpeech then there is not need for a unionOf statement, every wn:PartOfSpeech is also a lexinfo:PartOfSpeech so wn:PartOfSpeechlexinfo:PartOfSpeechlexinfo:PartOfSpeech.

That is if we add

wn:partOfSpeech owl:subPropertyOf lexinfo:partOfSpeech .
wn:PartOfSpeech owl:subClassOf lexinfo:PartOfSpeech .
wn:noun owl:sameAs lexinfo:noun . # etc.

Then if we have

X wn:partOfSpeech wn:noun

We then infer

X lexinfo:partOfSpeech lexinfo:noun

from schemas.

simongray avatar simongray commented on August 29, 2024

Ah, that makes a lot of sense. I was stuck thinking that of course the subProperty can't extend the range of it's parent property, but yeah... if we define everything as subclasses it will technically not be doing that. Thanks a lot for explaining in this detail.

I do wonder what to do about the owl:oneOf relation from the wn:PartOfSpeech currently defined in the schema. I believe that the set of POS tags in lexinfo is more extensive - or at least not finite - so I wonder if it makes sense to also remove this restriction if, say, you wanted to use a lexinfo:PartOfSpeech as the object of a wn:partOfSpeech relation...? What are your thoughts on this?

...

As for the actual inference, I think I will also have to take another look at the Prolog-like logic rule DSL used in Apache Jena to make sure it applies the same kind of reasoning you just described in practice. The default level of OWL inference was a bit too comprehensive (and therefore slow) on the DanNet data, so to make it snappier I basically removed all statements that didn't infer inverse relationships ;-)

from schemas.

simongray avatar simongray commented on August 29, 2024

I'm sorry @jmccrae, but I have couple of remaining questions for things that are still not quite clear to me...

  1. Can you tell me what the distinction is between e.g. the capitalised and all-lowercase versions of POS tags in lexinfo, e.g. Adjective vs adjective? It is not immediately clear to me.
  2. Since you're involved with writing both this schema and the lexinfo one, how come you don't just add e.g. adjective_satellite to lexinfo and use lexinfo directly? Is it because adjective_satellite is non-standard...?

from schemas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.