opencaesar / owl-tools

A set of analysis tools for OWL
Apache License 2.0
5 stars 1 forks source link

Provide better defaults for OwlReasonTask #37

Open mprather opened 2 years ago

mprather commented 2 years ago

User Story

Building a gradle build file is tedious.

Based on observations across multiple projects, it seems that the specs property is a) always a collection and b) all values use the full specification. If that is the case, could this task be simplified to remove the specs property (and internally initialize per the pattern described)? This seems like a lot of duplicated values and something that can be easy to get wrong.

Detailed Description

Two changes suggested:

  1. Remove specs as a required parameter.
  2. Provide default values that represent the following:
    specs            = [
        "$namespace/bundle/classes = ALL_SUBCLASS",
        "$namespace/bundle/properties = INVERSE_PROPERTY | ALL_SUBPROPERTY",
        "$namespace/bundle/individuals = ALL_INSTANCE | DATA_PROPERTY_VALUE | OBJECT_PROPERTY_VALUE | SAME_AS"
    ]