Giter VIP home page Giter VIP logo

Comments (5)

clange avatar clange commented on August 12, 2024

I have improved the documentation of the compute method in 1c1aaa5, but identified some more issues, so I'll keep this issue open for now, and will rewrite the description.

from quality.

clange avatar clange commented on August 12, 2024

@muhammadaliqasmi I saw you have already made some progress, which is great.

However let me remind you that when doing checks of the type β€œthe predicate of the triple is ”, one always has to compare the full URI of the property, and it's case-sensitive. Considering https://github.com/diachron/quality/blob/master/src/main/java/de/unibonn/iai/eis/diachron/qualitymetrics/intrinsic/consistency/UndefinedClassesOrProperties.java#L111 it would be correct to to something like "http://www.w3.org/1999/02/22-rdf-syntax-ns#type".equals(tmpURI). Similar to the way you implemented LabelsUsingCapitals, just that this time we can really hard-code the names of the properties instead of using a configuration file. When I use the notation rdf:type above, it's really just because I'm too lazy to type out the full URI.

In the next few minutes I will add a list of OWL properties above.

from quality.

clange avatar clange commented on August 12, 2024

To the description above I have now added the OWL properties that indicate that the expected object should be a defined class or property.

from quality.

clange avatar clange commented on August 12, 2024

I'm sorry I didn't post this earlier, but when I inspected this class once more (in this version) I noticed that property names are not handled in a case-sensitive way (e.g. here). However in the RDF data model all URIs are case sensitive. When fixing these, please also think of other metrics where the same thing may need fixing – thanks!

from quality.

nfriesen avatar nfriesen commented on August 12, 2024

I created two different metrics: one fpr undefined classes and one for the undefined properties. Important to notice: the undefined classes metric as it is defined below computes ratio of undefined classes in object position.

from quality.

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.