This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
PROVTOOLBOX="$HOME/software/provToolbox" | |
PROVCONVERT="$PROVTOOLBOX/bin/provconvert" | |
provUri=`curl -s -I $1 | grep ^Link:.*has_provenance | sed 's/.*<//' | sed 's/>.*//' | head -n 1` | |
provn=/tmp/$$.provn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix pav: <http://purl.org/pav/> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix prov: <http://www.w3.org/ns/prov#> . | |
@prefix : <http://example.com/blog#> . | |
<http://example.com/blog.html> | |
pav:createdBy :alice ; | |
pav:createdWith :wordpress ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix pav: <http://purl.org/pav/> . | |
@prefix prov: <http://www.w3.org/ns/prov#> . | |
@prefix prv: <http://purl.org/net/provenance/core#> . | |
@prefix prvTypes: <http://purl.org/net/provenance/types#> . | |
@prefix http: <http://www.w3.org/2006/http#> . | |
<http://example.com/data.csv> a prv:DataItem, prov:Entity ; | |
pav:retrievedFrom <http://example.org/originalData> ; | |
prv:retrievedBy [ a prvTypes:HTTPBasedDataAccess ; | |
prv:accessedResource <http://example.org/originalData> ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static org.junit.Assert.*; | |
import static org.junit.Assert.assertFalse; | |
import static org.junit.Assert.assertTrue; | |
import static org.junit.Assert.fail; | |
import java.net.URI; | |
import java.nio.file.DirectoryStream; | |
import java.nio.file.FileAlreadyExistsException; | |
import java.nio.file.FileSystem; | |
import java.nio.file.FileSystems; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.purl.wf4ever.robundle.fs; | |
import java.net.URI; | |
import java.nio.file.DirectoryStream; | |
import java.nio.file.FileSystem; | |
import java.nio.file.FileSystemNotFoundException; | |
import java.nio.file.FileSystems; | |
import java.nio.file.Files; | |
import java.nio.file.Path; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix dct: <http://purl.org/dc/terms/> . | |
@prefix prov: <http://www.w3.org/ns/prov#> . | |
@prefix nsl: <http://purl.org/ontology/storyline/> . | |
<> a owl:Ontology ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stain@vmint ~ $ curl -H "Accept: application/rdf+xml" http://localhost:8080/orcid-pub-web-1.1.5-SNAPSHOT/0000-0001-5533-6255 | |
<rdf:RDF | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:foaf="http://xmlns.com/foaf/0.1/" | |
xmlns:owl="http://www.w3.org/2002/07/owl#" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema#" | |
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > | |
<rdf:Description rdf:about="http://localhost:8080/orcid-web/0000-0001-5533-6255"> | |
<foaf:familyName>Doe</foaf:familyName> | |
<foaf:givenName>John</foaf:givenName> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@base <app://2b9486f0-54d8-4274-b241-7669538b0d2f/.ro/> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
@prefix prov: <http://www.w3.org/ns/prov#> . | |
@prefix pav: <http://purl.org/pav/> . | |
@prefix prov: <http://www.w3.org/ns/prov#> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
@prefix dc: <http://purl.org/dc/elements/1.1/> . |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context" : [ "https://w3id.org/scufl2/context", { | |
"@base" : "http://ns.taverna.org.uk/2010/workflowBundle/064fcb33-cb4c-424c-a608-258c8529652e/" | |
} ], | |
"id" : "http://ns.taverna.org.uk/2010/workflowBundle/064fcb33-cb4c-424c-a608-258c8529652e/", | |
"workflow" : { | |
"id" : "workflow/Generic_ENM_workflow/", | |
"name" : "Generic_ENM_workflow", | |
"revisions" : [ { | |
"id" : "http://ns.taverna.org.uk/2010/workflow/064fcb33-cb4c-424c-a608-258c8529652e/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "http://ns.taverna.org.uk/2010/activity/rest.context", | |
"outgoingDataFormat": "String", | |
"escapeParameters": false, | |
"request": { | |
"httpMethod": "POST", | |
"headers": [ | |
{ "header": "Accept", | |
"value": "audio/mpeg" }, | |
{ "header": "Content-Type", |