amalgame/commit
FIXED: Make sure all source entities are explicity of type prov:Entity
author | Jacco van Ossenbruggen |
---|---|
Tue May 16 18:59:09 2023 +0200 | |
committer | Jacco van Ossenbruggen |
Tue May 16 18:59:09 2023 +0200 | |
commit | 64355f0bbf770733079bdf7deadaaa9d24c8197a |
tree | ee1d9e3b3f6e06ca96925ae3f0d96850579643dc |
parent | b6bb6d144340b61500fe400c139cc07fe424f1f3 |
Diff style: patch stat
diff --git a/lib/amalgame/ag_provenance.pl b/lib/amalgame/ag_provenance.pl index 6841ed7..aa279db 100644 --- a/lib/amalgame/ag_provenance.pl +++ b/lib/amalgame/ag_provenance.pl @@ -82,6 +82,7 @@ prov_ensure_entity(Strategy, Entity, Graph) :- node_stats(Strategy, Entity, Stats, []), option(revision(Revision), Stats), prov_named_graphs(Repo, Graph), + rdf_assert(Entity, rdf:type, prov:'Entity', Graph), rdf_assert(Entity, amalgame:loadedInto, Repo, Graph), rdf_assert(Entity, 'http://usefulinc.com/ns/doap#revision', Revision^^xsd:string, Graph), findall(rdf(Entity, P, O), rdf(Entity, P, O), Triples),