Skip to content

Instantly share code, notes, and snippets.

@stain
Last active November 13, 2020 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stain/18113538dac002ebebc97a238e57e296 to your computer and use it in GitHub Desktop.
Save stain/18113538dac002ebebc97a238e57e296 to your computer and use it in GitHub Desktop.
Simple example of PROV-N, based on https://www.w3.org/TR/prov-primer/
document
prefix ex <http://example.com/>
prefix s <http://schema.org/>
entity(ex:regionList)
entity(ex:dataset, [ prov:type='s:Dataset' ])
entity(ex:composition)
activity(ex:composing, [ prov:type='ex:Composing',
prov:label="Composing region and data" ])
agent(ex:derek,
[ prov:type='prov:Person', s:givenName="Derek",
s:email="derek@example.org" ])
used(ex:composing, ex:dataset, 2011-11-16T16:00:00)
used(ex:composing, ex:regionList, -)
wasGeneratedBy(ex:composition, ex:composing, 2011-11-16T16:45:00)
wasAssociatedWith(ex:composing, ex:derek, -)
wasAttributedTo(ex:composition, ex:derek)
endDocument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment