Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for subProperty hierarchies #90

Open
psiotwo opened this issue May 11, 2021 · 0 comments
Open

Support for subProperty hierarchies #90

psiotwo opened this issue May 11, 2021 · 0 comments

Comments

@psiotwo
Copy link
Contributor

psiotwo commented May 11, 2021

Subproperty hierarchies are quite common in data and are one of the fancy features that might well distinguish RDFS ontologies from Java object model.

As a user I want to have an option to operate with a subproperty hierarchy within a single JOPA attribute. For example, having a skos:broader property, I need to have an attribute which will be able to CRUD SKOS:broader and its subproperties (like rdfs:subClassOf, ?:partOf, rdf:type, etc.).

Some ideas for discussion:

  • a custom type - @OWLObjectProperty(SKOS:broader, includeSubProperties=true) private Hierarchy broader (similarly to MultilingualString), which will be configured by a property (the root) and will dynamically fetch its hierarchy.
  • a custom filter on @properties - @Properties(properties={SKOS:broader}, includeSubProperties=true) private Map<IRI,Set<IRI>> - configured by a property selector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant