Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
885 changes: 507 additions & 378 deletions case_prov/case_prov_dot.py

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions figures/readme-activities.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions figures/readme-attribution.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions figures/readme-provenance-records.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions tests/CASE-Examples/examples/illustrations/src/illustration.mk
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,32 @@ $(subjectdir_basename)-prov_activities.dot: \
$<
mv _$@ $@

$(subjectdir_basename)-prov_activities-agents.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
source $(tests_srcdir)/venv/bin/activate \
&& case_prov_dot \
--activity-informing \
--agent-delegating \
--dash-unqualified \
--debug \
_$@ \
$<
mv _$@ $@

$(subjectdir_basename)-prov_activities-entities.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
source $(tests_srcdir)/venv/bin/activate \
&& case_prov_dot \
--activity-informing \
--entity-deriving \
--dash-unqualified \
--debug \
_$@ \
$<
mv _$@ $@

$(subjectdir_basename)-prov_agents.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
Expand All @@ -106,6 +132,19 @@ $(subjectdir_basename)-prov_agents.dot: \
$<
mv _$@ $@

$(subjectdir_basename)-prov_agents-entities.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
source $(tests_srcdir)/venv/bin/activate \
&& case_prov_dot \
--agent-delegating \
--entity-deriving \
--dash-unqualified \
--debug \
_$@ \
$<
mv _$@ $@

$(subjectdir_basename)-prov_all.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
Expand Down
39 changes: 39 additions & 0 deletions tests/casework.github.io/examples/src/example.mk
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,32 @@ $(subjectdir_basename)-prov-activities.dot: \
$<
mv _$@ $@

$(subjectdir_basename)-prov-activities-agents.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
source $(tests_srcdir)/venv/bin/activate \
&& case_prov_dot \
--activity-informing \
--agent-delegating \
--dash-unqualified \
--debug \
_$@ \
$<
mv _$@ $@

$(subjectdir_basename)-prov-activities-entities.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
source $(tests_srcdir)/venv/bin/activate \
&& case_prov_dot \
--activity-informing \
--entity-deriving \
--dash-unqualified \
--debug \
_$@ \
$<
mv _$@ $@

$(subjectdir_basename)-prov-agents.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
Expand All @@ -106,6 +132,19 @@ $(subjectdir_basename)-prov-agents.dot: \
$<
mv _$@ $@

$(subjectdir_basename)-prov-agents-entities.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
source $(tests_srcdir)/venv/bin/activate \
&& case_prov_dot \
--agent-delegating \
--entity-deriving \
--dash-unqualified \
--debug \
_$@ \
$<
mv _$@ $@

$(subjectdir_basename)-prov-all.dot: \
$(subjectdir_basename)-prov.ttl \
$(top_srcdir)/case_prov/case_prov_dot.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ urgent_evidence_json := $(top_srcdir)/dependencies/CASE-Examples-QC/dependencies

all:
$(MAKE) \
--file ../src/example.mk
--file ../src/example.mk \
all \
urgent_evidence-prov-activities-agents.svg \
urgent_evidence-prov-activities-entities.svg \
urgent_evidence-prov-agents-entities.svg
$(MAKE) \
urgent_evidence-prov-activities-focus-extracted-file-uuid-1.svg \
urgent_evidence-prov-all-focus-extracted-file-uuid-1.svg \
Expand Down
4 changes: 4 additions & 0 deletions tests/casework.github.io/examples/urgent_evidence/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ The depictions are:
* [Activities](urgent_evidence-prov-activities.svg) - All `prov:Activity`s and their `prov:wasInformedBy` relationships.
* [Entities](urgent_evidence-prov-entities.svg) - All `prov:Entity`s (including `prov:Collection`s) and their `prov:wasDerivedFrom` (and `prov:hadMember`) relationships.
* [Agents](urgent_evidence-prov-agents.svg) - All `prov:Agent`s and their `prov:actedOnBehalfOf` relationships.
* The Activities, Entities, and Agents diagrams can also have pairs enabled:
- [Activities and Agents](urgent_evidence-prov-activities-agents.svg)
- [Activities and Entities](urgent_evidence-prov-activities-entities.svg)
- [Agents and Entities](urgent_evidence-prov-agents-entities.svg)
* [All produced JPEG files](urgent_evidence-prov-all-focus-jpegs.svg) - All files of MIME type `image/jpeg`, as selected by [this query](select-jpegs.sparql).
* [Single extracted file](urgent_evidence-prov-all-focus-extracted-file-uuid-1.svg) - The provenance chain from a single extracted file, a JPEG, back to initial evidence submission.
Loading