Skip to content

Instantly share code, notes, and snippets.

@baskaufs
Created November 7, 2016 03:04
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 baskaufs/40825d04aecf31a9cf9b19c26d6bcb3f to your computer and use it in GitHub Desktop.
Save baskaufs/40825d04aecf31a9cf9b19c26d6bcb3f to your computer and use it in GitHub Desktop.
Example RDF graph for a GGBN specimen USNM:Fishes:AC4YC16 ; see http://baskauf.blogspot.com/2016/11/guid-o-matic-meets-dwc-rdf-octopus.html
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix dwc: <http://rs.tdwg.org/dwc/terms/>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix gbifterms: <http://rs.gbif.org/terms/1.0/>.
@prefix ac: <http://rs.tdwg.org/ac/terms/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix dcmitype: <http://purl.org/dc/dcmitype/>.
@prefix eolmedia: <http://eol.org/schema/media/>.
@prefix eolrefer: <http://eol.org/schema/reference/>.
@prefix bibo: <http://purl.org/ontology/bibo/>.
@prefix bsc: <http://biscicol.org/terms/index.html#>.
@prefix dsw: <http://purl.org/dsw/>.
@prefix ggbn: <http://data.ggbn.org/schemas/ggbn/terms/>.
<http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>
rdf:type dwc:MaterialSample;
rdf:type dwc:Organism;
dc:type "PhysicalObject";
dwc:institutionCode "USNM";
dwc:collectionCode "Fishes";
dwc:basisOfRecord "MaterialSample";
dcterms:identifier "AC4YC16";
dcterms:identifier "http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094";
dwc:catalogNumber "AC4YC16";
dwc:disposition "in collection";
dwc:associatedSequences "http://www.ncbi.nlm.nih.gov/nuccore/JQ841293";
dsw:hasDerivative <http://www.ncbi.nlm.nih.gov/nuccore/JQ841293>;
dsw:evidenceFor _:043401ee-cb79-4e64-8564-8ad9b3144d57;
a dwc:PreservedSpecimen.
_:2be1d828-2567-4904-9c8b-3b89fa72ff65
dwc:startDayOfYear "12";
dwc:endDayOfYear "12";
dwc:year "2007"^^xsd:gYear;
dwc:month "1";
dwc:day "12";
dwc:verbatimEventDate "12 Jan 2007";
dsw:locatedAt _:15267a2f-7f71-48ee-8adc-261fcf983eb5;
a dwc:Event.
_:15267a2f-7f71-48ee-8adc-261fcf983eb5
dwc:higherGeography "Atlantic, Caribbean Sea, Belize, Carrie Bow Cay";
rdfs:label "Atlantic, Caribbean Sea, Belize, Carrie Bow Cay";
dwc:waterBody "Atlantic, Caribbean Sea";
dwc:island "Carrie Bow Cay";
dwc:country "Belize";
dwc:locality "Belize, Carrie Bow Cay, outhouse dock (dock off ocean side).";
dwc:verbatimDepth "Surface";
dwc:minimumDepthInMeters "0"^^xsd:decimal;
dwc:verbatimLatitude "16 48 7.7 N";
dwc:verbatimLongitude "88 04 54.3 W";
dwc:decimalLatitude "16.80214"^^xsd:decimal;
dwc:decimalLongitude "-88.08175"^^xsd:decimal;
a dcterms:Location.
_:d3460144-ffa9-409d-8563-35c90eee515d
dwc:scientificName "Nes longus";
dwc:higherClassification "Animalia, Chordata, Vertebrata, Osteichthyes, Actinopterygii, Neopterygii, Acanthopterygii, Perciformes, Gobioidei, Gobiidae, Gobiinae";
dwc:kingdom "Animalia";
dwc:phylum "Chordata";
dwc:class "Actinopterygii";
dwc:order "Perciformes";
dwc:family "Gobiidae";
dwc:genus "Nes";
dwc:specificEpithet "longus";
dsw:identifies <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a dwc:Identification.
_:043401ee-cb79-4e64-8564-8ad9b3144d57
dwc:recordNumber "BLZ 7049";
dwc:recordedBy "D. Smith, J. Mounts & A. Driskell";
dwc:individualCount "1"^^xsd:int;
dwc:fieldNumber "CB 07-05";
dsw:atEvent _:2be1d828-2567-4904-9c8b-3b89fa72ff65;
dsw:occurrenceOf <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a dwc:Occurrence.
_:07774385-f863-4956-9e11-82721c794e67
rdf:type dcterms:RightsStatement;
ggbn:blocked "No";
ggbn:loanConditions "only with permission of sample provider";
dcterms:disposition "in collection";
dcterms:relation <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a ggbn:Loan.
_:6712096e-833f-4274-9bfb-a18e85a1ef42
rdf:type dwc:MaterialSample;
ggbn:preparationType "Whole genomic DNA";
rdfs:label "Whole genomic DNA";
ggbn:preparationMaterials "BZLWD049-07";
dsw:derivedFrom <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a ggbn:Preparation.
_:43d81740-6bc9-454f-8ed8-4eccdd99b589
rdf:type dwc:MaterialSample;
ggbn:materialSampleType "DNA";
dsw:derivedFrom <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a ggbn:MaterialSample.
_:382eb282-b511-459a-a8e1-7ebc46eee850
dwc:relatedResourceID "institutionCode=USNM&collectionCode=Fishes&catalogNumber=415085.10622386&accesspoint=http://collections.nmnh.si.edu/ipt/archive.do?r=nmnhdwca&guid=http://n2t.net/ark:/65665/36c30bb65-83d4-4d3e-8418-ea7a477336e7";
dwc:relationshipOfResource "same individual";
dcterms:relation <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a dwc:ResourceRelationship.
_:67dccb65-0517-4e83-985f-fad14f9f7b64
dwc:relatedResourceID "institutionCode=USNM&collectionCode=Fishes&catalogNumber=AC1VY80&accesspoint=http://collections.nmnh.si.edu/ipt/archive.do?r=nmnh_materialsample_test&guid=http://n2t.net/ark:/65665/3e3d57abf-1a59-4084-a2f7-b7da30756279";
dwc:relationshipOfResource "same individual";
dcterms:relation <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a dwc:ResourceRelationship.
_:0dfe2922-2665-4568-b97b-d8cadea9b273
ggbn:geneticAccessionNumber "JQ841293";
rdfs:label "JQ841293";
ggbn:BOLDProcessID "BZLWD049-07";
ggbn:geneticAccessionURI "http://www.ncbi.nlm.nih.gov/nuccore/JQ841293";
dsw:hasDerivative <http://www.ncbi.nlm.nih.gov/nuccore/JQ841293>;
dsw:derivedFrom <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a ggbn:Amplification.
<http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094.ttl>
dc:format "text/turtle";
dc:creator "Global Genome Biodiversity Network";
rdfs:comment "Generated by Guid-O-Matic 2.0 https://github.com/baskaufs/guid-o-matic";
dcterms:references <http://n2t.net/ark:/65665/3f67a00c1-9cb2-4149-9359-3342ff868094>;
a foaf:Document.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment