History terms (c4h:)¶
Versions of an architecture over time, with provenance: which architecture each commit, merge, release or pull
request held, who changed what and when, and what changed between two versions down to single triples. Built on
PROV-O; the architecture inside each version is in the core terms and the
view terms. This page is the target of the namespace
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#, generated from
c4-history.ttl when the site is built. Datasets are checked with
c4-history-shapes.ttl. History and diffs shows the module at work.
Overview¶
Namespace c4h: = https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history# · ontology https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history · version 0.1.0 · download c4-history.ttl
| Classes | |
|---|---|
c4h:Addition |
A triple that the later version of a changeset has and the earlier one has not. |
c4h:Blame |
For one version, where each of its triples comes from: a named graph, whose name is this blame's IRI, holding one c4h:TripleOrigin per triple. |
c4h:ChangeSet |
Everything that changed from one version to another: a named graph, whose name is this changeset's IRI, holding one reifier per added or removed triple and one element change per box, arrow, scenario or variant that changed. |
c4h:Commit |
A git commit: the activity that recorded a tree, with its author, committer, time, message and parents. |
c4h:ElementAddition |
An element that the later version has and the earlier one has not. |
c4h:ElementChange |
A summary, for people, of how one box, state, arrow, transition, scenario, variant, schema, entity, field, data relation or model setting changed in a changeset. Abstract: one of c4h:ElementAddition, c4h:ElementRemoval, c4h:ElementModification. |
c4h:ElementModification |
An element that both versions have, with at least one field that differs. |
c4h:ElementRemoval |
An element that the earlier version has and the later one has not. |
c4h:History |
A dataset of versions of one architecture model: its members (prov:hadMember) are the versions, in the order of their c4h:sequenceNumber, and it links the changesets between consecutive versions. |
c4h:Merge |
A commit with more than one parent. At merge resolution, every version of a branch's first-parent line is generated by a merge or a direct commit. |
c4h:ModelOrigin |
Where the model of a version comes from: committed with the code, regenerated afterwards for a commit that had none or an outdated one, or taken from uncommitted changes in a working tree. |
c4h:PullRequest |
A pull request (or merge request): the review and merge of a branch, identified by its number, with its title, author, state and merge commit. |
c4h:Regeneration |
Producing the model of a commit after the fact, from an earlier model and the files that changed since (c4h:baseSha, c4h:changedFile). |
c4h:Release |
The tagging of a commit as a release. At tag resolution every version is generated by one. |
c4h:Removal |
A triple that the earlier version of a changeset has and the later one has not. |
c4h:Squash |
Collapsing a range of commits into one squashed version. prov:wasInformedBy each commit of the range. |
c4h:SquashedVersion |
A version that stands for a range of commits (base..head) at once: it holds the architecture at the head, is a revision of the version at the base, and lists every model commit of the range with c4h:coversCommit. Its changeset holds the net change of the range. |
c4h:TripleChange |
A reifier (RDF 1.2) of one triple that a changeset adds or removes: r rdf:reifies <<( s p o )>>. It says which changeset it belongs to, the version it was changed in, the activity that made the change and the agents it is attributed to. |
c4h:TripleOrigin |
A reifier (RDF 1.2) of one triple of a version, saying in which version, by which activity and by whom that triple was introduced. |
c4h:Version |
The whole architecture as recorded at one git commit. Its IRI is also the name of the named graph that holds that architecture, in the terms of the core and view modules. |
c4h:WorkingTreeEdit |
Uncommitted changes to the model in a working tree. |
| Object properties | |
|---|---|
c4h:author |
The agent who wrote the changes of a commit (git author). |
c4h:blameOf |
The version whose triples a blame explains. |
c4h:changedIn |
The version of the history that holds the change: the changeset's later version. |
c4h:changedProperty |
A property of which the element has a triple added or removed in the changeset. |
c4h:committer |
The agent who recorded a commit (git committer), often the author, or whoever merged or rebased it. |
c4h:coversCommit |
A commit of the range that a squashed version stands for and that changed the model. |
c4h:element |
The resource an element change is about, by its IRI in the version graphs: an element, a relationship, a scenario, a variant, a schema, an entity, a field or a relation of the data module (c4d:), or the model for a model setting. |
c4h:fromVersion |
The earlier version of a changeset: removals are triples it has. |
c4h:hasChangeSet |
A changeset between two consecutive versions of the history. |
c4h:inBlame |
The blame a triple origin belongs to. |
c4h:inChangeSet |
The changeset a triple change or an element change belongs to. |
c4h:introducedIn |
The version in which the triple first appeared, without being removed since. |
c4h:mergeCommit |
The commit that merged a pull request. |
c4h:modelCommit |
The commit that last changed the model file at or before the version's commit. The same as the version's own commit when that commit changed the model. |
c4h:modelOrigin |
Where the model of the version comes from. |
c4h:pullRequest |
The pull request whose merge, or whose head, the version is. |
c4h:sourceRepository |
Web page of the git repository the history was read from, when it is hosted. |
c4h:taggedCommit |
The commit a release tag points at. |
c4h:toVersion |
The later version of a changeset: additions are triples it has. |
| Datatype properties | |
|---|---|
c4h:additionCount |
Number of triples a changeset adds. |
c4h:authoredAtTime |
When the changes of a commit were written (git author date). prov:endedAtTime is when it was recorded (committer date). |
c4h:baseRef |
Branch a pull request merges into. |
c4h:baseSha |
SHA of the commit an activity started from: the base of a squash, or the commit whose model a regeneration updated. |
c4h:changedField |
Name of a model field that differs between the two versions, such as desc, name, parent, steps or (an entity) fields; on a field change, a property of the field such as type, required or ref. |
c4h:changedFile |
A repository path whose change a regeneration took into account. |
c4h:commitSha |
Full SHA of the commit whose tree the version was read from. Absent for a working-tree version. |
c4h:demo |
True when the history is demonstration data: real commits of a made-up repository, with fictional authors. |
c4h:elementChangeCount |
Number of element changes in a changeset. |
c4h:elementKey |
The element's key in the model: a node, scenario, schema or entity id, "from→to" (plus " #k" for the k-th edge between the same two nodes) for an edge, |
c4h:elementKind |
What an element change is about: box, state, arrow, transition, scenario, variant, schema, entity, field, relation (the data module, c4d:) or setting. A field change is reported next to the change of its entity (an entity whose fields changed is modified, with the changed field fields). |
c4h:fictional |
True on an agent that does not exist: a made-up author of demonstration data. |
c4h:fromRef |
The ref name the earlier version of a comparison was asked for by. |
c4h:fromSide |
True on a triple change of a comparison between two branches when the activity it names was on the earlier version's side: the change is the reverse of what that activity did. |
c4h:headRef |
Branch a pull request merges from. |
c4h:headSha |
SHA of the last commit of a squash, or of the head of a pull request. |
c4h:includesEmails |
Whether the agents of the dataset carry e-mail addresses (foaf:mbox). False by default: names only. |
c4h:mergeBase |
SHA of the commit where the two versions of a changeset diverged, when neither is an ancestor of the other. |
c4h:message |
The full commit message; its first line is also the commit's rdfs:label. |
c4h:modelPath |
Repository-relative path of the file the model was read from (model.js, the MODEL block of an index.html, or a regenerated model). |
c4h:parentSha |
Full SHA of a parent of a commit, one triple per parent. |
c4h:possibleRenameOf |
On an element addition: the id of a removed element of the same type, name and parent (for an entity: of the same schema, with the same field names or the same name), which this one most likely replaces under a new id. |
c4h:prNumber |
Number of a pull request in its repository. |
c4h:prState |
State of a pull request when the history was built: OPEN, CLOSED or MERGED. |
c4h:prUrl |
Web address of a pull request. |
c4h:range |
The git range A..B a history was limited to. |
c4h:rangeBase |
SHA of the commit a squashed version's range starts after (base of base..head). |
c4h:rangeHead |
SHA of the last commit of a squashed version's range (head of base..head). |
c4h:ref |
Name of a branch or remote branch that pointed at the version's commit when the history was built. |
c4h:removalCount |
Number of triples a changeset removes. |
c4h:resolution |
Which commits became versions: all (every commit that changed the model), merges (the first-parent line of a branch), tags, prs, refs (named explicitly) or squash. |
c4h:sequenceNumber |
Position of the version in its history, from 1 (oldest). |
c4h:sha |
Full SHA of a commit. |
c4h:tag |
Name of a git tag on the version's commit, or the tag of a release. |
c4h:toRef |
The ref name the later version of a comparison was asked for by. |
c4h:tripleCount |
Number of triples in the version's named graph. |
| Individuals | |
|---|---|
c4h:Committed |
The model file was part of the commit, as its author wrote it. |
c4h:Regenerated |
The model was produced after the fact for a commit whose own model was missing or older than its code, by updating a copy of an earlier model for the files that changed. The version is attributed to whoever regenerated it, not to the commit's author, and is prov:wasDerivedFrom the version it started from. |
c4h:WorkingTree |
The model was read from uncommitted changes in a working tree; it has no commit, and its author is not recorded. |
Terms¶
Addition¶
c4h:Addition · class · Addition
A triple that the later version of a changeset has and the earlier one has not.
- Subclass of:
c4h:TripleChange - Disjoint with:
c4h:Removal - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Addition
Blame¶
c4h:Blame · class · Blame
For one version, where each of its triples comes from: a named graph, whose name is this blame's IRI, holding one c4h:TripleOrigin per triple.
- Subclass of:
prov:Entity - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Blame
ChangeSet¶
c4h:ChangeSet · class · Changeset
Everything that changed from one version to another: a named graph, whose name is this changeset's IRI, holding one reifier per added or removed triple and one element change per box, arrow, scenario or variant that changed.
- Subclass of:
prov:Entity - Note: c4h:fromVersion, c4h:toVersion, c4h:additionCount, c4h:removalCount, c4h:elementChangeCount; for two branches also c4h:mergeBase, c4h:fromRef and c4h:toRef.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#ChangeSet
Commit¶
c4h:Commit · class · Commit
A git commit: the activity that recorded a tree, with its author, committer, time, message and parents.
- Subclass of:
prov:Activity - Subclasses:
c4h:Merge - Note: c4h:sha, c4h:parentSha, c4h:message, c4h:author, c4h:committer, c4h:authoredAtTime, prov:endedAtTime (commit time), rdfs:seeAlso its web page when the repository is hosted.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Commit
ElementAddition¶
c4h:ElementAddition · class · Element addition
An element that the later version has and the earlier one has not.
- Subclass of:
c4h:ElementChange - Disjoint with:
c4h:ElementRemoval,c4h:ElementModification - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#ElementAddition
ElementChange¶
c4h:ElementChange · class · Element change
A summary, for people, of how one box, state, arrow, transition, scenario, variant, schema, entity, field, data relation or model setting changed in a changeset. Abstract: one of c4h:ElementAddition, c4h:ElementRemoval, c4h:ElementModification.
- Subclass of:
prov:Entity - Subclasses:
c4h:ElementAddition,c4h:ElementModification,c4h:ElementRemoval - Note: c4h:element (the element's IRI in the version graphs), c4h:elementKind, c4h:elementKey, and for a modification c4h:changedField and c4h:changedProperty.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#ElementChange
ElementModification¶
c4h:ElementModification · class · Element modification
An element that both versions have, with at least one field that differs.
- Subclass of:
c4h:ElementChange - Note: Moving an element or an edge within model.js is not a modification: declaration order is not compared.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#ElementModification
ElementRemoval¶
c4h:ElementRemoval · class · Element removal
An element that the earlier version has and the later one has not.
- Subclass of:
c4h:ElementChange - Disjoint with:
c4h:ElementModification - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#ElementRemoval
History¶
c4h:History · class · History
A dataset of versions of one architecture model: its members (prov:hadMember) are the versions, in the order of their c4h:sequenceNumber, and it links the changesets between consecutive versions.
- Subclass of:
prov:Collection - Note: Says how it was made: c4h:modelPath, c4h:resolution, c4h:range, c4h:sourceRepository, c4h:includesEmails, and c4h:demo when its authors are fictional.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#History
Merge¶
c4h:Merge · class · Merge
A commit with more than one parent. At merge resolution, every version of a branch's first-parent line is generated by a merge or a direct commit.
- Subclass of:
c4h:Commit - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Merge
ModelOrigin¶
c4h:ModelOrigin · class · Model origin
Where the model of a version comes from: committed with the code, regenerated afterwards for a commit that had none or an outdated one, or taken from uncommitted changes in a working tree.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#ModelOrigin
PullRequest¶
c4h:PullRequest · class · Pull request
A pull request (or merge request): the review and merge of a branch, identified by its number, with its title, author, state and merge commit.
- Subclass of:
prov:Activity - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#PullRequest
Regeneration¶
c4h:Regeneration · class · Regeneration
Producing the model of a commit after the fact, from an earlier model and the files that changed since (c4h:baseSha, c4h:changedFile).
- Subclass of:
prov:Activity - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Regeneration
Release¶
c4h:Release · class · Release
The tagging of a commit as a release. At tag resolution every version is generated by one.
- Subclass of:
prov:Activity - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Release
Removal¶
c4h:Removal · class · Removal
A triple that the earlier version of a changeset has and the later one has not.
- Subclass of:
c4h:TripleChange - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Removal
Squash¶
c4h:Squash · class · Squash
Collapsing a range of commits into one squashed version. prov:wasInformedBy each commit of the range.
- Subclass of:
prov:Activity - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Squash
SquashedVersion¶
c4h:SquashedVersion · class · Squashed version
A version that stands for a range of commits (base..head) at once: it holds the architecture at the head, is a revision of the version at the base, and lists every model commit of the range with c4h:coversCommit. Its changeset holds the net change of the range.
- Subclass of:
c4h:Version - Note: Used to describe a release as one step. The reifiers of its changeset still name, per triple, the commit inside the range that made the change.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#SquashedVersion
TripleChange¶
c4h:TripleChange · class · Triple change
A reifier (RDF 1.2) of one triple that a changeset adds or removes: r rdf:reifies <<( s p o )>>. It says which changeset it belongs to, the version it was changed in, the activity that made the change and the agents it is attributed to.
- Subclass of:
prov:Entity - Subclasses:
c4h:Addition,c4h:Removal - Note: Abstract: every triple change is a c4h:Addition or a c4h:Removal, and exporters type it with that class only.
- Example:
:change:3f2a… rdf:reifies <<( :api rdfs:label "API service" )>> ; a c4h:Addition ; c4h:changedIn :version:1e41… ; prov:wasAttributedTo :agent:caviri . - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#TripleChange
TripleOrigin¶
c4h:TripleOrigin · class · Triple origin
A reifier (RDF 1.2) of one triple of a version, saying in which version, by which activity and by whom that triple was introduced.
- Subclass of:
prov:Entity - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#TripleOrigin
Version¶
c4h:Version · class · Version
The whole architecture as recorded at one git commit. Its IRI is also the name of the named graph that holds that architecture, in the terms of the core and view modules.
- Subclass of:
prov:Entity - Subclasses:
c4h:SquashedVersion - Note: Described in the default graph: prov:wasRevisionOf the previous version, prov:generatedAtTime, prov:wasGeneratedBy the commit, merge, release, pull request or squash that produced it, prov:wasAttributedTo the agents whose changes it holds, and the git details (c4h:commitSha, c4h:modelCommit, c4h:ref, c4h:tag, c4h:pullRequest, c4h:modelPath, c4h:modelOrigin).
- Example:
:version:1e415ac8… a c4h:Version ; prov:wasRevisionOf :version:888fcad… ; prov:wasGeneratedBy :commit:1e415ac8… . - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Version
WorkingTreeEdit¶
c4h:WorkingTreeEdit · class · Working tree edit
Uncommitted changes to the model in a working tree.
- Subclass of:
prov:Activity - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#WorkingTreeEdit
author¶
c4h:author · object property · author
The agent who wrote the changes of a commit (git author).
- Subproperty of:
prov:wasAssociatedWith - Domain:
c4h:Commit - Range:
prov:Agent - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#author
blameOf¶
c4h:blameOf · object property · blame of
The version whose triples a blame explains.
- Domain:
c4h:Blame - Range:
c4h:Version - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#blameOf
changedIn¶
c4h:changedIn · object property · changed in
The version of the history that holds the change: the changeset's later version.
- Range:
c4h:Version - Note: Which commit made the change is prov:wasGeneratedBy: for a changeset that spans several commits (a merge, a release, a squash, two branches) it names the commit inside the span.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#changedIn
changedProperty¶
c4h:changedProperty · object property · changed property
A property of which the element has a triple added or removed in the changeset.
- Domain:
c4h:ElementChange - Range:
rdf:Property - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#changedProperty
committer¶
c4h:committer · object property · committer
The agent who recorded a commit (git committer), often the author, or whoever merged or rebased it.
- Subproperty of:
prov:wasAssociatedWith - Domain:
c4h:Commit - Range:
prov:Agent - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#committer
coversCommit¶
c4h:coversCommit · object property · covers commit
A commit of the range that a squashed version stands for and that changed the model.
- Domain:
c4h:SquashedVersion - Range:
c4h:Commit - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#coversCommit
element¶
c4h:element · object property · element
The resource an element change is about, by its IRI in the version graphs: an element, a relationship, a scenario, a variant, a schema, an entity, a field or a relation of the data module (c4d:), or the model for a model setting.
- Domain:
c4h:ElementChange - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#element
fromVersion¶
c4h:fromVersion · object property · from version
The earlier version of a changeset: removals are triples it has.
- Domain:
c4h:ChangeSet - Range:
c4h:Version - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#fromVersion
hasChangeSet¶
c4h:hasChangeSet · object property · has changeset
A changeset between two consecutive versions of the history.
- Domain:
c4h:History - Range:
c4h:ChangeSet - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#hasChangeSet
inBlame¶
c4h:inBlame · object property · in blame
The blame a triple origin belongs to.
- Domain:
c4h:TripleOrigin - Range:
c4h:Blame - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#inBlame
inChangeSet¶
c4h:inChangeSet · object property · in changeset
The changeset a triple change or an element change belongs to.
- Range:
c4h:ChangeSet - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#inChangeSet
introducedIn¶
c4h:introducedIn · object property · introduced in
The version in which the triple first appeared, without being removed since.
- Domain:
c4h:TripleOrigin - Range:
c4h:Version - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#introducedIn
mergeCommit¶
c4h:mergeCommit · object property · merge commit
The commit that merged a pull request.
- Domain:
c4h:PullRequest - Range:
c4h:Commit - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#mergeCommit
modelCommit¶
c4h:modelCommit · object property · model commit
The commit that last changed the model file at or before the version's commit. The same as the version's own commit when that commit changed the model.
- Domain:
c4h:Version - Range:
c4h:Commit - Note: A version taken at a release tag or a branch tip often has an older model commit: the code may have moved on since (see the skill's stale-model check).
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#modelCommit
modelOrigin¶
c4h:modelOrigin · object property · model origin
Where the model of the version comes from.
- Domain:
c4h:Version - Range:
c4h:ModelOrigin - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#modelOrigin
pullRequest¶
c4h:pullRequest · object property · pull request
The pull request whose merge, or whose head, the version is.
- Domain:
c4h:Version - Range:
c4h:PullRequest - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#pullRequest
sourceRepository¶
c4h:sourceRepository · object property · source repository
Web page of the git repository the history was read from, when it is hosted.
- Domain:
c4h:History - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#sourceRepository
taggedCommit¶
c4h:taggedCommit · object property · tagged commit
The commit a release tag points at.
- Domain:
c4h:Release - Range:
c4h:Commit - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#taggedCommit
toVersion¶
c4h:toVersion · object property · to version
The later version of a changeset: additions are triples it has.
- Domain:
c4h:ChangeSet - Range:
c4h:Version - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#toVersion
additionCount¶
c4h:additionCount · datatype property · addition count
Number of triples a changeset adds.
- Domain:
c4h:ChangeSet - Range:
xsd:integer - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#additionCount
authoredAtTime¶
c4h:authoredAtTime · datatype property · authored at time
When the changes of a commit were written (git author date). prov:endedAtTime is when it was recorded (committer date).
- Domain:
c4h:Commit - Range:
xsd:dateTime - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#authoredAtTime
baseRef¶
c4h:baseRef · datatype property · base ref
Branch a pull request merges into.
- Domain:
c4h:PullRequest - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#baseRef
baseSha¶
c4h:baseSha · datatype property · base SHA
SHA of the commit an activity started from: the base of a squash, or the commit whose model a regeneration updated.
- Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#baseSha
changedField¶
c4h:changedField · datatype property · changed field
Name of a model field that differs between the two versions, such as desc, name, parent, steps or (an entity) fields; on a field change, a property of the field such as type, required or ref.
- Domain:
c4h:ElementChange - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#changedField
changedFile¶
c4h:changedFile · datatype property · changed file
A repository path whose change a regeneration took into account.
- Domain:
c4h:Regeneration - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#changedFile
commitSha¶
c4h:commitSha · datatype property · commit SHA
Full SHA of the commit whose tree the version was read from. Absent for a working-tree version.
- Domain:
c4h:Version - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#commitSha
demo¶
c4h:demo · datatype property · demonstration data
True when the history is demonstration data: real commits of a made-up repository, with fictional authors.
- Domain:
c4h:History - Range:
xsd:boolean - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#demo
elementChangeCount¶
c4h:elementChangeCount · datatype property · element change count
Number of element changes in a changeset.
- Domain:
c4h:ChangeSet - Range:
xsd:integer - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#elementChangeCount
elementKey¶
c4h:elementKey · datatype property · element key
The element's key in the model: a node, scenario, schema or entity id, "from→to" (plus " #k" for the k-th edge between the same two nodes) for an edge,
- Domain:
c4h:ElementChange - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#elementKey
elementKind¶
c4h:elementKind · datatype property · element kind
What an element change is about: box, state, arrow, transition, scenario, variant, schema, entity, field, relation (the data module, c4d:) or setting. A field change is reported next to the change of its entity (an entity whose fields changed is modified, with the changed field fields).
- Domain:
c4h:ElementChange - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#elementKind
fictional¶
c4h:fictional · datatype property · fictional
True on an agent that does not exist: a made-up author of demonstration data.
- Domain:
prov:Agent - Range:
xsd:boolean - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#fictional
fromRef¶
c4h:fromRef · datatype property · from ref
The ref name the earlier version of a comparison was asked for by.
- Domain:
c4h:ChangeSet - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#fromRef
fromSide¶
c4h:fromSide · datatype property · from side
True on a triple change of a comparison between two branches when the activity it names was on the earlier version's side: the change is the reverse of what that activity did.
- Range:
xsd:boolean - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#fromSide
headRef¶
c4h:headRef · datatype property · head ref
Branch a pull request merges from.
- Domain:
c4h:PullRequest - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#headRef
headSha¶
c4h:headSha · datatype property · head SHA
SHA of the last commit of a squash, or of the head of a pull request.
- Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#headSha
includesEmails¶
c4h:includesEmails · datatype property · includes e-mail addresses
Whether the agents of the dataset carry e-mail addresses (foaf:mbox). False by default: names only.
- Domain:
c4h:History - Range:
xsd:boolean - Note: Commit e-mail addresses are personal data that git exposes to anyone with the repository, but a published graph copies them to new places and makes them easy to harvest. Producers export them only when asked.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#includesEmails
mergeBase¶
c4h:mergeBase · datatype property · merge base
SHA of the commit where the two versions of a changeset diverged, when neither is an ancestor of the other.
- Domain:
c4h:ChangeSet - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#mergeBase
message¶
c4h:message · datatype property · message
The full commit message; its first line is also the commit's rdfs:label.
- Domain:
c4h:Commit - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#message
modelPath¶
c4h:modelPath · datatype property · model path
Repository-relative path of the file the model was read from (model.js, the MODEL block of an index.html, or a regenerated model).
- Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#modelPath
parentSha¶
c4h:parentSha · datatype property · parent SHA
Full SHA of a parent of a commit, one triple per parent.
- Domain:
c4h:Commit - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#parentSha
possibleRenameOf¶
c4h:possibleRenameOf · datatype property · possible rename of
On an element addition: the id of a removed element of the same type, name and parent (for an entity: of the same schema, with the same field names or the same name), which this one most likely replaces under a new id.
- Domain:
c4h:ElementAddition - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#possibleRenameOf
prNumber¶
c4h:prNumber · datatype property · pull request number
Number of a pull request in its repository.
- Domain:
c4h:PullRequest - Range:
xsd:integer - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#prNumber
prState¶
c4h:prState · datatype property · pull request state
State of a pull request when the history was built: OPEN, CLOSED or MERGED.
- Domain:
c4h:PullRequest - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#prState
prUrl¶
c4h:prUrl · datatype property · pull request URL
Web address of a pull request.
- Domain:
c4h:PullRequest - Range:
xsd:anyURI - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#prUrl
range¶
c4h:range · datatype property · range
The git range A..B a history was limited to.
- Domain:
c4h:History - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#range
rangeBase¶
c4h:rangeBase · datatype property · range base
SHA of the commit a squashed version's range starts after (base of base..head).
- Domain:
c4h:SquashedVersion - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#rangeBase
rangeHead¶
c4h:rangeHead · datatype property · range head
SHA of the last commit of a squashed version's range (head of base..head).
- Domain:
c4h:SquashedVersion - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#rangeHead
ref¶
c4h:ref · datatype property · ref
Name of a branch or remote branch that pointed at the version's commit when the history was built.
- Domain:
c4h:Version - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#ref
removalCount¶
c4h:removalCount · datatype property · removal count
Number of triples a changeset removes.
- Domain:
c4h:ChangeSet - Range:
xsd:integer - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#removalCount
resolution¶
c4h:resolution · datatype property · resolution
Which commits became versions: all (every commit that changed the model), merges (the first-parent line of a branch), tags, prs, refs (named explicitly) or squash.
- Domain:
c4h:History - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#resolution
sequenceNumber¶
c4h:sequenceNumber · datatype property · sequence number
Position of the version in its history, from 1 (oldest).
- Domain:
c4h:Version - Range:
xsd:integer - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#sequenceNumber
sha¶
c4h:sha · datatype property · SHA
Full SHA of a commit.
- Domain:
c4h:Commit - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#sha
tag¶
c4h:tag · datatype property · tag
Name of a git tag on the version's commit, or the tag of a release.
- Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#tag
toRef¶
c4h:toRef · datatype property · to ref
The ref name the later version of a comparison was asked for by.
- Domain:
c4h:ChangeSet - Range:
xsd:string - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#toRef
tripleCount¶
c4h:tripleCount · datatype property · triple count
Number of triples in the version's named graph.
- Domain:
c4h:Version - Range:
xsd:integer - IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#tripleCount
Committed¶
c4h:Committed · individual · committed
The model file was part of the commit, as its author wrote it.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Committed
Regenerated¶
c4h:Regenerated · individual · regenerated
The model was produced after the fact for a commit whose own model was missing or older than its code, by updating a copy of an earlier model for the files that changed. The version is attributed to whoever regenerated it, not to the commit's author, and is prov:wasDerivedFrom the version it started from.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#Regenerated
WorkingTree¶
c4h:WorkingTree · individual · working tree
The model was read from uncommitted changes in a working tree; it has no commit, and its author is not recorded.
- IRI:
https://caviri.github.io/c4-model-agentic-plugin/ontology/c4-history#WorkingTree