Skip to content

Instantly share code, notes, and snippets.

@stain
Last active April 6, 2017 22:15
Show Gist options
  • Save stain/6027751 to your computer and use it in GitHub Desktop.
Save stain/6027751 to your computer and use it in GitHub Desktop.
Provenance in PROV-O using JSON-LD - converted to Turtle
{
"@context": {
"xsd": "http://www.w3.org/2001/XMLSchema#",
"prov": "http://www.w3.org/ns/prov#",
"foaf": "http://xmlns.com/foaf/0.1/",
"agent": { "@type": "@id", "@id": "prov:agent" },
"entity": { "@type": "@id", "@id": "prov:entity" },
"activity": { "@type": "@id", "@id": "prov:activity" },
"hadPlan": { "@type": "@id", "@id": "prov:hadPlan" },
"hadRole": { "@type": "@id", "@id": "prov:hadRole" },
"wasAttributedTo": { "@type": "@id", "@id": "prov:wasAttributedTo" },
"association": { "@type": "@id", "@id": "prov:qualifiedAssociation" },
"usage": { "@type": "@id", "@id": "prov:qualifiedUsage" },
"generation": { "@type": "@id", "@id": "prov:qualifiedGeneration" },
"startedAtTime": { "@type": "xsd:dateTime", "@id": "prov:startedAtTime" },
"endedAtTime": { "@type": "xsd:dateTime", "@id": "prov:endedAtTime" },
"@base": "http://mobyle.pasteur.fr/data/jobs/blast2/X07109667685986/"
},
"@graph": [
{ "@id": "http://mobyle.pasteur.fr/data/jobs/blast2/X07109667685986",
"@type": "prov:Activity",
"startedAtTime": "2013-07-17T14:49:00+02:00",
"endedAtTime": "2013-07-17T14:50:59+02:00",
"association": [
{
"agent": "http://mobyle.pasteur.fr/",
"hadPlan": "http://mobyle.pasteur.fr/data/services/servers/local/programs/blast2.xml"
},
{
"agent": "mbox:[email protected]"
}
],
"usage": {
"entity": "query_seq.fasta",
"hadRole": "http://mobyle.pasteur.fr/data/services/servers/local/programs/blast2.xml#in_query_seq"
}
},
{
"@id": "blast2.txt",
"@type": "prov:Entity",
"generation": {
"activity": "http://mobyle.pasteur.fr/data/jobs/blast2/X07109667685986",
"hadRole": "http://mobyle.pasteur.fr/data/services/servers/local/programs/blast2.xml#out_txtfile"
}
},
{
"@id": "query_seq.fasta",
"@type": "prov:Entity",
"wasAttributedTo": "mbox:[email protected]"
},
{
"@id": "mbox:[email protected]",
"@type": "prov:Person",
"foaf:mbox": "[email protected]"
}
]
}
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://mobyle.pasteur.fr/data/jobs/blast2/X07109667685986> a prov:Activity;
prov:endedAtTime "2013-07-17T14:50:59+02:00"^^xsd:dateTime;
prov:qualifiedAssociation [
prov:agent <http://mobyle.pasteur.fr/>;
prov:hadPlan <http://mobyle.pasteur.fr/data/services/servers/local/programs/blast2.xml> ],
[
prov:agent <mbox:[email protected]> ];
prov:qualifiedUsage [
prov:entity <http://mobyle.pasteur.fr/data/jobs/blast2/X07109667685986/query_seq.fasta>;
prov:hadRole <http://mobyle.pasteur.fr/data/services/servers/local/programs/blast2.xml#in_query_seq> ];
prov:startedAtTime "2013-07-17T14:49:00+02:00"^^xsd:dateTime .
<http://mobyle.pasteur.fr/data/jobs/blast2/X07109667685986/blast2.txt> a prov:Entity;
prov:qualifiedGeneration [
prov:activity <http://mobyle.pasteur.fr/data/jobs/blast2/X07109667685986>;
prov:hadRole <http://mobyle.pasteur.fr/data/services/servers/local/programs/blast2.xml#out_txtfile> ] .
<http://mobyle.pasteur.fr/data/jobs/blast2/X07109667685986/query_seq.fasta> a prov:Entity;
prov:wasAttributedTo <mbox:[email protected]> .
<mbox:[email protected]> a prov:Person;
foaf:mbox "[email protected]" .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment