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.oceanleadership; | |
import org.apache.jena.rdf.model.Model; | |
// import org.apache.jena.rdf.model.ModelFactory; | |
import org.apache.jena.rdf.model.Resource; | |
import org.apache.jena.rdf.model.Property; | |
import org.apache.jena.rdf.model.RDFNode; | |
// import org.apache.jena.riot.RDFFormat; | |
import org.topbraid.jenax.util.JenaUtil; | |
import org.topbraid.shacl.util.ModelPrinter; |
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 main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"github.com/aws/aws-sdk-go/aws" |
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
graph { | |
rankdir = LR; | |
overlap = false; // scale || false | |
splines = true; // true || false | |
concentrate=false | |
forcelabels=true; | |
// Entries | |
node [shape=circle,style=filled,color=lightblue]; "Uncatagorized"; | |
node [shape=oval,style=filled,color=lightblue]; |
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
{ | |
"@id": "http://foo.org/id/doc/1", | |
"@context": "https://schema.org/", | |
"@type": "ItemList", | |
"url": "http://en.wikipedia.org/wiki/Billboard_200", | |
"name": "Top music artists", | |
"description": "The artists with most cumulative weeks at number one according to Billboard 200", | |
"itemListElement": [ | |
{ | |
"@id": "http://foo.org/id/doc/1/li1", |
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://schema.org/", | |
"@type": "Organization", | |
"name": "R2R", | |
"contactPoint": { | |
"@type": "ContactPoint", | |
"contactType": "Administrator", | |
"url": "http://www.ldeo.columbia.edu/user/arko", | |
"name": "Bob Arko", | |
"email": "nemo@nobody.com" |
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 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> ; |
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
from datetime import datetime, timedelta | |
from prov_es.model import ProvEsDocument | |
# create doc | |
doc = ProvEsDocument() | |
# input database... | |
# Janus database credit JRSO/TAMU | |
id = "Janus" # not an id, just a NAME | |
downloadURL = 'http://iodp.org' # no download URL, just an "info" URL |
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": { | |
"Feature": "geojson:Feature", | |
"FeatureCollection": "geojson:FeatureCollection", | |
"GeometryCollection": "geojson:GeometryCollection", | |
"Journal": "http://purl.org/ontology/bibo/Journal", | |
"LineString": "geojson:LineString", | |
"MultiLineString": "geojson:MultiLineString", | |
"MultiPoint": "geojson:MultiPoint", | |
"MultiPolygon": "geojson:MultiPolygon", |
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": { | |
"@base" : "http://schema.org", | |
"glview" : "http://schema.geolink.org/somethingIforgot" | |
}, | |
"@type": "Dataset", | |
"name" : "larval krill pigments", | |
"description" : "Southern Ocean larval krill studies- fluorescence and clearance, 2001-2002", | |
"url" : "http://lod.bco-dmo.org/id/dataset/3300", | |
"keywords" : "cool words about this cool data", |
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 main | |
import ( | |
"database/sql" | |
"gopkg.in/rana/ora.v3" | |
"log" | |
"testing" | |
) | |
func init() { |