Skip to content

Instantly share code, notes, and snippets.

@baskaufs
Created November 7, 2016 03:19
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/f2ff2e5bef9107973df01f833eb1053e to your computer and use it in GitHub Desktop.
Save baskaufs/f2ff2e5bef9107973df01f833eb1053e to your computer and use it in GitHub Desktop.
RDF examples of Measurement, Occurrence, Taxon, and Reference records from EOL traitbank ; 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 dwciri: <http://rs.tdwg.org/dwc/iri/>.
@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 eolterms: <http://eol.org/schema/terms/>.
@prefix eol: <http://eol.org/schema/>.
<http://eol.org/traitbank/C053>
dcterms:identifier "C053";
dcterms:isReferencedBy <http://eol.org/traitbank/R046>;
dsw:atEvent _:5caadba0-b1d8-490e-a12e-58bab6475bb3;
dsw:occurrenceOf _:1a1003d2-7edb-49d5-a7c0-6e78ce200568;
a dwc:Occurrence.
_:5caadba0-b1d8-490e-a12e-58bab6475bb3
dwc:verbatimEventDate "austral spring";
dsw:locatedAt _:84c3e185-deaf-4549-b366-edc64d0f5e97;
a dwc:Event.
_:84c3e185-deaf-4549-b366-edc64d0f5e97
dwc:country "Australia";
rdfs:label "Australia";
dwc:waterBody "Hobson's Bay";
rdfs:label "Hobson's Bay";
dwc:continent "Australia";
a dcterms:Location.
_:1a1003d2-7edb-49d5-a7c0-6e78ce200568
a dwc:Organism.
_:c74f72f7-201c-4103-987e-4302a6a7b6ba
dwciri:toTaxon <http://eol.org/traitbank/T011>;
dsw:identifies _:1a1003d2-7edb-49d5-a7c0-6e78ce200568;
a dwc:Identification.
<http://eol.org/traitbank/C053.ttl>
dc:format "text/turtle";
dc:creator "Encyclopedia of Life";
rdfs:comment "Generated by Guid-O-Matic 2.0 https://github.com/baskaufs/guid-o-matic";
dcterms:references <http://eol.org/traitbank/C053>;
a foaf:Document.
@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 dwciri: <http://rs.tdwg.org/dwc/iri/>.
@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 eolterms: <http://eol.org/schema/terms/>.
@prefix eol: <http://eol.org/schema/>.
<http://eol.org/traitbank/M0433>
dcterms:identifier "M0433";
dcterms:relation <http://eol.org/traitbank/C053>;
eol:measurementOfTaxon "true"^^xsd:boolean;
dwciri:measurementType <http://eol.org/schema/terms/CellWidth>;
dwc:measurementValue "12";
dwc:measurementUnit "http://purl.obolibrary.org/obo/UO_0000017";
eolterms:statisticalMethod "http://semanticscience.org/resource/SIO_001113";
dc:contributor "Compiler: Anne E Thessen";
dcterms:references <http://eol.org/traitbank/R046>;
a dwc:MeasurementOrFact.
<http://eol.org/traitbank/M0433.ttl>
dc:format "text/turtle";
dc:creator "Encyclopedia of Life";
rdfs:comment "Generated by Guid-O-Matic 2.0 https://github.com/baskaufs/guid-o-matic";
dcterms:references <http://eol.org/traitbank/M0433>;
a foaf:Document.
@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 eolterms: <http://eol.org/schema/terms/>.
@prefix eol: <http://eol.org/schema/>.
<http://eol.org/traitbank/R046>
rdf:type dcterms:BibliographicResource;
dcterms:identifier "R046";
eolrefer:full_reference "Larsen, J. 1994. Unarmoured dinoflagellaes from Australian waters. I: The genus Gymnodinium (Gymnodiniales, Dinophyceae). Phycologia 33:24-33. http://dx.doi.org/10.2216/i0031-8884-33-1-24.1";
dcterms:bibliographicCitation "Larsen, J. 1994. Unarmoured dinoflagellaes from Australian waters. I: The genus Gymnodinium (Gymnodiniales, Dinophyceae). Phycologia 33:24-33. http://dx.doi.org/10.2216/i0031-8884-33-1-24.1";
a eolrefer:Reference.
<http://eol.org/traitbank/R046.ttl>
dc:format "text/turtle";
dc:creator "Encyclopedia of Life";
rdfs:comment "Generated by Guid-O-Matic 2.0 https://github.com/baskaufs/guid-o-matic";
dcterms:references <http://eol.org/traitbank/R046>;
a foaf:Document.
@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 eolterms: <http://eol.org/schema/terms/>.
@prefix eol: <http://eol.org/schema/>.
@prefix tc: <http://rs.tdwg.org/ontology/voc/TaxonConcept#>.
@prefix tn: <http://rs.tdwg.org/ontology/voc/TaxonName#>.
<http://eol.org/traitbank/T011>
dcterms:identifier "T011";
tc:nameString "Gymnodinium allophron";
rdfs:label "Gymnodinium allophron";
dwc:parentNameUsageID <http://eol.org/traitbank/T161>;
tc:hasName _:647b849d-dcf5-4bc1-a417-9ee8277e844a;
a dwc:Taxon.
_:647b849d-dcf5-4bc1-a417-9ee8277e844a
tn:rank "species";
a tn:TaxonName.
<http://eol.org/traitbank/T011.ttl>
dc:format "text/turtle";
dc:creator "Encyclopedia of Life";
rdfs:comment "Generated by Guid-O-Matic 2.0 https://github.com/baskaufs/guid-o-matic";
dcterms:references <http://eol.org/traitbank/T011>;
a foaf:Document.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment