id
stringlengths
14
15
text
stringlengths
5
1.57k
source
stringlengths
40
64
46be8daf939d-8
80 "@type": "Place", 81 "geo": { 82 "@type": "GeoCoordinates", 83 "latitude": 39.3280, 84 "longitude": 120.1633 85 }, 86 "description": "Description of the area served" 87 }, 88 { 89 "@type": "Text", 90 "description": "Textual description of area served...
https://book.oceaninfohub.org/thematics/projects/index.html
46be8daf939d-9
108 "address": { 109 "@type": "PostalAddress", 110 "streetAddress": "234 Main St.", 111 "addressLocality": "Anytown", 112 "addressRegion": "ST", 113 "postalCode": "12345", 114 "addressCountry": "USA" 115 } 116 } 117} import json from pyld import jsonld import os, sys currentdir = os...
https://book.oceaninfohub.org/thematics/projects/index.html
46be8daf939d-10
Fontconfig error: "/etc/fonts/conf.d/62-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document References# https://schema.org/Project
https://book.oceaninfohub.org/thematics/projects/index.html
cafb2f5ae649-0
Source and Prov Approaches# About# This section will present an identifer discussion and then focus on approaches publishers can use to provide more source and provenance information.This section is heavily influenced by [1] [2] and the reader is highly encouraged to read these references. It is not uncommon for a sin...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-1
6 "@type": "CreativeWork", 7 "url": "https://example.org/url/of/the/item", 8 "sameAs": "https://doi.org/10.5066/F7VX0DMQ", 9 "isBasedOn": "https://example.org/id/xyz", 10 "identifier": { 11 "@id": "https://doi.org/10.5066/F7VX0DMQ", 12 "@type": "PropertyValue", 13 "propertyID": "h...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-2
21 "name": "UNSD SDG indicator code:C140c01", 22 "description": "Number of countries making progress ... the oceans and their resources" 23 }, 24 "provider": { 25 "@id": "https://www.sample-data-repository.org", 26 "@type": "Organization", 27 "legalName": "Sample Data Repository...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-3
compacted = jsonld.compact(doc, context) jbutils.show_graph(compacted) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content at the end of the document Fontconfig err...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-4
doc = json.load(dgraph) frame = { "@context": {"@vocab": "https://schema.org/"}, "@explicit": "true", "@requireAll": "true", "@type": "CreativeWork", "identifier": "" } context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jd = ...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-5
"@type": "CreativeWork", "identifier": { "@id": "https://doi.org/10.5066/F7VX0DMQ", "@type": "PropertyValue", "propertyID": "https://registry.identifiers.org/registry/doi", "url": "https://doi.org/10.5066/F7VX0DMQ", "value": "doi:10.5066/F7VX0DMQ" } } propertyID# A common...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-6
url (pointing to type URL)# URL of the item. provider# schema.org/provider The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller. For OIH this is the agent that is re...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-7
doc = json.load(dgraph) frame = { "@context": {"@vocab": "https://schema.org/"}, "@explicit": "true", "@requireAll": "true", "@type": "CreativeWork", "provider": "" } context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jd = js...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-8
"@type": "CreativeWork", "provider": { "@id": "https://www.sample-data-repository.org", "@type": "Organization", "legalName": "Sample Data Repository Office", "name": "SDRO", "sameAs": "http://www.re3data.org/repository/r3dxxxxxxxxx", "url": "https://www.sample-data-r...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-9
doc = json.load(dgraph) frame = { "@context": {"@vocab": "https://schema.org/"}, "@explicit": "true", "@requireAll": "true", "@type": "CreativeWork", "publisher": "" } context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jd = j...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-10
"@type": "CreativeWork", "publisher": { "@id": "https://www.sample-data-repository.org", "@type": "Organization", "legalName": "Sample Data Repository Office", "name": "SDRO", "sameAs": "http://www.re3data.org/repository/r3dxxxxxxxxx", "url": "https://www.sample-data-...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-11
from rdflib.extras.external_graph_libs import rdflib_to_networkx_graph from pyld import jsonld import graphviz import os, sys currentdir = os.path.dirname(os.path.abspath('')) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from lib import jbutils with open("../../../odis-in/dataGraphs/thematics/i...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-12
Fontconfig error: "/etc/fonts/conf.d/62-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document { "@context": { "@vocab": "https://schema.org/" }, "@id": "https://example.org/id/XYZ", "@type": "CreativeWork", "sameAs": "https://doi.org/10.5066/F7VX0DMQ" } isBas...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-13
Values expected to be one of these types CreativeWork Event Used on these types Thing The subjectOf property has an inverse-property about. The property about can be used to: indicate the subject matter this thing is about Values expected to be one of these types Thing Used on these types CreativeWork Event Communicate...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-14
} compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jd = json.dumps(framed, indent=4) print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/...
https://book.oceaninfohub.org/thematics/identifier/id.html
cafb2f5ae649-15
"name": "UNSD SDG indicator code:C140c01", "url": "http://www.ontobee.org/ontology/SDGIO?iri=http://purl.unep.org/sdg/SDGIO_00020173" } } References# 1 Omar Benjelloun, Shiyu Chen, and Natasha Noy, editors. Google Dataset Search by the Numbers, 2020. URL: https://arxiv.org/abs/2006.06894. 2 Google search ce...
https://book.oceaninfohub.org/thematics/identifier/id.html
09719ba31016-0
Linking to documents and resources# Leveraging the ability to link between resources can serve many goals. We may wish to demonstrate connections between people and courses they have taken or or organizations they are connected with. We may be wishing to link documents to people or organizations. This section will r...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-1
predicates. 1{ 2 "@context": { 3 "@vocab": "https://schema.org/" 4 }, 5 "@id": "https://example.org/id/org/x", 6 "@type": "Organization", 7 "address": { 8 "@type": "PostalAddress", 9 "addressLocality": "Paris, France", 10 "postalCode": "F-75002", 11 "streetAddr...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-2
27 "description": "UN Department of Economic and Social Affairs Sustainable Development", 28 "propertyID": "https://registry.identifiers.org/registry/grid", 29 "url": "https://grid.ac/institutes/grid.475727.4" 30 }, 31 "subjectOf": { 32 "@type": "CreativeWork", 33 "@id": "http:/...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-3
45 }, 46 { 47 "@type": "CreativeWork", 48 "@id": "https://dx.doi.org/10.1038/sdata.2016.18", 49 "url": "https://www.nature.com/articles/sdata201618", 50 "name": "FAIR data principles", 51 "description": "FAIR Principles definition as referenced from: ...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-4
Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/62-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document subjectOf# Values expected to be one of these types Event CreativeWork Used on these ty...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-5
from rdflib.extras.external_graph_libs import rdflib_to_networkx_graph from pyld import jsonld import graphviz import os, sys currentdir = os.path.dirname(os.path.abspath('')) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from lib import jbutils with open("../../../odis-in/dataGraphs/thematics/s...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-6
Fontconfig error: "/etc/fonts/conf.d/62-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document { "@context": { "@vocab": "https://schema.org/" }, "@id": "https://example.org/id/org/x", "@type": "Organization", "subjectOf": { "@id": "http://purl.unep.or...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-7
use cases where resources can be grouped based on their connection to those principles and policies. import json from rdflib.extras.external_graph_libs import rdflib_to_networkx_multidigraph from rdflib.extras.external_graph_libs import rdflib_to_networkx_graph from pyld import jsonld import graphviz import os, sys cur...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-8
print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/62-google-c...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-9
"@type": "CreativeWork", "description": "FAIR Principles definition as referenced from: Wilkinson, M. D. et al. The FAIR Guiding Principles for scientific data management and stewardship.", "name": "FAIR data principles", "url": "https://www.nature.com/articles/sdata201618" }...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-10
9 "distribution": { 10 "@type": "DataDownload", 11 "contentUrl": "https://www.sample-data-repository.org/dataset/472032.tsv", 12 "encodingFormat": "text/tab-separated-values" 13 }, 14 "citation": { 15 "@type": "CreativeWork", 16 "@id": "http://purl.unep.org/sdg/SDGIO_00020173", 17 "url": "http://ww...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-11
sys.path.insert(0, parentdir) from lib import jbutils with open("../../../odis-in/dataGraphs/thematics/sdg/graphs/doc.json") as dgraph: doc = json.load(dgraph) context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) jbutils.show_graph(compacted) Fontconfig error: "/etc/fonts/conf...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-12
above examplewhich is of type Organization. The actual semantics of citation is rather vague stating it is a method to cite or reference another creative work. import json from rdflib.extras.external_graph_libs import rdflib_to_networkx_multidigraph from rdflib.extras.external_graph_libs import rdflib_to_networkx_graph...
https://book.oceaninfohub.org/thematics/sdg/index.html
09719ba31016-13
print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/62-google-c...
https://book.oceaninfohub.org/thematics/sdg/index.html
664c4db4d866-0
Datasets# About# Datasets See also For OIH the focus is on generic documents which can scope reports, data and other resources. In those cases where the resources being described are of type Dataset you may wish to review patterns developed for GeoScience Datasets by the ESIP Science on Schema community. Datasets# Docu...
https://book.oceaninfohub.org/thematics/dataset/index.html
664c4db4d866-1
12 ], 13 "license": "This work is licensed under a Creative Commons Attribution (CC-BY) 4.0 License", 14 "citation": [ 15 "Citation to other work relevant to this dataset", 16 "Citation to other work relevant to this dataset", 17 "Citation to other work relevant to this dataset" 18 ], ...
https://book.oceaninfohub.org/thematics/dataset/index.html
664c4db4d866-2
37 }, 38 { 39 "@type": "PropertyValue", 40 "name": "SamplingDeviceApertureSurfaceArea", 41 "url": "http://ontology.org/uriToSemanticDescriptorOfThisVariable", 42 "description": "Extended description of this variable" 43 } 44 ], 45 "includedInDataCat...
https://book.oceaninfohub.org/thematics/dataset/index.html
664c4db4d866-3
61 }, 62 "additionalProperty": { 63 "@type": "PropertyValue", 64 "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", 65 "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" 66 } 67 }, 68 "provider": [ 69 { 70 "@type":...
https://book.oceaninfohub.org/thematics/dataset/index.html
664c4db4d866-4
85 "Name or permanent ID of person or thing that performed this action", 86 "Name or permanent ID of person or thing that performed this action" 87 ], 88 "startTime": "2007-03-11T14:45UTC", 89 "endTime": "2007-03-11T15:42UTC", 90 "instrument": { ...
https://book.oceaninfohub.org/thematics/dataset/index.html
664c4db4d866-5
contextlib.redirect_stderr(devnull) currentdir = os.path.dirname(os.path.abspath('')) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from lib import jbutils url = "https://raw.githubusercontent.com/iodepo/odis-in/master/dataGraphs/thematics/docs/graphs/map.json" dgraph = urllib.request.urlopen(...
https://book.oceaninfohub.org/thematics/dataset/index.html
664c4db4d866-6
Fontconfig error: "/etc/fonts/conf.d/62-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document { "@context": { "@vocab": "https://schema.org/" }, "@id": "https://example.org/id/XYZ", "@type": "Map", "identifier": { "@id": "https://doi.org/10.5066/F7VX0...
https://book.oceaninfohub.org/thematics/dataset/index.html
d8afd6c8a721-0
Keywords and Defined Terms# About# This section is looking at how the keywords could be connected with Defined Terms that point to external vocabularies that follow a vocabulary publishing patterns like at the W3C Best Practice Recipes for Publishing RDF Vocabularies. The pattern breaks down a bit when attempting to co...
https://book.oceaninfohub.org/thematics/terms/list.html
d8afd6c8a721-1
These are: DefinedTerm, Text and URL. We can see the three different approaches here to defining keywords. Here, Region X is a classic text keyword. The other two are defined as a DefinedTerm. 1{ 2 "@context": { 3 "@vocab": "https://schema.org/" 4 }, 5 "@type": "Map", 6 "@id": "https://exampl...
https://book.oceaninfohub.org/thematics/terms/list.html
d8afd6c8a721-2
17 "keywords": [ 18 "Region X", 19 { 20 "@id": "http://purl.org/dc/dcmitype/Image", 21 "@type": "DefinedTerm", 22 "inDefinedTermSet": "http://purl.org/dc/terms/DCMIType", 23 "termCode": "Image", 24 "name": "Image" 25 }, 26 { 27 ...
https://book.oceaninfohub.org/thematics/terms/list.html
d8afd6c8a721-3
doc = json.load(dgraph) frame = { "@context": {"@vocab": "https://schema.org/"}, "@explicit": "true", "@requireAll": "true", "@type": "Map", "keywords": "" } context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jbutils.show_gra...
https://book.oceaninfohub.org/thematics/terms/list.html
d8afd6c8a721-4
{ "@context": "https://schema.org/", "keywords": [ "nitrous oxide", "Central Pacific", "headspace equilibration", "SRI Greenhouse Gas Monitoring Gas Chromatograph", "CTD profiler", "Gas Chromatograph" ] } Note Be sure to use the [] notation to define the keyword. This defined an arra...
https://book.oceaninfohub.org/thematics/terms/list.html
d8afd6c8a721-5
the property inDefinedTermSet. It does offer the ability to present both a human focused textual name and description of the term. This is a great way to link to a vocabulary entry that defines the term. It also allows for a URL to be used to link to the vocabulary entry. While this approach is the most comprehensi...
https://book.oceaninfohub.org/thematics/terms/list.html
d8afd6c8a721-6
5 } 6 }, 7 { 8 "@type": "DefinedTermSet", 9 "@id": "http://openjurist.org/dictionary/Ballentine", 10 "name": "Ballentine's Law Dictionary", 11 "description": "A description of Ballentine's Law Dictionary Term Set" 12 }, ...
https://book.oceaninfohub.org/thematics/terms/list.html
d8afd6c8a721-7
29 "@type": "DefinedTermSet", 30 "@id": "http://openjurist.org/dictionary/Ballentine" 31 } 32 } 33] import json from rdflib.extras.external_graph_libs import rdflib_to_networkx_multidigraph from rdflib.extras.external_graph_libs import rdflib_to_networ...
https://book.oceaninfohub.org/thematics/terms/list.html
d8afd6c8a721-8
Fontconfig error: "/etc/fonts/conf.d/62-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document References# schema.org/DefinedTerm schema.org/DefinedTermSet
https://book.oceaninfohub.org/thematics/terms/list.html
547b167cbd90-0
Essential Ocean Variables# This section details initial documentation of approaches for describing elements of a schema:Dataset with a focus on approaches supporting Essential Ocean Variables. A rough description of these links leveraging pseudo schema.org terms follows with a detailed and valid data graph as an exampl...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-1
7 "name": "Example Vessel Surveys Jan-Apr 2007", 8 "description": "Original provider: HDR Environmental, Operations and Construction, Inc. Dataset credits: The U.S. Navy Marine Species Monitoring Program Abstract:Features in this feature class represent sightings from the NAVFAC MISTCS Vessel Surveys Jan-Apr 20...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-2
17 "Marine Physics" 18 ], 19 "variableMeasured": [ 20 { 21 "@type": "PropertyValue", 22 "name": "Sea State", 23 "description": "Sea State is the characterization of wave and swell, typically in terms of height, wavelength, period, and directional wave energy fl...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-3
34 "value": 0.2, 35 "unitCode": "http://qudt.org/vocab/unit/N-PER-M2" 36 } 37 ], 38 "measurementTechnique": [ 39 "http://dx.doi.org/10.1002/exampleMethodsSeaStateDOI.ch1", 40 "http://dx.doi.org/10.1002/exampleMethodsOceanStressDOI.ch1" 41 ], 42 "publishingP...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-4
48 }, 49 { 50 "@type": "CreativeWork", 51 "url": "http://www.goosocean.org/components/com_oe/oe.php?task=download&id=34507&version=1.0&lang=1&format=1", 52 "name": "Ocean Observations Physics and Climate Panel (OOPC) Ocean Surface Stress GOOS EOV Specification Sheet", ...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-5
58 "name": "QA/QC guidance", 59 "description": "QA/QC - EOV data and the methods used to generate them should have been vetted through some QA/QC methods, ideally performed by an independent third-party. These should be included in a dedicated JSON-LD block, even if it points to the same methodo...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-6
75 "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", 76 "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" 77 } 78 }, 79 "provider": [ 80 { 81 "@id": "https://oceanexpert.org/institution/INSTITUTE_ID", 82 "@type": "Organ...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-7
99 "url": "http://vocab.nerc.ac.uk/collection/L22/current/TOOL0999/", 100 "description": "The WaMoS II 500 radar is an industry-proven X-band radar-based wave and surface current monitoring system developed by OceanWaveS. This sensor is able to measure and displays essential wave f...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-8
110 "description": "A high precision 3D sonic anemometer. Typical applications for this device include: meteorological systems, meteorological networks, measuring dispersion parameters for pollution modelling, research stations, industrial sites, air quality forecasts, eddy correlation fluxes, marine...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-9
Note In cases where a single value can be associated with a variable, or a min max value, this can be provided along with a unitCode property. In cases where a variable represents a large collection of data this can be omitted and the data obtained in a distribution reference. See also See also: Science on Schema va...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-10
framed = jsonld.frame(compacted, frame) jd = json.dumps(framed, indent=4) print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content a...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-11
"https://gcmd.earthdata.nasa.gov/KeywordViewer/scheme/all/11aca777-8a01-42ce-b076-b3059c3d8cae?gtm_keyword=SEA%20STATE&gtm_scheme=Earth%20Science" ] }, { "@type": "PropertyValue", "description": "The 2-dimensional horizontal vector Ocean Surface Stress is the rate per...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-12
parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from lib import jbutils with open("../../../odis-in/dataGraphs/thematics/variables/graphs/obisData2.json") as dgraph: doc = json.load(dgraph) frame = { "@context": {"@vocab": "https://schema.org/"}, "@explicit": "true", "@type": "Datase...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-13
{ "@context": { "@vocab": "https://schema.org/" }, "@id": "https://example.org/dataset/12345", "@type": "Dataset", "measurementTechnique": [ "http://dx.doi.org/10.1002/exampleMethodsSeaStateDOI.ch1", "http://dx.doi.org/10.1002/exampleMethodsOceanStressDOI.ch1" ] } publish...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-14
list order can be maintained with an @list keyword. import json from rdflib.extras.external_graph_libs import rdflib_to_networkx_multidigraph from rdflib.extras.external_graph_libs import rdflib_to_networkx_graph from pyld import jsonld import graphviz import os, sys currentdir = os.path.dirname(os.path.abspath('')) pa...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-15
print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/62-google-c...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-16
"url": "http://www.goosocean.org/components/com_oe/oe.php?task=download&id=34494&version=1.0&lang=1&format=1" }, { "@type": "CreativeWork", "description": "This is the EOV specification sheet released by GOOS for Ocean Surface Stress. It was composed by the Ocean Observations Pa...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-17
"name": "QA/QC guidance", "url": "http://example.org/id/doc/ID" } ] } spatialCoverage# More details on spatial elements are found at: Spatial Geometry import json from rdflib.extras.external_graph_libs import rdflib_to_networkx_multidigraph from rdflib.extras.external_graph_libs import rdflib_t...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-18
jd = json.dumps(framed, indent=4) print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content at the end of the document Fontconfig err...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-19
}, "geo": { "@type": "GeoShape", "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" } } } about# This section is an attempt to leverage schema.org to link instrument information. This is done via the Event type with a...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-20
frame = { "@context": {"@vocab": "https://schema.org/"}, "@explicit": "true", "@type": "Dataset", "about": "" } context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jd = json.dumps(framed, indent=4) print(jd) jbutils.show_graph(f...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-21
"description": "describe the activity, might include name here too.", "name": "Measurement of sea state", "potentialAction": [ { "@type": "Action", "instrument": { "@type": "Thing", "description": "The WaMoS II 500 radar...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-22
"instrument": { "@type": "Thing", "description": "A high precision 3D sonic anemometer. Typical applications for this device include: meteorological systems, meteorological networks, measuring dispersion parameters for pollution modelling, research stations, industrial sites, air...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-23
from pyld import jsonld import graphviz import os, sys currentdir = os.path.dirname(os.path.abspath('')) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from lib import jbutils with open("../../../odis-in/dataGraphs/thematics/variables/graphs/obisData2.json") as dgraph: doc = json.load(dgraph)...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-24
Fontconfig error: "/etc/fonts/conf.d/62-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document { "@context": { "@vocab": "https://schema.org/" }, "@id": "https://example.org/dataset/12345", "@type": "Dataset", "temporalCoverage": "2012-09-20/2016-01-22" } Scie...
https://book.oceaninfohub.org/thematics/variables/index.html
547b167cbd90-25
12 "@type": "time:Instant", 13 "time:inXSDDateTimeStamp": "1980-03-27T19:36:00Z" 14 }, 15 "time:hasEnd": { 16 "@type": "time:Instant", 17 "time:inXSDDateTimeStamp": "1981-01-03T00:00:00Z" 18 } 19 }] 20}
https://book.oceaninfohub.org/thematics/variables/index.html
bebedc8754f9-0
Spatial Maps# About# Map: A map represented by a static file or document The schema.org type Map only offers one special property beyond the parent CreativeWork. That is a mapType which is an enumeration of types that do not apply to OIH use cases. However, the use of the Map typing itself may aid in narrowing search...
https://book.oceaninfohub.org/thematics/docs/maps.html
bebedc8754f9-1
3 "@vocab": "https://schema.org/" 4 }, 5 "@type": "Map", 6 "@id": "https://example.org/id/XYZ", 7 "name": "Name or title of the document", 8 "description": "Description of the map to aid in searching", 9 "url": "https://www.sample-data-repository.org/creativework/map.pdf", 10 "identifi...
https://book.oceaninfohub.org/thematics/docs/maps.html
bebedc8754f9-2
23 "name": "Image" 24 }, 25 "Region X", 26 { 27 "@id": "https://www.wikidata.org/wiki/Q350134", 28 "@type": "URL", 29 "url": "https://www.wikidata.org/wiki/Q350134", 30 "name": "North Atlantic Ocean" 31 } 32 ] 33} import json from pyl...
https://book.oceaninfohub.org/thematics/docs/maps.html
bebedc8754f9-3
Fontconfig error: "/etc/fonts/conf.d/62-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Details: Identifier# For each profile there are a few key elements we need to know about. One key element is what the authoritative reference or canonical identifier is for a resource. import ...
https://book.oceaninfohub.org/thematics/docs/maps.html
bebedc8754f9-4
framed = jsonld.frame(compacted, frame) jd = json.dumps(framed, indent=4) print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content a...
https://book.oceaninfohub.org/thematics/docs/maps.html
bebedc8754f9-5
} } Keywords# We can see three different approaches here to defining keywords. import json from rdflib.extras.external_graph_libs import rdflib_to_networkx_multidigraph from rdflib.extras.external_graph_libs import rdflib_to_networkx_graph from pyld import jsonld import graphviz import os, sys currentdir = os.path.dirn...
https://book.oceaninfohub.org/thematics/docs/maps.html
bebedc8754f9-6
print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/62-google-c...
https://book.oceaninfohub.org/thematics/docs/maps.html
bebedc8754f9-7
"url": "https://www.wikidata.org/wiki/Q350134" } ] } References# For dataset we can use SOS Dataset OBPS group is using JericoS3 API (ref: https://www.jerico-ri.eu/) Traditional knowledge points here sounds like they use dspace For other document these are likely going to be some schema:CretiveWork with th...
https://book.oceaninfohub.org/thematics/docs/maps.html
88a1579cdc2c-0
Documents# About# Documents: These include datasets, reports or other documents See also For OIH the focus is on generic documents which can scope reports, data and other resources. In those cases where the resources being described are of type Dataset you may wish to review patterns developed for GeoScience Datasets b...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-1
14 }, 15 "author": { 16 "@id": "https://www.sample-data-repository.org/person/51317", 17 "@type": "Person", 18 "name": "Dr Uta Passow", 19 "givenName": "Uta", 20 "familyName": "Passow", 21 "url": "https://www.sample-data-repository.org/person/51317" 22 }, 23 "identifier": { 24 "@id": "https://d...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-2
36 "url": "url for the set" 37 }, 38 "termCode": "A code that identifies this DefinedTerm within a DefinedTermSet" 39 }, 40 "provider": { 41 "@id": "https://www.repositoryB.org", 42 "@type": "Organization", 43 "legalName": "Sample Data Repository Office", 44 "name": "SDRO", 45 "sameAs": "htt...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-3
doc = json.load(dgraph) context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) jbutils.show_graph(compacted) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-4
frame = { "@context": {"@vocab": "https://schema.org/"}, "@explicit": "true", "@requireAll": "true", "@type": "CreativeWork", "identifier": "" } context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jd = json.dumps(framed, inden...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-5
"@type": "PropertyValue", "propertyID": "https://registry.identifiers.org/registry/doi", "url": "https://doi.org/10.5066/F7VX0DMQ", "value": "doi:10.5066/F7VX0DMQ" } } Publisher and provider# Our JSON-LD documents are graphs that can use framing to subset. In this case we can look closer at...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-6
"provider": {}, "publisher": {} } context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jd = json.dumps(framed, indent=4) print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", l...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-7
"url": "https://www.sample-data-repository.org" }, "publisher": { "@id": "https://www.publishingrus.org", "@type": "Organization", "legalName": "Some Institute" } } Author type Person# Our JSON-LD documents are graphs that can use framing to subset. In this case we can look closer a...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-8
} context = { "@vocab": "https://schema.org/", } compacted = jsonld.compact(doc, context) framed = jsonld.frame(compacted, frame) jd = json.dumps(framed, indent=4) print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-9
"name": "Dr Uta Passow", "url": "https://www.sample-data-repository.org/person/51317" } } License# import json from rdflib.extras.external_graph_libs import rdflib_to_networkx_multidigraph from rdflib.extras.external_graph_libs import rdflib_to_networkx_graph from pyld import jsonld import graphviz import o...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-10
print(jd) jbutils.show_graph(framed) Fontconfig error: "/etc/fonts/conf.d/30-0-google-crosextra-caladea-fonts.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/60-open-sans.conf", line 1: Extra content at the end of the document Fontconfig error: "/etc/fonts/conf.d/62-google-c...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-11
} } License as SPDX URL# Use a simple URL SPDX creates URLs for many licenses including those that don’t have URLs From a source that harvesters can rely on (e.g. use URL to lookup more information about the license) { "@context": "https://schema.org/", "license": "https://spdx.org/licenses/CC-BY-4.0" } OR, include...
https://book.oceaninfohub.org/thematics/docs/index.html
88a1579cdc2c-12
https://irishmarineinstitute.github.io/erddap-lint/ https://github.com/earthcubearchitecture-project418/p419dcatservices/blob/master/CHORDS/DataFeed.jsonld *EMODnet (Coner Delaney) ERDAP also Are we talking links from schema.org that link to OGC and ERDAP services Are these methods? Sounds like may link to external me...
https://book.oceaninfohub.org/thematics/docs/index.html
53b3b717a3a2-0
Validation# About# This section contains some initial work on developing some validation approaches for OIH. The focus initially is not on validating approaches with the full publishing guidance. Rather the focuses is on the the “info hub” as a search application and develops validation to support that. Well Formed J...
https://book.oceaninfohub.org/validation/index.html
ed94a3609feb-0
SPARQL# Introduction# This notebook will go over some concepts for querying the graph that is generated by the Ocean InfoHub. The product of the publishing and indexing process is a graph. This graph follows the W3C Resource Description Framework (RDF). RDF is a data model that can be represented in various text enc...
https://book.oceaninfohub.org/users/query.html
ed94a3609feb-1
is a W3C recommendation documented at SPARQL 1.1 Query Language. Load a Graph# For this demonstration we will be using Python to load the graph and do our queries. However, there are many languages and libraries for working with graphs and SPARQL. Also, you can often query a graph using web UIs infront of your graph...
https://book.oceaninfohub.org/users/query.html
ed94a3609feb-2
Here we define ?s ?p ?o as the pattern we are looking for. The ? is a variable that can be used to match any value. In this case, we are looking for all the triples in the graph. We have used s, p and o to as simple names for our subject, predicate, object elements of the RDF triple. Since this would match ALL the v...
https://book.oceaninfohub.org/users/query.html