Modeling a NEON Data Product - NEONScience/NEON-schema.org GitHub Wiki
Goal: Provide a template that can be dynamically populated for each data product detail page.
Reference: https://github.com/ESIPFed/science-on-schema.org/blob/master/guides/Dataset.md
- With the below script, the API parameters are noted in square brackets without quotes.
- dbpedia is used as a reference for the coordinate reference system (CRS) 84 which is equivalent to WGS84.
- citation will need to be generated similarly to how it is generated on the data product details page.
- We don't have a good way to access the field names yet; we could look at a few ways to populate variableMeasured including generating RDF from tables in PDR.
- I am wondering if we can insert temporalCoverage in the spatialCoverage in addition to a blanket range across all sites.
- Have not yet tackled how to obtain the data. See the section on potentialAction/searchAction in the guide.
- provider and publisher can simply reference the jsonld for the repository.
{ "@context": { "@vocab": "https://schema.org", "dbpedia": "http://dbpedia.org/resource/" }, "@type": "Dataset", "name": [productName], "description": [productDescription], "url": "https://data.neonscience.org/data-products/"[productCode], "version": "provisional", "isAccessibleForFree": true, "keywords": [keywords], "license": "https://www.neonscience.org/data/about-data/data-policies", "identifier": "https://data.neonscience.org/data-products/"[productCode], "citation": [], "variablesMeasured": [], "includedInDataCatalog": { "@id": "https://data.neonscience.org/data-products/explore", "@type": "DataCatalog" }, "temporalCoverage": [min(availableMonths)]"/"[max(availableMonths)], "spatialCoverage": { "@type": "Place", "name": [siteCode], "description": [locationDescription], "@geo": { "@type": "GeoCoordinates", "latitude": [locationDecimalLatitude], "longitude": [locationDecimalLongitude], "elevation": [locationElevation] },... "additionalProperty": { "@type": ["PropertyValue", "dbpedia:Spatial_reference_system"], "@id": "http://www.opengis.net/def/crs/OGC/1.3/CRS84" } }, "provider": { "@id": "https://data.neonscience.org" }, "publisher": { "@id": "https://data.neonscience.org" } }