Code Monkey home page Code Monkey logo

Comments (3)

VladimirAlexiev avatar VladimirAlexiev commented on September 25, 2024

Furthermore, some properties are in plural, eg

agreementIDs
businessActivities

But all props should be in singular (in RDF, any property may have multiple values, and yet each value is a single object).

from osdu-ontology.

VladimirAlexiev avatar VladimirAlexiev commented on September 25, 2024

The problem with lowercased props is more serious:
All prop names are lowercased (mistyped) in Restrictions, and therefore don't match the declared property names.
For example:

osdu:Cost rdf:type owl:Class ;
	rdfs:subClassOf [
		a owl:Restriction ;
		owl:onProperty osdu:totalcostamount ;
		owl:minCardinality "1"^^xsd:nonNegativeInteger ;
	] ;
osdu:totalCostAmount rdf:type owl:DatatypeProperty ;

There are 413 matches for "owl:onProperty" and all are lowercased. I'd say more than 50% are wrong, eg all these:

    111:		owl:onProperty osdu:parameterkindid ;
    139:		owl:onProperty osdu:persistablereferencecrs ;
    205:		owl:onProperty osdu:datasetproperties ;
    216:		owl:onProperty osdu:facettypeid ;
    221:		owl:onProperty osdu:facetroleid ;

from osdu-ontology.

ana-tudor avatar ana-tudor commented on September 25, 2024

Hi Vladimir - thanks for this important catch. We have corrected camelcasing usage, have fixed inconsistent naming in the restrictions, and have removed pluralization in property naming to the best of our abilities.

from osdu-ontology.

Related Issues (15)

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.