Skip to content

0.9.0

Compare
Choose a tag to compare
@ajnelson-nist ajnelson-nist released this 08 Dec 22:26
· 219 commits to main since this release
102c9a0
  • The CDO concept "typo checker" feature in case_validate now also includes IRIs that are for SHACL shapes that aren't also OWL classes.
  • case_sparql_select has received several updates.
    • Behavior change: Output will now always end with a newline character.
    • It been refactored to expose some of its internal logic as testable and exportable functions.
    • A command-line flag has been added to shorten returned IRIs to their prefixed forms on request: --use-prefixes.
    • Comma-separated value (CSV) and tab-separated value (TSV) output are now implemented.
    • JSON output is now implemented. The forms of output depend on the value of the --json-orient flag, which follows behaviors of pandas.DataFrame.to_json, including the default value column.
    • case_sparql_select JSON output is not JSON-LD.
    • JSON output indentation can be controlled with --json-indent. The default is to do no indenting or line breaking.
    • A command-line flag has been added to omit column headers, --no-header. --header is provided for symmetry and explicitness in scripting. The default behavior remains as with the various pandas.DataFrame.to_* methods: To include headers.
    • Likewise, a command-line flag has been added to omit row index numbers, --no-index (and --index, with default behavior matching --index).
    • Some parameter combinations are not supported by Pandas, particularly around certain JSON output modes and omission of row numbers. The --help flag notes flag combinations.
    • Unit tests demonstrate all the applicable output mode and flag combinations. See tests/case_utils/case_sparql_select/.check-*.
  • pre-commit has had its repository version pointers refreshed.

Note that though the CASE ontology has reached 1.0.0, this repository is not yet declaring a 1.0.0 status for its own resources. Further community input is needed to determine when this repository should provide CLI and Python API stability.

Full Changelog: 0.8.0...0.9.0