Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: casework/CASE
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: casework/CASE
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ONT-437-v0
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 17 files changed
  • 1 contributor

Commits on Aug 13, 2021

  1. Add UCO as submodule, with Makefile rule to initialize

    References:
    * [ONT-455] (CP-40) UCO 0.7.0 should be adopted as a Git submodule
    
    Signed-off-by: Alex Nelson <[email protected]>
    ajnelson-nist committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    97368c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. Bump UCO develop state

    ajnelson-nist committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    6c3720d View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2021

  1. Add translate script to convert CASE to SHACL with Sed commands

    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    69048e1 View commit details
    Browse the repository at this point in the history
  2. Add shacl prefix to support conversion and normalization in next patch

    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    7e65c84 View commit details
    Browse the repository at this point in the history
  3. Apply sed script to convert investigation namespace to SHACL

    This patch is the result of two mechanical processes.
    
    sed application was via these commands:
    
        cd ontology/investigation
        gsed -i -f translate-to-shacl.sed investigation.ttl
    
    rdf-toolkit was then used to normalized and sort the
    `sh:PropertyShape`s.
    
    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    0f4e99e View commit details
    Browse the repository at this point in the history
  4. Apply manual predicate-conversion from rdfs:subclass to sh:property

    OWL relates properties in `owl:Restriction`s as blank nodes acting as
    anonymous classes, linked by `rdfs:subClassOf`.  SHACL relates
    properties with blank nodes linked by `sh:property`.  This patch applies
    a manual correction, accomplished in relatively few keystrokes
    (generally replacing commas with semicolons and inserting a
    `sh:property` predicate).  Normalization with rdf-toolkit then handled
    sorting the `sh:PropertyShape`s into place.
    
    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    fc3c221 View commit details
    Browse the repository at this point in the history
  5. Remove single-use sed script

    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    29b7ccb View commit details
    Browse the repository at this point in the history
  6. Remove unassociated endTime and startTime definitions from investigat…

    …ion-da.ttl
    
    (A bugfix proposal needs to be written.)
    
    References:
    * [TODO] (CP-TODO) investigation-da.ttl contains vestigial startTime and
      endTime definitions
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    69f398f View commit details
    Browse the repository at this point in the history
  7. Port domain assertions

    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    bde7428 View commit details
    Browse the repository at this point in the history
  8. Bump UCO develop state

    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    540add6 View commit details
    Browse the repository at this point in the history
  9. Add typing script, adapting from UCO source

    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    590a738 View commit details
    Browse the repository at this point in the history
  10. Run typing script

    The vocabulary.ttl file had one change added that was rejected, changing
    the xsd: prefix to xs:.  This is a known issue with rdflib providing
    `xs:` as a default prefix when the XML Schema Datatypes are not used in
    the ontology.  (This was previously addressed in AC-154.)
    
    This script run used the virtual environment built in the tracked UCO
    submodule.
    
    References:
    * [AC-154] XML Schema datatype prefix needs to be explicit in all
      examples
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    e59f1eb View commit details
    Browse the repository at this point in the history
  11. Add testing build chain, with XFAIL and XPASS test data and validatio…

    …n output
    
    Note that pytest will fail unless a pySHACL release >0.15.0 is used.
    A follow-on patch will add a git submodule as scaffolding, to be
    removed before release.
    
    Also note that, in contrast to UCO's similarly structured tests,
    a `*_PASS_validation.ttl` graph is recorded even when it records a
    validation failure.  `pytest` is left to report the validation error.
    
    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    f7556cd View commit details
    Browse the repository at this point in the history
  12. Track 0.15.0+ version of pySHACL to fix inference issue

    References:
    * [ONT-456] (CP-41) Convert current property restrictions and domain
      assertions to SHACL class shapes
    * RDFLib/pySHACL#90
    ajnelson-nist committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    369d024 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2021

  1. Bump UCO to released 0.7.0 version

    References:
    * [ONT-455] (CP-40) UCO 0.7.0 should be adopted as a Git submodule
    ajnelson-nist committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    0a1a3f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2021

  1. Configuration menu
    Copy the full SHA
    bbf948a View commit details
    Browse the repository at this point in the history
Loading