Skip to content

Correct migration scripts for inverse properties #1140

Open
@rjyounes

Description

@rjyounes

Applies to both v13 and v14 migration scripts: they do not handle use of the properties in OWL restrictions. For example:

[
    a owl:Restriction ;
    owl:onProperty gist:hasPart ;
    owl:someValuesFrom ex:myClass ;
]

Has to be changed to:

[
   a owl:Restriction ;
   owl:onProperty [ owl:inverseOf gist:isPartOf ] ;
   owl:someValuesFrom ex:myClass ;
]

@Jamie-SA Do you know whether we are attempting to cover this case? If not we should at least warn users that our scripts will produce the wrong result in these cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions