Skip to content

Instantly share code, notes, and snippets.

@millar
Created August 28, 2013 08:36
Show Gist options
  • Save millar/6363612 to your computer and use it in GitHub Desktop.
Save millar/6363612 to your computer and use it in GitHub Desktop.
Provenance bundle in PROV-JSON.
{
"wasAttributedTo": {
"_:id4": {
"prov:entity": "alice:bundle2",
"prov:agent": "ex:Alice"
},
"_:id2": {
"prov:entity": "bob:bundle1",
"prov:agent": "ex:Bob"
}
},
"bundle": {
"bob:bundle1": {
"wasGeneratedBy": {
"_:id5": {
"prov:time": "2012-05-24T10:00:01",
"prov:entity": "ex:report1"
}
},
"entity": {
"ex:report1": {
"prov:type": "report",
"ex:version": 1
}
}
},
"alice:bundle2": {
"wasDerivedFrom": {
"_:id7": {
"prov:usedEntity": "ex:report1",
"prov:generatedEntity": "ex:report2"
}
},
"wasGeneratedBy": {
"_:id6": {
"prov:time": "2012-05-25T11:00:01",
"prov:entity": "ex:report2"
}
},
"entity": {
"ex:report1": {},
"ex:report2": {
"prov:type": "report",
"ex:version": 2
}
}
}
},
"entity": {
"bob:bundle1": {
"prov:type": "\"prov:Bundle\"^^xsd:QName"
},
"alice:bundle2": {
"prov:type": "\"prov:Bundle\"^^xsd:QName"
}
},
"prefix": {
"bob": "http://example.org/bob/",
"ex": "http://www.example.com/",
"alice": "http://example.org/alice/"
},
"agent": {
"ex:Bob": {},
"ex:Alice": {}
},
"wasGeneratedBy": {
"_:id1": {
"prov:time": "2012-05-24T10:30:00",
"prov:entity": "bob:bundle1"
},
"_:id3": {
"prov:time": "2012-05-25T11:15:00",
"prov:entity": "alice:bundle2"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment