Skip to content

Instantly share code, notes, and snippets.

@fils
Created February 2, 2017 15:48
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 fils/3d337cd3768342646376206b7d5ac873 to your computer and use it in GitHub Desktop.
Save fils/3d337cd3768342646376206b7d5ac873 to your computer and use it in GitHub Desktop.
@prefix csvw: <http://www.w3.org/ns/csvw#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://opencoredata.org/doc/dataset/045deec9-94b2-445a-8fd2-43dbe90841fb/prov> # is a /prov extension really a good way to define a URI for this?
a prov:Attribution ;
prov:agent <http://doi.org/10.17616/R37936> ; # does this need to be made a node with schema type DOI noted?
prov:hadRole "Publisher" ; # is this a litterial ?
prov:wasAssociatedWith <https://github.com/OpenCoreData> ; # just a URL.. need a DOI for this git project?
prov:qualifiedUsage <http://opencoredata.org/doc/dataset/045deec9-94b2-445a-8fd2-43dbe90841fb/prov#qu1> ;
prov:qualifiedUsage <http://opencoredata.org/doc/dataset/045deec9-94b2-445a-8fd2-43dbe90841fb/prov#qu2> .
<http://opencoredata.org/doc/dataset/045deec9-94b2-445a-8fd2-43dbe90841fb/prov#qu1>
a prov:Usage ;
prov:entity <http://opencoredata.org/api/v1/documents/download/199_1215A_JanusVcdImage_JcAruSDk.csv> ;
prov:hadRole csvw:csvEncodedTabularData .
<http://opencoredata.org/doc/dataset/045deec9-94b2-445a-8fd2-43dbe90841fb/prov#qu2>
a prov:Usage ;
prov:entity <http://opencoredata.org/api/v1/documents/download/045deec9-94b2-445a-8fd2-43dbe90841fb/CSVW> ;
prov:hadRole csvw:tabularMetadata .
@fils
Copy link
Author

fils commented Apr 27, 2017

I really don't know PROV :) does it show.

I wonder if a better approach is to (in my case) view the ship as the actor that had a drilling event that results in a dataset.

Actor: Joides Resolution (which has an ID)
Event: The cruise / expedition / leg (which has an ID)
Result: dataset

@PaoloMissier
Copy link

would you be able to describe the use case as narrative first? I could then probably help you write PROV-N (the "only" human readable form of PROV) which can then be automatically translated into ttl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment