Open huard opened 3 years ago
Hi David, I don't understand very well the issue. Where it reads
Hi Joaquin, It's an example you posted here: https://github.com/cf-convention/discuss/issues/33#issuecomment-643187959 that I serialized to prov-n (I believe).
What confuses me is the relation between prov's data model and METACLIP's DatasetSubset. Looking at https://www.w3.org/TR/prov-dm/uml/essentials.png, I would think that subclasses of Derivation would be edges, not vertices. Again, I'm a newbie and this may be a stupid question.
Hi, in the datasource ontology, DatasetSubset is a subclass of Step, which is a subclass of prov:Derivation. My understanding is that I would write this in prov-n as:
wasDerivedFrom(ex:id, generated_entity, used_entity, [prov:type="ds:DatasetSubset"])
The
used_entity
would be the parentds:Dataset
, but it's not clear what is the generated entity. In metaclipR, a vertex is created withds:DatasetSubset
, and then an edge connects it tods:Dataset
usingds:hadDataset
. When I look at graphs exported by metaclip, the parent Dataset looks like this:Where there there are two DatasetSubsets attached to the data through one hadDatasetSubset edge.
I think what I don't understand is why in the PROV-DM a Derivation is an edge, while where it seems to be used as an entity, and why are there two subsets ?