uncefact / spec-jsonld

Exposing the UN/CEFACT vocabulary as web semantics
https://service.unece.org/trade/uncefact/vocabulary/uncefact/
13 stars 5 forks source link

data props wrongly declared as owl:ObjectProperty #195

Open VladimirAlexiev opened 1 year ago

VladimirAlexiev commented 1 year ago

Example:

      "@id": "unece:physicalIndicator", 
      "schema:rangeIncludes": {         
        "@id": "xsd:boolean"            
      },                                
      "@type": [                        
        "rdf:Property",                 
        "owl:ObjectProperty"            
      ],

This should be owl:DatatypeProperty not owl:ObjectProperty.

Object props are declared correctly, eg

      "@id": "unece:physicalPackage",
      "schema:rangeIncludes": {
        "@id": "unece:Package"
      },
      "@type": [
        "rdf:Property",
        "owl:ObjectProperty"
      ],
jgmikael commented 6 months ago

In the OWL context, ObjectProperty/DatatypeProperty is defined here: https://www.w3.org/TR/owl2-syntax/#Object_Properties. In the national data modeling tool (Finland) we're using the OWL 2 EL -profile (https://www.w3.org/TR/owl2-profiles/#OWL_2_EL).

At the moment, the properties linked to a class in BSP cannot be listed automatically, therefore any modeling based on BSP becomes really cumbersome (having to check the html-pages for class related properties)

Would be extremely beneficial if someone would deal with this issue, many thanks in advance!