From d5aa70394fe9d2b160639744898e0253dbf511dd Mon Sep 17 00:00:00 2001 From: Pier Luigi Buttigieg Date: Fri, 8 Mar 2024 13:50:48 +0100 Subject: [PATCH 01/33] Create Taxon.json --- dataGraphs/thematics/Taxon/graphs/Taxon.json | 53 ++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 dataGraphs/thematics/Taxon/graphs/Taxon.json diff --git a/dataGraphs/thematics/Taxon/graphs/Taxon.json b/dataGraphs/thematics/Taxon/graphs/Taxon.json new file mode 100644 index 0000000..8a1edf1 --- /dev/null +++ b/dataGraphs/thematics/Taxon/graphs/Taxon.json @@ -0,0 +1,53 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@type": "Taxon", + "@id": "URL: Optional. A URL that resolves to *this* JSON-LD document, NOT the URL of the Thing that this JSON-LD document describes. To link to the Thing itself, please use 'url' and/or 'identifier')", + + "childTaxon": [ + {"@type": "https://schema.org/Taxon"}, + "Text: ", + "URL" + ], + "hasDefinedTerm": {"@type": "https://schema.org/DefinedTerm"}, + "parentTaxon": [ + {"@type": "https://schema.org/Taxon"}, + "Text: ", + "URL" + ], + "taxonRank": [ + {"@type": "https://schema.org/PropertyValue"}, + "Text: ", + "URL" + ], + + "additionalType": [ + "Text: An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.", + "URL" + ], + "alternateName": "Text: An alternative name for this Thing.", + "description": "Text: Free text which describes this Thing.", + "disambiguatingDescription": "Text: A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation", + "identifier": [ + {"@type": "https://schema.org/PropertyValue"}, + "Text - The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.", + "URL" + ], + "image": [ + "URL", + {"@type": "https://schema.org/ImageObject"} + ], + "mainEntityOfPage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "name": "Text: The name of the item.", + "potentialAction": {"@type": "https://schema.org/Action"}, + "sameAs": "URL", + "subjectOf": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Event"} + ], + "url": "URL - the URL to the item described by this JSON-LD document" + } From b63e8709ef93a9e133f4002f05df02f60aef33ba Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Fri, 19 Apr 2024 09:55:20 -0300 Subject: [PATCH 02/33] minor formatting --- dataGraphs/thematics/Taxon/graphs/Taxon.json | 120 +++++++++++-------- 1 file changed, 69 insertions(+), 51 deletions(-) diff --git a/dataGraphs/thematics/Taxon/graphs/Taxon.json b/dataGraphs/thematics/Taxon/graphs/Taxon.json index 8a1edf1..64617df 100644 --- a/dataGraphs/thematics/Taxon/graphs/Taxon.json +++ b/dataGraphs/thematics/Taxon/graphs/Taxon.json @@ -1,53 +1,71 @@ { - "@context": { - "@vocab": "https://schema.org/" + "@context": { + "@vocab": "https://schema.org/" + }, + "@type": "Taxon", + "@id": "URL: Optional. A URL that resolves to *this* JSON-LD document, NOT the URL of the Thing that this JSON-LD document describes. To link to the Thing itself, please use 'url' and/or 'identifier')", + "childTaxon": [ + { + "@type": "https://schema.org/Taxon" }, - "@type": "Taxon", - "@id": "URL: Optional. A URL that resolves to *this* JSON-LD document, NOT the URL of the Thing that this JSON-LD document describes. To link to the Thing itself, please use 'url' and/or 'identifier')", - - "childTaxon": [ - {"@type": "https://schema.org/Taxon"}, - "Text: ", - "URL" - ], - "hasDefinedTerm": {"@type": "https://schema.org/DefinedTerm"}, - "parentTaxon": [ - {"@type": "https://schema.org/Taxon"}, - "Text: ", - "URL" - ], - "taxonRank": [ - {"@type": "https://schema.org/PropertyValue"}, - "Text: ", - "URL" - ], - - "additionalType": [ - "Text: An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.", - "URL" - ], - "alternateName": "Text: An alternative name for this Thing.", - "description": "Text: Free text which describes this Thing.", - "disambiguatingDescription": "Text: A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation", - "identifier": [ - {"@type": "https://schema.org/PropertyValue"}, - "Text - The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.", - "URL" - ], - "image": [ - "URL", - {"@type": "https://schema.org/ImageObject"} - ], - "mainEntityOfPage": [ - "URL", - {"@type": "https://schema.org/CreativeWork"} - ], - "name": "Text: The name of the item.", - "potentialAction": {"@type": "https://schema.org/Action"}, - "sameAs": "URL", - "subjectOf": [ - {"@type": "https://schema.org/CreativeWork"}, - {"@type": "https://schema.org/Event"} - ], - "url": "URL - the URL to the item described by this JSON-LD document" - } + "Text: ", + "URL" + ], + "hasDefinedTerm": { + "@type": "https://schema.org/DefinedTerm" + }, + "parentTaxon": [ + { + "@type": "https://schema.org/Taxon" + }, + "Text: ", + "URL" + ], + "taxonRank": [ + { + "@type": "https://schema.org/PropertyValue" + }, + "Text: ", + "URL" + ], + "additionalType": [ + "Text: An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.", + "URL" + ], + "alternateName": "Text: An alternative name for this Thing.", + "description": "Text: Free text which describes this Thing.", + "disambiguatingDescription": "Text: A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation", + "identifier": [ + { + "@type": "https://schema.org/PropertyValue" + }, + "Text - The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.", + "URL" + ], + "image": [ + "URL", + { + "@type": "https://schema.org/ImageObject" + } + ], + "mainEntityOfPage": [ + "URL", + { + "@type": "https://schema.org/CreativeWork" + } + ], + "name": "Text: The name of the item.", + "potentialAction": { + "@type": "https://schema.org/Action" + }, + "sameAs": "URL", + "subjectOf": [ + { + "@type": "https://schema.org/CreativeWork" + }, + { + "@type": "https://schema.org/Event" + } + ], + "url": "URL - the URL to the item described by this JSON-LD document" +} \ No newline at end of file From be9541f847c2b7d9bb813cf183ae248933f64095 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Fri, 19 Apr 2024 16:37:07 -0300 Subject: [PATCH 03/33] add ODISCat template --- .../graphs/odisCatOrganization-example.json | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json diff --git a/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json b/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json new file mode 100644 index 0000000..eea168e --- /dev/null +++ b/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json @@ -0,0 +1,70 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@id": "https://index.example.org/id/org/x", + "@type": "Organization", + "makesOffer": [ + { + "@type": "Offer", + "name": "machine-to-machine interactions", + "description": "The list of machine-to-machine interactions (e.g. APIs) that this ODISCat entry has reported.", + "itemOffered": [ + { + "@type": "WebAPI", + "audience": "The Ocean Data and Information System (ODIS) Federation and all users", + "name": "ODIS endpoint", + "description": "This field contains the URL which connects this ODISCat entry to the Ocean Data and Information System (ODIS). For more information, see: https://book.oceaninfohub.org/", + "documentation": "https://book.oceaninfohub.org/", + "serviceType": "sitemap or sitegraph", + "url": "www.url-to-odis-endpoint.org" + }, + { + "@type": "WebAPI", + "name": "example API", + "description": "....", + "documentation": "...", + "serviceType": "CKAN API", + "url": "www.url-to-ckan-endpoint.org" + } + ] + } + ], + "email": "secretariat(at)example.org", + "contactPoint": { + "@type": "ContactPoint", + "contactType": "Public Relations", + "description": "This contact point can have email and phone independent of the org itself", + "telephone": "( 33 1) 42 68 53 00", + "email": "secretariat(at)example.org" + }, + "name": "Organization X", + "description": "Description of org ...", + "telephone": "( 33 1) 42 68 53 00", + "url": "https://example.org/", + "keywords": [ + "Oceanography", + "Marine Physics" + ], + "memberOf": [ + { + "@type": "Organization", + "identifier": "https://oceanexpert.org/org/1", + "name": "Organization A", + "description": "This Organization is a member of Organization A" + }, + { + "@type": "Organization", + "identifier": "https://example.org/id/org/2", + "name": "Organization B", + "description": "This Organization is a member of Organization B" + } + ], + "identifier": { + "@id": "https://grid.ac/institutes/grid.475727.4", + "@type": "PropertyValue", + "description": "UN Department of Economic and Social Affairs Sustainable Development", + "propertyID": "https://registry.identifiers.org/registry/grid", + "url": "https://grid.ac/institutes/grid.475727.4" + } +} \ No newline at end of file From c5d8e03258889757fa9aa0db2f709282b0cf9dba Mon Sep 17 00:00:00 2001 From: Pier Luigi Buttigieg Date: Sat, 27 Apr 2024 17:19:39 +0200 Subject: [PATCH 04/33] Create ImageObject.json --- dataGraphs/thematics/ImageObject/graphs/ImageObject.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 dataGraphs/thematics/ImageObject/graphs/ImageObject.json diff --git a/dataGraphs/thematics/ImageObject/graphs/ImageObject.json b/dataGraphs/thematics/ImageObject/graphs/ImageObject.json new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/dataGraphs/thematics/ImageObject/graphs/ImageObject.json @@ -0,0 +1 @@ + From 222f67c23e8617b2f157b6076eaa2ee05d90ca21 Mon Sep 17 00:00:00 2001 From: Pier Luigi Buttigieg Date: Sat, 27 Apr 2024 17:55:36 +0200 Subject: [PATCH 05/33] Create MediaObject.json --- .../MediaObject/graphs/MediaObject.json | 331 ++++++++++++++++++ 1 file changed, 331 insertions(+) create mode 100644 dataGraphs/thematics/MediaObject/graphs/MediaObject.json diff --git a/dataGraphs/thematics/MediaObject/graphs/MediaObject.json b/dataGraphs/thematics/MediaObject/graphs/MediaObject.json new file mode 100644 index 0000000..0c2b106 --- /dev/null +++ b/dataGraphs/thematics/MediaObject/graphs/MediaObject.json @@ -0,0 +1,331 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@type": "MediaObject", + "@id": "URL: Optional. A URL that resolves to *this* JSON-LD document, NOT the URL of the CreativeWork that this JSON-LD document describes. To link to the CreativeWork itself, please use 'url' and/or 'identifier')", + + "associatedArticle": {"@type": "http://schema.org/NewsArticle"}, + "bitrate": "Text - The bitrate of the media object", + "contentSize": "Text - File size in (mega/kilo)bytes", + "contentUrl": "URL", + "duration": {"@type": "http://schema.org/Duration"}, + "embedUrl": "URL", + "encodesCreativeWork": {"@type": "http://schema.org/CreativeWork"}, + "endTime": [ + {"@type": "https://schema.org/DateTime"}, + {"@type": "https://schema.org/Time"} + ], + "height": [ + {"@type": "https://schema.org/Distance"}, + {"@type": "https://schema.org/QuantitativeValue"} + ], + "ineligibleRegion": [ + "Text - The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.", + {"@type": "https://schema.org/GeoShape"}, + {"@type": "https://schema.org/Place"} + ], + "playerType": "Text - Player type required—for example, Flash or Silverlight.", + "productionCompany": {"@type": "http://schema.org/Organization"}, + "regionsAllowed": {"@type": "http://schema.org/Place"}, + "requiresSubscription": [ + {"@type": "https://schema.org/Boolean"}, + {"@type": "https://schema.org/MediaSubscription"} + ], + "sha256": "Text - The SHA-2 SHA256 hash of the content of the item. For example, a zero-length input has value 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'", + "startTime": [ + {"@type": "https://schema.org/DateTime"}, + {"@type": "https://schema.org/Time"} + ], + "uploadDate": [ + {"@type": "https://schema.org/DateTime"}, + {"@type": "https://schema.org/Date"} + ], + "width": [ + {"@type": "https://schema.org/Distance"}, + {"@type": "https://schema.org/QuantitativeValue"} + ], + + "about": "Text or controlled vocabulary/ontology, singly or as an array: The subject matter of this CreativeWork", + "abstract": "Text: A descriptive summary of a CreativeWork", + "accessMode": "Text: The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the approved vocabulary https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary.", + "accessModeSufficient": { + "@type": "http://schema.org/ItemList", + "description": "An ItemList of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the approved vocabulary (https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary)." + }, + "accessibilityHazard":"Text: A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the approved vocabulary. https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary", + "accessibilitySummary": "Text: A textual summary of how this CreativeWork can be accessed, if there are any hazards associated with access, and related facts", + "accountablePerson": {"@type": "https://schema.org/Person"}, + "acquireLicensePage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "aggregateRating": {"@type": "AggregateRating"}, + "alternativeHeadline": "Text: A secondary title of the CreativeWork.", + "archivedAt": [ + "URL", + {"@type": "https://schema.org/WebPage"} + ], + "assesses": [ + "Text: Text to describe what (if anything) the CreativeWork described by this template assesses.", + {"@type": "https://schema.org/DefinedTerm"} + ], + "associatedMedia": {"@type": "https://schema.org/MediaObject"}, + "audience": {"@type": "https://schema.org/Audience"}, + "audio": [ + {"@type": "https://schema.org/AudioObject"}, + {"@type": "https://schema.org/Clip"}, + {"@type": "https://schema.org/MusicRecording"} + ], + "author": {"@type": "https://schema.org/Person"}, + "award": "Text: A description of an award won for this CreativeWork", + "character": {"@type": "https://schema.org/Person"}, + "citation": [ + "Text: A textual citation to other work relevant to this CreativeWork", + {"@type": "https://schema.org/CreativeWork"} + ], + "comment": "Text: A textual comment on the CreativeWork", + "commentCount": {"@type": "https://schema.org/Integer"}, + "conditionsOfAccess": "Text: Description of conditions that affect the availability of, or method(s) of access to, an item.", + "contentLocation": {"@type": "https://schema.org/Place"}, + "contentRating": [ + "Text: Text stating the official rating for this CreativeWork", + {"@type": "https://schema.org/Rating"} + ], + "contentReferenceTime": {"@type": "https://schema.org/DateTime"}, + "contributor": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "copyrightHolder": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "copyrightNotice": "Text. Text of a notice appropriate for describing the copyright aspects of this Creative Work", + "copyrightYear": {"@type": "https://schema.org/Number"}, + "correction": [ + "Text: description of a correction to the CreativeWork", + "URL", + {"@type": "https://schema.org/CorrectionComment"} + ], + "countryOfOrigin": {"@type": "https://schema.org/Country"}, + "creativeWorkStatus": [ + "Text: Description of the status of this CreativeWork in terms of its stage in a lifecycle", + {"@type": "https://schema.org/DefinedTerm"} + ], + "creator": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "creditText": "Text: Text used to credit person(s) and/or organization(s) associated with this CreativeWork", + "dateCreated": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "dateModified": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "datePublished": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "discussionUrl": "URL", + "editEIDR": [ + "Text: A statement on the EIDR (Entertainment Identifier Registry) identifier representing a specific edit / edition for a work of film or television.", + "URL" + ], + "editor": {"@type": "https://schema.org/Person"}, + "educationalAlignment": {"@type": "https://schema.org/AlignmentObject"}, + "educationalLevel": [ + "Text: The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", + "URL", + {"@type": "https://schema.org/DefinedTerm"} + ], + "educationalUse": [ + "Text: Description of the purpose of this CreativeWork in the context of education", + {"@type": "https://schema.org/DefinedTerm"} + ], + "encoding": {"@type": "https://schema.org/MediaObject"}, + "encodingFormat": [ + "Text: Textual description of the media type typically expressed using a MIME format (see IANA site [http://www.iana.org/assignments/media-types/media-types.xhtml] and MDN reference [https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types]), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc. ", + "URL" + ], + "exampleOfWork": {"@type": "https://schema.org/CreativeWork"}, + "expires": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "funder": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "funding": {"@type": "https://schema.org/Grant"}, + "genre": [ + "Text: Genre of the creative work, broadcast channel or group.", + "URL" + ], + "hasPart": {"@type": "https://schema.org/CreativeWork"}, + "headline": "Text: Headline of the article", + "inLanguage": [ + "Text: The language of the content or performance or used in an action.", + {"@type": "https://schema.org/Language"} + ], + "interactionStatistic": {"@type": "https://schema.org/InteractionCounter"}, + "interactivityType": "Text: The predominant mode of learning supported by the learning resource", + "interpretedAsClaim": {"@type": "https://schema.org/Claim"}, + "isAccessibleForFree": {"@type": "https://schema.org/Boolean"}, + "isBasedOn": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Product"}, + "URL" + ], + "isFamilyFriendly": {"@type": "https://schema.org/Boolean"}, + "isPartOf": [ + {"@type": "https://schema.org/CreativeWork"}, + "URL" + ], + "keywords": [ + "Text: Keywords or tags used to describe the CreativeWork.", + {"@type": "https://schema.org/DefinedTerm"}, + "URL" + ], + "learningResourceType": [ + "Text: The predominant type or kind characterizing the learning resource.", + {"@type": "https://schema.org/DefinedTerm"} + ], + "license": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "locationCreated": {"@type": "https://schema.org/Place"}, + "mainEntity": {"@type": "https://schema.org/Thing"}, + "maintainer": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "material": [ + {"@type": "https://schema.org/Product"}, + "Text: A material that something is made from, e.g. leather, wool, cotton, paper.", + "URL" + ], + "materialExtent": [ + {"@type": "https://schema.org/QuantitativeValue"}, + "Text: The quantity of the materials being described or an expression of the physical space they occupy" + ], + "mentions": {"@type": "https://schema.org/Thing"}, + "offers": [ + {"@type": "https://schema.org/Offer"}, + {"@type": "https://schema.org/Demand"} + ], + "pattern": [ + "Text: Text which states the pattern that the CreativeWork has, for example 'polka dot', 'striped', 'Canadian flag'", + {"@type": "https://schema.org/DefinedTerm"} + ], + "position": [ + "Integer: An integer which expresses the position of an item in a series or sequence of items.", + "Text: A textual description of the position of an item in a series or sequence of items." + ], + "producer": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "provider": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "publication": {"@type": "https://schema.org/PublicationEvent"}, + "publisher": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "publisherImprint": {"@type": "https://schema.org/Organization"}, + "publishingPrinciples": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "recordedAt": {"@type": "https://schema.org/Event"}, + "releasedEvent": {"@type": "https://schema.org/PublicationEvent"}, + "review": {"@type": "https://schema.org/Review"}, + "schemaVersion": [ + "Text", + "URL" + ], + "sdDatePublished": {"@type": "https://schema.org/Date"}, + "sdLicense": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "sdPublisher": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "size": "Text: Text indicating the phyiscal size of the CreativeWork (if appropriate). DefinedTerm or QuantitativeValue or SizeSpecification are also valid Types", + "sourceOrganization": {"@type": "https://schema.org/Organization"}, + "spatial": {"@type": "https://schema.org/Place"}, + "spatialCoverage": {"@type": "https://schema.org/Place"}, + "sponsor": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "teaches": [ + {"@type": "https://schema.org/DefinedTerm"}, + "Text" + ], + "temporal": "A more general property for any time-related information about this CreativeWork. This can be expressed as text or using the properties associated with the DateTime Type", + "temporalCoverage": [ + {"@type": "https://schema.org/DateTime"}, + "Text", + "URL" + ], + "text": "Text: The textual content of this CreativeWork.", + "thumbnail": {"@type": "https://schema.org/ImageObject"}, + "thumbnailUrl": "URL", + "timeRequired": {"@type": "https://schema.org/Duration"}, + "translationOfWork": {"@type": "https://schema.org/CreativeWork"}, + "translator":[ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "typicalAgeRange": "Text: The typical expected age range, e.g. '7-9', '11-'.", + "usageInfo":[ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "version": ["https://schema.org/Text", "https://schema.org/Number"], + "video": [ + {"@type": "https://schema.org/Clip"}, + {"@type": "https://schema.org/VideoObject"} + ], + "workExample": {"@type": "https://schema.org/CreativeWork"}, + "workTranslation": {"@type": "https://schema.org/CreativeWork"}, + + "additionalType": [ + "Text: An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.", + "URL" + ], + "alternateName": "Text: An alternative name for this Thing.", + "description": "Text: Free text which describes this Thing.", + "disambiguatingDescription": "Text: A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation", + "identifier": [ + {"@type": "https://schema.org/PropertyValue"}, + "Text - The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.", + "URL" + ], + "image": [ + "URL", + {"@type": "https://schema.org/ImageObject"} + ], + "mainEntityOfPage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "name": "Text: The name of the item.", + "potentialAction": {"@type": "https://schema.org/Action"}, + "sameAs": "URL", + "subjectOf": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Event"} + ], + "url": "URL - the URL to the item described by this JSON-LD document" +} From 45e7b8f93724014f2ad4b5edd75ebc3a45cb6cdd Mon Sep 17 00:00:00 2001 From: Pier Luigi Buttigieg Date: Sat, 27 Apr 2024 18:01:24 +0200 Subject: [PATCH 06/33] Update ImageObject.json --- .../ImageObject/graphs/ImageObject.json | 341 ++++++++++++++++++ 1 file changed, 341 insertions(+) diff --git a/dataGraphs/thematics/ImageObject/graphs/ImageObject.json b/dataGraphs/thematics/ImageObject/graphs/ImageObject.json index 8b13789..5cd2d5f 100644 --- a/dataGraphs/thematics/ImageObject/graphs/ImageObject.json +++ b/dataGraphs/thematics/ImageObject/graphs/ImageObject.json @@ -1 +1,342 @@ + { + "@context": { + "@vocab": "https://schema.org/" + }, + "@type": "ImageObject", + "@id": "URL: Optional. A URL that resolves to *this* JSON-LD document, NOT the URL of the CreativeWork that this JSON-LD document describes. To link to the CreativeWork itself, please use 'url' and/or 'identifier')", + "caption": [ + "Text - The caption for this object. For downloadable machine formats (closed caption, subtitles etc.) use MediaObject and indicate the encodingFormat.", + {"@type": "https://schema.org/MediaObject"} + ], + "embeddedTextCaption": "Text - Represents textual captioning from a MediaObject, e.g. text of a 'meme'", + "exifData": [ + "Text - exif data for this object.", + {"@type": "https://schema.org/PropertyValue"} + ], + "representativeOfPage": {"@type": "http://schema.org/Boolean"}, + + "associatedArticle": {"@type": "http://schema.org/NewsArticle"}, + "bitrate": "Text - The bitrate of the media object", + "contentSize": "Text - File size in (mega/kilo)bytes", + "contentUrl": "URL", + "duration": {"@type": "http://schema.org/Duration"}, + "embedUrl": "URL", + "encodesCreativeWork": {"@type": "http://schema.org/CreativeWork"}, + "endTime": [ + {"@type": "https://schema.org/DateTime"}, + {"@type": "https://schema.org/Time"} + ], + "height": [ + {"@type": "https://schema.org/Distance"}, + {"@type": "https://schema.org/QuantitativeValue"} + ], + "ineligibleRegion": [ + "Text - The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.", + {"@type": "https://schema.org/GeoShape"}, + {"@type": "https://schema.org/Place"} + ], + "playerType": "Text - Player type required—for example, Flash or Silverlight.", + "productionCompany": {"@type": "http://schema.org/Organization"}, + "regionsAllowed": {"@type": "http://schema.org/Place"}, + "requiresSubscription": [ + {"@type": "https://schema.org/Boolean"}, + {"@type": "https://schema.org/MediaSubscription"} + ], + "sha256": "Text - The SHA-2 SHA256 hash of the content of the item. For example, a zero-length input has value 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'", + "startTime": [ + {"@type": "https://schema.org/DateTime"}, + {"@type": "https://schema.org/Time"} + ], + "uploadDate": [ + {"@type": "https://schema.org/DateTime"}, + {"@type": "https://schema.org/Date"} + ], + "width": [ + {"@type": "https://schema.org/Distance"}, + {"@type": "https://schema.org/QuantitativeValue"} + ], + + "about": "Text or controlled vocabulary/ontology, singly or as an array: The subject matter of this CreativeWork", + "abstract": "Text: A descriptive summary of a CreativeWork", + "accessMode": "Text: The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the approved vocabulary https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary.", + "accessModeSufficient": { + "@type": "http://schema.org/ItemList", + "description": "An ItemList of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the approved vocabulary (https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary)." + }, + "accessibilityHazard":"Text: A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the approved vocabulary. https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary", + "accessibilitySummary": "Text: A textual summary of how this CreativeWork can be accessed, if there are any hazards associated with access, and related facts", + "accountablePerson": {"@type": "https://schema.org/Person"}, + "acquireLicensePage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "aggregateRating": {"@type": "AggregateRating"}, + "alternativeHeadline": "Text: A secondary title of the CreativeWork.", + "archivedAt": [ + "URL", + {"@type": "https://schema.org/WebPage"} + ], + "assesses": [ + "Text: Text to describe what (if anything) the CreativeWork described by this template assesses.", + {"@type": "https://schema.org/DefinedTerm"} + ], + "associatedMedia": {"@type": "https://schema.org/MediaObject"}, + "audience": {"@type": "https://schema.org/Audience"}, + "audio": [ + {"@type": "https://schema.org/AudioObject"}, + {"@type": "https://schema.org/Clip"}, + {"@type": "https://schema.org/MusicRecording"} + ], + "author": {"@type": "https://schema.org/Person"}, + "award": "Text: A description of an award won for this CreativeWork", + "character": {"@type": "https://schema.org/Person"}, + "citation": [ + "Text: A textual citation to other work relevant to this CreativeWork", + {"@type": "https://schema.org/CreativeWork"} + ], + "comment": "Text: A textual comment on the CreativeWork", + "commentCount": {"@type": "https://schema.org/Integer"}, + "conditionsOfAccess": "Text: Description of conditions that affect the availability of, or method(s) of access to, an item.", + "contentLocation": {"@type": "https://schema.org/Place"}, + "contentRating": [ + "Text: Text stating the official rating for this CreativeWork", + {"@type": "https://schema.org/Rating"} + ], + "contentReferenceTime": {"@type": "https://schema.org/DateTime"}, + "contributor": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "copyrightHolder": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "copyrightNotice": "Text. Text of a notice appropriate for describing the copyright aspects of this Creative Work", + "copyrightYear": {"@type": "https://schema.org/Number"}, + "correction": [ + "Text: description of a correction to the CreativeWork", + "URL", + {"@type": "https://schema.org/CorrectionComment"} + ], + "countryOfOrigin": {"@type": "https://schema.org/Country"}, + "creativeWorkStatus": [ + "Text: Description of the status of this CreativeWork in terms of its stage in a lifecycle", + {"@type": "https://schema.org/DefinedTerm"} + ], + "creator": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "creditText": "Text: Text used to credit person(s) and/or organization(s) associated with this CreativeWork", + "dateCreated": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "dateModified": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "datePublished": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "discussionUrl": "URL", + "editEIDR": [ + "Text: A statement on the EIDR (Entertainment Identifier Registry) identifier representing a specific edit / edition for a work of film or television.", + "URL" + ], + "editor": {"@type": "https://schema.org/Person"}, + "educationalAlignment": {"@type": "https://schema.org/AlignmentObject"}, + "educationalLevel": [ + "Text: The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", + "URL", + {"@type": "https://schema.org/DefinedTerm"} + ], + "educationalUse": [ + "Text: Description of the purpose of this CreativeWork in the context of education", + {"@type": "https://schema.org/DefinedTerm"} + ], + "encoding": {"@type": "https://schema.org/MediaObject"}, + "encodingFormat": [ + "Text: Textual description of the media type typically expressed using a MIME format (see IANA site [http://www.iana.org/assignments/media-types/media-types.xhtml] and MDN reference [https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types]), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc. ", + "URL" + ], + "exampleOfWork": {"@type": "https://schema.org/CreativeWork"}, + "expires": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "funder": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "funding": {"@type": "https://schema.org/Grant"}, + "genre": [ + "Text: Genre of the creative work, broadcast channel or group.", + "URL" + ], + "hasPart": {"@type": "https://schema.org/CreativeWork"}, + "headline": "Text: Headline of the article", + "inLanguage": [ + "Text: The language of the content or performance or used in an action.", + {"@type": "https://schema.org/Language"} + ], + "interactionStatistic": {"@type": "https://schema.org/InteractionCounter"}, + "interactivityType": "Text: The predominant mode of learning supported by the learning resource", + "interpretedAsClaim": {"@type": "https://schema.org/Claim"}, + "isAccessibleForFree": {"@type": "https://schema.org/Boolean"}, + "isBasedOn": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Product"}, + "URL" + ], + "isFamilyFriendly": {"@type": "https://schema.org/Boolean"}, + "isPartOf": [ + {"@type": "https://schema.org/CreativeWork"}, + "URL" + ], + "keywords": [ + "Text: Keywords or tags used to describe the CreativeWork.", + {"@type": "https://schema.org/DefinedTerm"}, + "URL" + ], + "learningResourceType": [ + "Text: The predominant type or kind characterizing the learning resource.", + {"@type": "https://schema.org/DefinedTerm"} + ], + "license": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "locationCreated": {"@type": "https://schema.org/Place"}, + "mainEntity": {"@type": "https://schema.org/Thing"}, + "maintainer": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "material": [ + {"@type": "https://schema.org/Product"}, + "Text: A material that something is made from, e.g. leather, wool, cotton, paper.", + "URL" + ], + "materialExtent": [ + {"@type": "https://schema.org/QuantitativeValue"}, + "Text: The quantity of the materials being described or an expression of the physical space they occupy" + ], + "mentions": {"@type": "https://schema.org/Thing"}, + "offers": [ + {"@type": "https://schema.org/Offer"}, + {"@type": "https://schema.org/Demand"} + ], + "pattern": [ + "Text: Text which states the pattern that the CreativeWork has, for example 'polka dot', 'striped', 'Canadian flag'", + {"@type": "https://schema.org/DefinedTerm"} + ], + "position": [ + "Integer: An integer which expresses the position of an item in a series or sequence of items.", + "Text: A textual description of the position of an item in a series or sequence of items." + ], + "producer": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "provider": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "publication": {"@type": "https://schema.org/PublicationEvent"}, + "publisher": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "publisherImprint": {"@type": "https://schema.org/Organization"}, + "publishingPrinciples": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "recordedAt": {"@type": "https://schema.org/Event"}, + "releasedEvent": {"@type": "https://schema.org/PublicationEvent"}, + "review": {"@type": "https://schema.org/Review"}, + "schemaVersion": [ + "Text", + "URL" + ], + "sdDatePublished": {"@type": "https://schema.org/Date"}, + "sdLicense": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "sdPublisher": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "size": "Text: Text indicating the phyiscal size of the CreativeWork (if appropriate). DefinedTerm or QuantitativeValue or SizeSpecification are also valid Types", + "sourceOrganization": {"@type": "https://schema.org/Organization"}, + "spatial": {"@type": "https://schema.org/Place"}, + "spatialCoverage": {"@type": "https://schema.org/Place"}, + "sponsor": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "teaches": [ + {"@type": "https://schema.org/DefinedTerm"}, + "Text" + ], + "temporal": "A more general property for any time-related information about this CreativeWork. This can be expressed as text or using the properties associated with the DateTime Type", + "temporalCoverage": [ + {"@type": "https://schema.org/DateTime"}, + "Text", + "URL" + ], + "text": "Text: The textual content of this CreativeWork.", + "thumbnail": {"@type": "https://schema.org/ImageObject"}, + "thumbnailUrl": "URL", + "timeRequired": {"@type": "https://schema.org/Duration"}, + "translationOfWork": {"@type": "https://schema.org/CreativeWork"}, + "translator":[ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "typicalAgeRange": "Text: The typical expected age range, e.g. '7-9', '11-'.", + "usageInfo":[ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "version": ["https://schema.org/Text", "https://schema.org/Number"], + "video": [ + {"@type": "https://schema.org/Clip"}, + {"@type": "https://schema.org/VideoObject"} + ], + "workExample": {"@type": "https://schema.org/CreativeWork"}, + "workTranslation": {"@type": "https://schema.org/CreativeWork"}, + + "additionalType": [ + "Text: An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.", + "URL" + ], + "alternateName": "Text: An alternative name for this Thing.", + "description": "Text: Free text which describes this Thing.", + "disambiguatingDescription": "Text: A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation", + "identifier": [ + {"@type": "https://schema.org/PropertyValue"}, + "Text - The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.", + "URL" + ], + "image": [ + "URL", + {"@type": "https://schema.org/ImageObject"} + ], + "mainEntityOfPage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "name": "Text: The name of the item.", + "potentialAction": {"@type": "https://schema.org/Action"}, + "sameAs": "URL", + "subjectOf": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Event"} + ], + "url": "URL - the URL to the item described by this JSON-LD document" +} From f685a5e397ac6904ff808863e2d356551fd16bbd Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 1 May 2024 10:39:13 -0300 Subject: [PATCH 07/33] fix datum references --- .../CreativeWork/graphs/CreativeWorkTemplate.json | 4 ++-- .../thematics/dataset/graphs/aloha-dataset.json | 4 ++-- .../thematics/dataset/graphs/datasetTemplate.json | 4 ++-- .../thematics/dataset/graphs/protectedAreaData.json | 4 ++-- .../dataset/graphs/timeSeriesProduct-dataset.json | 4 ++-- dataGraphs/thematics/docs/graphs/obisData.json | 4 ++-- dataGraphs/thematics/events/graphs/aloha-event.json | 12 ++++++------ dataGraphs/thematics/events/graphs/timeSeries.json | 4 ++-- .../graphs/softwareApplication-wiosymphony.json | 4 ++-- dataGraphs/thematics/variables/graphs/obisData2.json | 4 ++-- 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json b/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json index 4e0e2ef..9d453c4 100644 --- a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json +++ b/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json @@ -361,8 +361,8 @@ "additionalProperty": [ { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" }, { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/dataset/graphs/aloha-dataset.json b/dataGraphs/thematics/dataset/graphs/aloha-dataset.json index a808646..bc533f3 100644 --- a/dataGraphs/thematics/dataset/graphs/aloha-dataset.json +++ b/dataGraphs/thematics/dataset/graphs/aloha-dataset.json @@ -42,8 +42,8 @@ }, "additionalProperty":[ { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" }, { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json index c01913f..39f7772 100644 --- a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json +++ b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json @@ -61,8 +61,8 @@ }, "additionalProperty": { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" } }, "provider": [ diff --git a/dataGraphs/thematics/dataset/graphs/protectedAreaData.json b/dataGraphs/thematics/dataset/graphs/protectedAreaData.json index a1db774..49b57d5 100644 --- a/dataGraphs/thematics/dataset/graphs/protectedAreaData.json +++ b/dataGraphs/thematics/dataset/graphs/protectedAreaData.json @@ -79,8 +79,8 @@ "additionalProperty": [ { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" }, { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json b/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json index f74ec05..80438ba 100644 --- a/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json +++ b/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json @@ -62,8 +62,8 @@ }, "additionalProperty":[ { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" }, { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/docs/graphs/obisData.json b/dataGraphs/thematics/docs/graphs/obisData.json index f6b9e69..bc060a9 100644 --- a/dataGraphs/thematics/docs/graphs/obisData.json +++ b/dataGraphs/thematics/docs/graphs/obisData.json @@ -56,8 +56,8 @@ }, "additionalProperty": { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" } }, "provider": [ diff --git a/dataGraphs/thematics/events/graphs/aloha-event.json b/dataGraphs/thematics/events/graphs/aloha-event.json index d751085..b9a7b05 100644 --- a/dataGraphs/thematics/events/graphs/aloha-event.json +++ b/dataGraphs/thematics/events/graphs/aloha-event.json @@ -27,8 +27,8 @@ "additionalProperty": [ { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" }, { "@type": "PropertyValue", @@ -113,8 +113,8 @@ "additionalProperty": [ { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" }, { "@type": "PropertyValue", @@ -146,8 +146,8 @@ "additionalProperty": [ { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" }, { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/events/graphs/timeSeries.json b/dataGraphs/thematics/events/graphs/timeSeries.json index e7553b0..2257694 100644 --- a/dataGraphs/thematics/events/graphs/timeSeries.json +++ b/dataGraphs/thematics/events/graphs/timeSeries.json @@ -27,8 +27,8 @@ "additionalProperty": [ { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" }, { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/software/graphs/softwareApplication-wiosymphony.json b/dataGraphs/thematics/software/graphs/softwareApplication-wiosymphony.json index d467ac4..1cc80fc 100644 --- a/dataGraphs/thematics/software/graphs/softwareApplication-wiosymphony.json +++ b/dataGraphs/thematics/software/graphs/softwareApplication-wiosymphony.json @@ -75,8 +75,8 @@ }, "additionalProperty": { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" } }, "provider": [ diff --git a/dataGraphs/thematics/variables/graphs/obisData2.json b/dataGraphs/thematics/variables/graphs/obisData2.json index 1ec6de3..bd1d2f0 100644 --- a/dataGraphs/thematics/variables/graphs/obisData2.json +++ b/dataGraphs/thematics/variables/graphs/obisData2.json @@ -72,8 +72,8 @@ }, "additionalProperty": { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" } }, "provider": [ From 997b1627e87fe88ebae23daae068e1e6b4dcc6e6 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 1 May 2024 10:39:35 -0300 Subject: [PATCH 08/33] fix datum references --- testData/obisExample.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testData/obisExample.json b/testData/obisExample.json index a1e1e32..ce28c16 100644 --- a/testData/obisExample.json +++ b/testData/obisExample.json @@ -174,8 +174,8 @@ }, "additionalProperty": { "@type": "PropertyValue", - "propertyID": "http://dbpedia.org/resource/Spatial_reference_system", - "value": "http://www.w3.org/2003/01/geo/wgs84_pos#lat_long" + "propertyID": "https://dbpedia.org/page/Spatial_reference_system", + "value": "https://www.w3.org/2003/01/geo/wgs84_pos" } }, "provider": [ From 2fb7aebe4b59d9199550ab3c9842538d3ae9f00e Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 1 May 2024 10:52:49 -0300 Subject: [PATCH 09/33] fix datum references --- .../thematics/CreativeWork/graphs/CreativeWorkTemplate.json | 2 +- dataGraphs/thematics/dataset/graphs/aloha-dataset.json | 2 +- dataGraphs/thematics/dataset/graphs/datasetTemplate.json | 2 +- dataGraphs/thematics/dataset/graphs/protectedAreaData.json | 2 +- .../thematics/dataset/graphs/timeSeriesProduct-dataset.json | 6 +++--- dataGraphs/thematics/docs/graphs/obisData.json | 2 +- dataGraphs/thematics/events/graphs/aloha-event.json | 2 +- dataGraphs/thematics/events/graphs/timeSeries.json | 2 +- dataGraphs/thematics/variables/graphs/obisData2.json | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json b/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json index 9d453c4..635c23b 100644 --- a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json +++ b/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json @@ -356,7 +356,7 @@ "description": "Use this Place type to express which spatial region your CreativeWork is about or is focused on. If you don't have precise coordinates, use this description field to describe the place with free text", "geo": { "@type": "GeoShape", - "polygon": "-158.8575 23.4375, -158.8575 21.2283, -157.4567 21.2283, -157.4567 23.4375, -158.8575 23.4375" + "polygon": "23.4375 -158.8575, 21.2283 -158.8575, 21.2283 -157.4567, 23.4375 -157.4567, 23.4375 -158.8575" }, "additionalProperty": [ { diff --git a/dataGraphs/thematics/dataset/graphs/aloha-dataset.json b/dataGraphs/thematics/dataset/graphs/aloha-dataset.json index bc533f3..576ee20 100644 --- a/dataGraphs/thematics/dataset/graphs/aloha-dataset.json +++ b/dataGraphs/thematics/dataset/graphs/aloha-dataset.json @@ -38,7 +38,7 @@ "description": "North Pacific subtropical gyre", "geo": { "@type": "GeoShape", - "polygon": "-158.8575 23.4375, -158.8575 21.2283, -157.4567 21.2283, -157.4567 23.4375, -158.8575 23.4375" + "polygon": "23.4375 -158.8575, 21.2283 -158.8575, 21.2283 -157.4567, 23.4375 -157.4567, 23.4375 -158.8575" }, "additionalProperty":[ { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json index 39f7772..063e3a7 100644 --- a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json +++ b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json @@ -57,7 +57,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/dataset/graphs/protectedAreaData.json b/dataGraphs/thematics/dataset/graphs/protectedAreaData.json index 49b57d5..b6e79a4 100644 --- a/dataGraphs/thematics/dataset/graphs/protectedAreaData.json +++ b/dataGraphs/thematics/dataset/graphs/protectedAreaData.json @@ -74,7 +74,7 @@ ], "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": [ { diff --git a/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json b/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json index 80438ba..5712f90 100644 --- a/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json +++ b/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json @@ -55,10 +55,10 @@ "location": { "name": "Station locations worldwide", "@type": "Place", - "description": "Gloabl", + "description": "Global", "geo": { - "@type": "GeoShape", - "polygon": "-180 -90, -180 90, 180 90, 180 -90, -180 -90" + "@type": "box", + "polygon": "-90 -180 90 -180" }, "additionalProperty":[ { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/docs/graphs/obisData.json b/dataGraphs/thematics/docs/graphs/obisData.json index bc060a9..9005c55 100644 --- a/dataGraphs/thematics/docs/graphs/obisData.json +++ b/dataGraphs/thematics/docs/graphs/obisData.json @@ -52,7 +52,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/events/graphs/aloha-event.json b/dataGraphs/thematics/events/graphs/aloha-event.json index b9a7b05..d011e26 100644 --- a/dataGraphs/thematics/events/graphs/aloha-event.json +++ b/dataGraphs/thematics/events/graphs/aloha-event.json @@ -141,7 +141,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "polygon": "-158.13 22.90, -158.12 22.75, -157.92 22.75, -157.92 22.90, -158.12 22.90" + "polygon": "22.90 -158.13, 22.75 -158.12, 22.75 -157.92, 22.90 -157.92, 22.90 -158.12" }, "additionalProperty": [ { diff --git a/dataGraphs/thematics/events/graphs/timeSeries.json b/dataGraphs/thematics/events/graphs/timeSeries.json index 2257694..3b3e4b4 100644 --- a/dataGraphs/thematics/events/graphs/timeSeries.json +++ b/dataGraphs/thematics/events/graphs/timeSeries.json @@ -22,7 +22,7 @@ "description": "Enter the geospatial region which encapsulates all the events in this series, see https://book.oceaninfohub.org/thematics/spatial/README.html", "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": [ { diff --git a/dataGraphs/thematics/variables/graphs/obisData2.json b/dataGraphs/thematics/variables/graphs/obisData2.json index bd1d2f0..4cdd0fe 100644 --- a/dataGraphs/thematics/variables/graphs/obisData2.json +++ b/dataGraphs/thematics/variables/graphs/obisData2.json @@ -68,7 +68,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { "@type": "PropertyValue", From 30bf335e8668a3e898a7910d6557f74f1ce087a9 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 1 May 2024 10:52:49 -0300 Subject: [PATCH 10/33] fix coordinate order --- .../thematics/CreativeWork/graphs/CreativeWorkTemplate.json | 2 +- dataGraphs/thematics/dataset/graphs/aloha-dataset.json | 2 +- dataGraphs/thematics/dataset/graphs/datasetTemplate.json | 2 +- dataGraphs/thematics/dataset/graphs/protectedAreaData.json | 2 +- .../thematics/dataset/graphs/timeSeriesProduct-dataset.json | 6 +++--- dataGraphs/thematics/docs/graphs/obisData.json | 2 +- dataGraphs/thematics/events/graphs/aloha-event.json | 2 +- dataGraphs/thematics/events/graphs/timeSeries.json | 2 +- dataGraphs/thematics/variables/graphs/obisData2.json | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json b/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json index 9d453c4..635c23b 100644 --- a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json +++ b/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json @@ -356,7 +356,7 @@ "description": "Use this Place type to express which spatial region your CreativeWork is about or is focused on. If you don't have precise coordinates, use this description field to describe the place with free text", "geo": { "@type": "GeoShape", - "polygon": "-158.8575 23.4375, -158.8575 21.2283, -157.4567 21.2283, -157.4567 23.4375, -158.8575 23.4375" + "polygon": "23.4375 -158.8575, 21.2283 -158.8575, 21.2283 -157.4567, 23.4375 -157.4567, 23.4375 -158.8575" }, "additionalProperty": [ { diff --git a/dataGraphs/thematics/dataset/graphs/aloha-dataset.json b/dataGraphs/thematics/dataset/graphs/aloha-dataset.json index bc533f3..576ee20 100644 --- a/dataGraphs/thematics/dataset/graphs/aloha-dataset.json +++ b/dataGraphs/thematics/dataset/graphs/aloha-dataset.json @@ -38,7 +38,7 @@ "description": "North Pacific subtropical gyre", "geo": { "@type": "GeoShape", - "polygon": "-158.8575 23.4375, -158.8575 21.2283, -157.4567 21.2283, -157.4567 23.4375, -158.8575 23.4375" + "polygon": "23.4375 -158.8575, 21.2283 -158.8575, 21.2283 -157.4567, 23.4375 -157.4567, 23.4375 -158.8575" }, "additionalProperty":[ { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json index 39f7772..063e3a7 100644 --- a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json +++ b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json @@ -57,7 +57,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/dataset/graphs/protectedAreaData.json b/dataGraphs/thematics/dataset/graphs/protectedAreaData.json index 49b57d5..b6e79a4 100644 --- a/dataGraphs/thematics/dataset/graphs/protectedAreaData.json +++ b/dataGraphs/thematics/dataset/graphs/protectedAreaData.json @@ -74,7 +74,7 @@ ], "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": [ { diff --git a/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json b/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json index 80438ba..5712f90 100644 --- a/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json +++ b/dataGraphs/thematics/dataset/graphs/timeSeriesProduct-dataset.json @@ -55,10 +55,10 @@ "location": { "name": "Station locations worldwide", "@type": "Place", - "description": "Gloabl", + "description": "Global", "geo": { - "@type": "GeoShape", - "polygon": "-180 -90, -180 90, 180 90, 180 -90, -180 -90" + "@type": "box", + "polygon": "-90 -180 90 -180" }, "additionalProperty":[ { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/docs/graphs/obisData.json b/dataGraphs/thematics/docs/graphs/obisData.json index bc060a9..9005c55 100644 --- a/dataGraphs/thematics/docs/graphs/obisData.json +++ b/dataGraphs/thematics/docs/graphs/obisData.json @@ -52,7 +52,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { "@type": "PropertyValue", diff --git a/dataGraphs/thematics/events/graphs/aloha-event.json b/dataGraphs/thematics/events/graphs/aloha-event.json index b9a7b05..d011e26 100644 --- a/dataGraphs/thematics/events/graphs/aloha-event.json +++ b/dataGraphs/thematics/events/graphs/aloha-event.json @@ -141,7 +141,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "polygon": "-158.13 22.90, -158.12 22.75, -157.92 22.75, -157.92 22.90, -158.12 22.90" + "polygon": "22.90 -158.13, 22.75 -158.12, 22.75 -157.92, 22.90 -157.92, 22.90 -158.12" }, "additionalProperty": [ { diff --git a/dataGraphs/thematics/events/graphs/timeSeries.json b/dataGraphs/thematics/events/graphs/timeSeries.json index 2257694..3b3e4b4 100644 --- a/dataGraphs/thematics/events/graphs/timeSeries.json +++ b/dataGraphs/thematics/events/graphs/timeSeries.json @@ -22,7 +22,7 @@ "description": "Enter the geospatial region which encapsulates all the events in this series, see https://book.oceaninfohub.org/thematics/spatial/README.html", "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": [ { diff --git a/dataGraphs/thematics/variables/graphs/obisData2.json b/dataGraphs/thematics/variables/graphs/obisData2.json index bd1d2f0..4cdd0fe 100644 --- a/dataGraphs/thematics/variables/graphs/obisData2.json +++ b/dataGraphs/thematics/variables/graphs/obisData2.json @@ -68,7 +68,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "polygon": "142.014 10.161667,142.014 18.033833,147.997833 18.033833,147.997833 10.161667,142.014 10.161667" + "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { "@type": "PropertyValue", From 69af3859bead9b3c72230752edd7392171a9cbd7 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 1 May 2024 11:01:01 -0300 Subject: [PATCH 11/33] fix coordinate order --- .../thematics/CreativeWork/graphs/CreativeWorkTemplate.json | 1 + dataGraphs/thematics/dataset/graphs/datasetTemplate.json | 1 + 2 files changed, 2 insertions(+) diff --git a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json b/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json index 635c23b..bc835d9 100644 --- a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json +++ b/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json @@ -356,6 +356,7 @@ "description": "Use this Place type to express which spatial region your CreativeWork is about or is focused on. If you don't have precise coordinates, use this description field to describe the place with free text", "geo": { "@type": "GeoShape", + "description": "schema.org expects lat long (Y X) coordinate order", "polygon": "23.4375 -158.8575, 21.2283 -158.8575, 21.2283 -157.4567, 23.4375 -157.4567, 23.4375 -158.8575" }, "additionalProperty": [ diff --git a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json index 063e3a7..24ead6d 100644 --- a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json +++ b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json @@ -57,6 +57,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", + "description": "schema.org expects lat long (Y X) coordinate order", "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { From 414704eb5fc206a50edd84682d75489ec99ba11e Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 1 May 2024 11:54:28 -0300 Subject: [PATCH 12/33] add coordinate order note --- dataGraphs/thematics/variables/graphs/obisData2.json | 1 + 1 file changed, 1 insertion(+) diff --git a/dataGraphs/thematics/variables/graphs/obisData2.json b/dataGraphs/thematics/variables/graphs/obisData2.json index 4cdd0fe..3db2f52 100644 --- a/dataGraphs/thematics/variables/graphs/obisData2.json +++ b/dataGraphs/thematics/variables/graphs/obisData2.json @@ -68,6 +68,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", + "description": "schema.org expects lat long (Y X) coordinate order", "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { From 6b1e68b22575b2075a6bc23d0a01fec34d3d7c62 Mon Sep 17 00:00:00 2001 From: Douglas Fils Date: Fri, 10 May 2024 19:22:51 -0500 Subject: [PATCH 13/33] SQL --- SQL/README.md | 110 ++++++++++++++++++++++++++++++++++++++ SQL/aggBase.sql | 4 ++ SQL/aggDataset.sql | 4 ++ SQL/aggUnion.sql | 14 +++++ SQL/innerJoin.sql | 4 ++ SQL/join.sql | 6 +++ SQL/pragma.sql | 1 + SQL/solr1.sql | 4 ++ SQL/solrExample.json | 124 +++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 271 insertions(+) create mode 100644 SQL/README.md create mode 100644 SQL/aggBase.sql create mode 100644 SQL/aggDataset.sql create mode 100644 SQL/aggUnion.sql create mode 100644 SQL/innerJoin.sql create mode 100644 SQL/join.sql create mode 100644 SQL/pragma.sql create mode 100644 SQL/solr1.sql create mode 100644 SQL/solrExample.json diff --git a/SQL/README.md b/SQL/README.md new file mode 100644 index 0000000..8e1ab0d --- /dev/null +++ b/SQL/README.md @@ -0,0 +1,110 @@ +# DuckDB Notes + + +## Notes + +Need to get to: [solrExample.json](solrExample.json) + +This SQL statement will return all columns where there's a matching id in both table1 and table2. +```sql +SELECT * +FROM table1 +INNER JOIN table2 +ON table1.id = table2.id; +``` + +If you want to include all records from one of the tables, +even if there's no matching id in the other table, you would use a LEFT JOIN or RIGHT JOIN: +```sql +SELECT * +FROM table1 +LEFT JOIN table2 +ON table1.id = table2.id; +``` + +NOTE: If the id column exists in both of your tables, +you will need to use an alias to distinguish between them in your SELECT statement, like so: +```sql +SELECT table1.id AS id1, table2.id AS id2, ... +FROM table1 +INNER JOIN table2 +ON table1.id = table2.id; +``` + +## Console Commands +don't create schema, just tables for each parquet! + +This is the simpler approach +Console commands 2 +``` +CREATE TABLE base (id VARCHAR, type VARCHAR, name VARCHAR, url VARCHAR, description VARCHAR, headline VARCHAR, g VARCHAR ); +CREATE TABLE dataset (id VARCHAR, type VARCHAR, sameAs VARCHAR, license VARCHAR, citation VARCHAR, keyword VARCHAR, includedInDataCatalog VARCHAR, distribution VARCHAR, region VARCHAR, provider VARCHAR, publisher VARCHAR, creator VARCHAR); + +COPY base FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_baseQuery.parquet'; +COPY dataset FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_dataset.parquet'; + +CREATE TABLE course AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_course.parquet', union_by_name=true); +CREATE TABLE person AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_person.parquet', union_by_name=true); +CREATE TABLE sup_geo AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_geo.parquet', union_by_name=true); +CREATE TABLE sup_time AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_temporal.parquet', union_by_name=true); + +``` + +This following apporach didn't seem to work as well, or be necessary since I ca +make tables and load the parquet to the tables and then join across those. +Console commands 1 +``` +CREATE SCHEMA base; +CREATE SCHEMA course; +CREATE SCHEMA dataset; +CREATE SCHEMA person; +CREATE SCHEMA sup_geo; +CREATE SCHEMA sup_time; + +CREATE TABLE dataset.data (id VARCHAR, type VARCHAR, sameAs VARCHAR, license VARCHAR, citation VARCHAR, keyword VARCHAR, includedInDataCatalog VARCHAR, distribution VARCHAR, region VARCHAR, provider VARCHAR, publisher VARCHAR, creator VARCHAR); +CREATE TABLE base.data (id VARCHAR, type VARCHAR, name VARCHAR, url VARCHAR, description VARCHAR, headline VARCHAR, g VARCHAR ); + +COPY dataset.data FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_dataset.parquet'; +COPY base.data FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_baseQuery.parquet'; + +CREATE TABLE course.data AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_course.parquet', union_by_name=true); +CREATE TABLE person.data AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_person.parquet', union_by_name=true); +CREATE TABLE sup_geo.data AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_geo.parquet', union_by_name=true); +CREATE TABLE sup_time.data AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_temporal.parquet', union_by_name=true); + +``` + +## Columns we need + +"id", +"type", +"txt_creator", +"txt_dateModified", +"txt_datePublished", +"description", +"txt_distribution", +"id_includedInDataCatalog", +"txt_includedInDataCatalog", +"txt_keywords", +"txt_license", +"name", +"id_provider", +"txt_provider", +"id_publisher", +"txt_publisher", +"geom_type", +"has_geom", +"geojson_point", +"geojson_simple", +"geojson_geom", +"geom_area", +"geom_length", +"the_geom", +"dt_startDate", +"n_startYear", +"dt_endDate", +"n_endYear", +"txt_temporalCoverage", +"txt_url", +"txt_variableMeasured", +"txt_version" diff --git a/SQL/aggBase.sql b/SQL/aggBase.sql new file mode 100644 index 0000000..8277c25 --- /dev/null +++ b/SQL/aggBase.sql @@ -0,0 +1,4 @@ +SELECT id, any_value(type), any_value(name), any_value(url), any_value(description) +FROM base +GROUP BY base.id + diff --git a/SQL/aggDataset.sql b/SQL/aggDataset.sql new file mode 100644 index 0000000..fad9bbe --- /dev/null +++ b/SQL/aggDataset.sql @@ -0,0 +1,4 @@ +SELECT id, ANY_VALUE(includedInDataCatalog), STRING_AGG( keyword, ', ') AS kw_list +FROM dataset +GROUP BY dataset.id + diff --git a/SQL/aggUnion.sql b/SQL/aggUnion.sql new file mode 100644 index 0000000..8167059 --- /dev/null +++ b/SQL/aggUnion.sql @@ -0,0 +1,14 @@ +SELECT base_agg.id, base_agg.type_list, base_agg.name_list, dataset_agg.kw_list, base_agg.b_url, base_agg.b_desc, base_agg.b_headline +FROM ( + SELECT id, STRING_AGG(DISTINCT type, ', ') AS type_list, STRING_AGG(DISTINCT name, ', ') AS name_list, + any_value(url) AS b_URL, any_value(description) AS b_desc, any_value(headline) AS b_headline + FROM base + GROUP BY id +) AS base_agg +JOIN ( + SELECT id, ANY_VALUE(includedInDataCatalog), STRING_AGG(DISTINCT keyword, ', ') AS kw_list + FROM dataset + GROUP BY id +) AS dataset_agg +ON base_agg.id = dataset_agg.id +ORDER By base_agg.id; diff --git a/SQL/innerJoin.sql b/SQL/innerJoin.sql new file mode 100644 index 0000000..764efa8 --- /dev/null +++ b/SQL/innerJoin.sql @@ -0,0 +1,4 @@ +SELECT * +FROM dataset.data +INNER JOIN base.data +ON dataset.data.id = base.data.id; \ No newline at end of file diff --git a/SQL/join.sql b/SQL/join.sql new file mode 100644 index 0000000..5ee03ca --- /dev/null +++ b/SQL/join.sql @@ -0,0 +1,6 @@ +SELECT base.id, base.type, base.name, dataset.keyword +FROM base +INNER JOIN dataset +ON base.id = dataset.id + GROUP BY dataset.keyword +LIMIT 1000; \ No newline at end of file diff --git a/SQL/pragma.sql b/SQL/pragma.sql new file mode 100644 index 0000000..71d2be8 --- /dev/null +++ b/SQL/pragma.sql @@ -0,0 +1 @@ +SELECT * FROM PRAGMA_table_info('dataset.data'); \ No newline at end of file diff --git a/SQL/solr1.sql b/SQL/solr1.sql new file mode 100644 index 0000000..419aff2 --- /dev/null +++ b/SQL/solr1.sql @@ -0,0 +1,4 @@ +SELECT dataset.id, dataset.type, dataset.license, dataset.keyword +FROM dataset +JOIN base +ON dataset.id = base.id; diff --git a/SQL/solrExample.json b/SQL/solrExample.json new file mode 100644 index 0000000..af369bd --- /dev/null +++ b/SQL/solrExample.json @@ -0,0 +1,124 @@ +{ + "id": "https://catalogue.cioos.ca/dataset/ff0232d8-34bd-4456-be28-20d4f8b2937c.jsonld", + "type": "Dataset", + "txt_creator": [ + "Ocean Networks Canada Society" + ], + "txt_dateModified": [ + "2023-08-11T02:02:55.177467" + ], + "txt_datePublished": [ + "2023-03-14T15:52:04.249156" + ], + "description": "The WET Labs ECO FLNTUS 894 was deployed on 2010-09-13 at Barkley Upper Slope. Upper Slope is a location within Barkley Canyon, which is located on the upper continental slope. This device is a Fluorometer Turbidity. Fluorometer Turbidity instruments measure chlorophyll fluorescence and turbidity within the same volume of seawater. The instrument uses a light emitting diode (LED) to provide an excitation source. The fluoresced light is received by a detector at a particular angle from the LED source, and uses an interference filter to discriminate against scattered excitation light. Turbidity is measured at the same time, by detecting scattered light from a LED, which is positioned at the same angle as the chlorophyll fluorescence. It was deployed on a profiling platform. Data from this deployment were archived and made available through Ocean Networks Canada's Oceans 3.0 digital infrastructure, with quality assurance and derived data products following established practices.", + "txt_distribution": [ + "http://dap.onc.uvic.ca/erddap/tabledap/profile_117747.html", + "https://data.oceannetworks.ca/DataSearch?location=BACVP&deviceCategory=FLNTU" + ], + "id_includedInDataCatalog": [ + "http://ckan.onc.uvic.ca", + "https://catalogue.cioos.ca", + "https://catalogue.cioospacific.ca" + ], + "txt_includedInDataCatalog": [ + "CIOOS - Pacific Catalogue", + "CIOOS/SIOOC", + "Ocean Networks Canada Harvester" + ], + "txt_keywords": [ + "mass_concentration_of_chlorophyll_in_sea_water", + "Phytoplankton biomass and diversity", + "Oceans", + "sea_water_turbidity", + "Particulate matter" + ], + "txt_license": [ + "None" + ], + "name": "Barkley Upper Slope Fluorometer Turbidity Deployed 2010-09-13", + "id_provider": [ + "https://cioospacific.ca", + "https://catalogue.odis.org/view/3263" + ], + "txt_provider": [ + "cioos-pacific", + "CIOOS" + ], + "id_publisher": [ + "https://catalogue.cioos.ca/organization/f6f187f7-19f2-4273-a45a-5d9406204873" + ], + "txt_publisher": [ + "CIOOS-Pacific" + ], + "geom_type": "polygon", + "has_geom": true, + "geojson_point": "{\"type\": \"Point\", \"coordinates\": [-126.1741316667, 48.52540380702956]}", + "geojson_simple": "{\"type\": \"Polygon\", \"coordinates\": [[[-124.1741316667, 48.4273866667], [-124.32637260167743, 47.66201980196982], [-124.75991810432691, 47.01317310432691], [-125.40876480196982, 46.57962760167743], [-126.1741316667, 46.4273866667], [-126.93949853143019, 46.57962760167743], [-127.5883452290731, 47.01317310432691], [-128.02189073172258, 47.66201980196982], [-128.17413166670002, 48.4273866667], [-128.02189073172258, 49.192753531430185], [-127.5883452290731, 49.841600229073094], [-126.93949853143019, 50.275145731722574], [-126.1741316667, 50.4273866667], [-125.40876480196982, 50.275145731722574], [-124.75991810432691, 49.841600229073094], [-124.32637260167743, 49.192753531430185], [-124.1741316667, 48.4273866667]]]}", + "geojson_geom": "{\"type\": \"Polygon\", \"coordinates\": [[[-124.1741316667, 48.4273866667], [-124.1837622133556, 48.23135238604088], [-124.21256110589354, 48.037206022667746], [-124.2602509952356, 47.84681731219108], [-124.32637260167743, 47.66201980196982], [-124.4102891380033, 47.484593193048006], [-124.51119244209491, 47.3162462006608], [-124.62811075997453, 47.15860009837271], [-124.75991810432691, 47.01317310432691], [-124.90534509837272, 46.88136575997453], [-125.0629912006608, 46.76444744209491], [-125.23133819304802, 46.66354413800329], [-125.40876480196982, 46.57962760167743], [-125.59356231219108, 46.51350599523558], [-125.78395102266775, 46.46581610589354], [-125.97809738604089, 46.43701721335561], [-126.1741316667, 46.4273866667], [-126.37016594735913, 46.43701721335561], [-126.56431231073226, 46.46581610589354], [-126.75470102120893, 46.51350599523558], [-126.93949853143019, 46.57962760167743], [-127.116925140352, 46.66354413800329], [-127.28527213273921, 46.76444744209491], [-127.44291823502729, 46.88136575997453], [-127.5883452290731, 47.01317310432691], [-127.72015257342548, 47.15860009837271], [-127.8370708913051, 47.3162462006608], [-127.93797419539672, 47.484593193048006], [-128.02189073172258, 47.66201980196982], [-128.08801233816442, 47.84681731219108], [-128.13570222750647, 48.037206022667746], [-128.1645011200444, 48.23135238604088], [-128.17413166670002, 48.4273866667], [-128.1645011200444, 48.62342094735912], [-128.13570222750647, 48.81756731073226], [-128.08801233816442, 49.007956021208926], [-128.02189073172258, 49.192753531430185], [-127.93797419539672, 49.370180140352], [-127.8370708913051, 49.538527132739205], [-127.72015257342548, 49.696173235027295], [-127.5883452290731, 49.841600229073094], [-127.44291823502729, 49.973407573425476], [-127.28527213273921, 50.09032589130509], [-127.116925140352, 50.191229195396716], [-126.93949853143019, 50.275145731722574], [-126.75470102120893, 50.34126733816442], [-126.56431231073226, 50.38895722750646], [-126.37016594735913, 50.417756120044395], [-126.1741316667, 50.4273866667], [-125.97809738604089, 50.417756120044395], [-125.78395102266775, 50.38895722750647], [-125.59356231219108, 50.34126733816442], [-125.40876480196982, 50.275145731722574], [-125.23133819304802, 50.191229195396716], [-125.0629912006608, 50.09032589130509], [-124.90534509837272, 49.973407573425476], [-124.75991810432691, 49.841600229073094], [-124.62811075997453, 49.696173235027295], [-124.51119244209491, 49.538527132739205], [-124.4102891380033, 49.370180140352], [-124.32637260167743, 49.192753531430185], [-124.2602509952356, 49.007956021208926], [-124.21256110589354, 48.81756731073226], [-124.1837622133556, 48.62342094735912], [-124.1741316667, 48.4273866667]]]}", + "geom_area": 12.546193962183768, + "geom_length": 5.65685424949239, + "the_geom": "POLYGON ((-124.1741316667 48.4273866667, -124.1837622133556 48.23135238604088, -124.21256110589354 48.037206022667746, -124.2602509952356 47.84681731219108, -124.32637260167743 47.66201980196982, -124.4102891380033 47.484593193048006, -124.51119244209491 47.3162462006608, -124.62811075997453 47.15860009837271, -124.75991810432691 47.01317310432691, -124.90534509837272 46.88136575997453, -125.0629912006608 46.76444744209491, -125.23133819304802 46.66354413800329, -125.40876480196982 46.57962760167743, -125.59356231219108 46.51350599523558, -125.78395102266775 46.46581610589354, -125.97809738604089 46.43701721335561, -126.1741316667 46.4273866667, -126.37016594735913 46.43701721335561, -126.56431231073226 46.46581610589354, -126.75470102120893 46.51350599523558, -126.93949853143019 46.57962760167743, -127.116925140352 46.66354413800329, -127.28527213273921 46.76444744209491, -127.44291823502729 46.88136575997453, -127.5883452290731 47.01317310432691, -127.72015257342548 47.15860009837271, -127.8370708913051 47.3162462006608, -127.93797419539672 47.484593193048006, -128.02189073172258 47.66201980196982, -128.08801233816442 47.84681731219108, -128.13570222750647 48.037206022667746, -128.1645011200444 48.23135238604088, -128.17413166670002 48.4273866667, -128.1645011200444 48.62342094735912, -128.13570222750647 48.81756731073226, -128.08801233816442 49.007956021208926, -128.02189073172258 49.192753531430185, -127.93797419539672 49.370180140352, -127.8370708913051 49.538527132739205, -127.72015257342548 49.696173235027295, -127.5883452290731 49.841600229073094, -127.44291823502729 49.973407573425476, -127.28527213273921 50.09032589130509, -127.116925140352 50.191229195396716, -126.93949853143019 50.275145731722574, -126.75470102120893 50.34126733816442, -126.56431231073226 50.38895722750646, -126.37016594735913 50.417756120044395, -126.1741316667 50.4273866667, -125.97809738604089 50.417756120044395, -125.78395102266775 50.38895722750647, -125.59356231219108 50.34126733816442, -125.40876480196982 50.275145731722574, -125.23133819304802 50.191229195396716, -125.0629912006608 50.09032589130509, -124.90534509837272 49.973407573425476, -124.75991810432691 49.841600229073094, -124.62811075997453 49.696173235027295, -124.51119244209491 49.538527132739205, -124.4102891380033 49.370180140352, -124.32637260167743 49.192753531430185, -124.2602509952356 49.007956021208926, -124.21256110589354 48.81756731073226, -124.1837622133556 48.62342094735912, -124.1741316667 48.4273866667))", + "dt_startDate": [ + "2010-09-13T00:00:00Z" + ], + "n_startYear": [ + 2010.0 + ], + "dt_endDate": [ + "2010-10-05T00:00:00Z" + ], + "n_endYear": [ + 2010.0 + ], + "txt_temporalCoverage": [ + "2010-09-13/2010-10-05" + ], + "txt_url": [ + "https://catalogue.cioos.ca/dataset/ff0232d8-34bd-4456-be28-20d4f8b2937c" + ], + "txt_variableMeasured": [ + "Particulate matter", + "Phytoplankton biomass and diversity" + ], + "txt_version": [ + "2023-08-09" + ], + "keys": [ + "id", + "type", + "txt_creator", + "txt_dateModified", + "txt_datePublished", + "description", + "txt_distribution", + "id_includedInDataCatalog", + "txt_includedInDataCatalog", + "txt_keywords", + "txt_license", + "name", + "id_provider", + "txt_provider", + "id_publisher", + "txt_publisher", + "geom_type", + "has_geom", + "geojson_point", + "geojson_simple", + "geojson_geom", + "geom_area", + "geom_length", + "the_geom", + "dt_startDate", + "n_startYear", + "dt_endDate", + "n_endYear", + "txt_temporalCoverage", + "txt_url", + "txt_variableMeasured", + "txt_version" + ], + "index_id": "3d7e20fe-7f31-443a-aa20-b31f583aa25a", + "_version_": "1775499496854126592", + "indexed_ts": "2023-08-28T18:44:28.924Z", + "json_source": "{\"@context\": {\"@vocab\": \"https://schema.org/\"}, \"@id\": \"https://catalogue.cioos.ca/dataset/ff0232d8-34bd-4456-be28-20d4f8b2937c.jsonld\", \"@type\": \"Dataset\", \"http://www.w3.org/ns/dcat#contactPoint\": {\"@type\": \"http://www.w3.org/2006/vcard/ns#Organization\", \"http://www.w3.org/2006/vcard/ns#fn\": \"Ocean Networks Canada Society\", \"http://www.w3.org/2006/vcard/ns#hasEmail\": \"mailto:datastewardship@oceannetworks.ca\", \"http://www.w3.org/2006/vcard/ns#role\": \"['custodian', 'distributor', 'owner']\"}, \"creator\": {\"@type\": \"Organization\", \"name\": \"Ocean Networks Canada Society\", \"sameAs\": \"\"}, \"dateModified\": \"2023-08-11T02:02:55.177467\", \"datePublished\": \"2023-03-14T15:52:04.249156\", \"description\": [{\"@language\": \"en\", \"@value\": \"The WET Labs ECO FLNTUS 894 was deployed on 2010-09-13 at Barkley Upper Slope. Upper Slope is a location within Barkley Canyon, which is located on the upper continental slope. This device is a Fluorometer Turbidity. Fluorometer Turbidity instruments measure chlorophyll fluorescence and turbidity within the same volume of seawater. The instrument uses a light emitting diode (LED) to provide an excitation source. The fluoresced light is received by a detector at a particular angle from the LED source, and uses an interference filter to discriminate against scattered excitation light. Turbidity is measured at the same time, by detecting scattered light from a LED, which is positioned at the same angle as the chlorophyll fluorescence. It was deployed on a profiling platform. Data from this deployment were archived and made available through Ocean Networks Canada's Oceans 3.0 digital infrastructure, with quality assurance and derived data products following established practices.\"}, {\"@language\": \"fr\", \"@value\": \"Ce WET Labs ECO FLNTUS 894 a \\u00e9t\\u00e9 d\\u00e9ploy\\u00e9 le 2010-09-13 au Barkley Canyon Upper Slope. Upper Slope est un endroit situ\\u00e9 dans Barkley Canyon, qui est situ\\u00e9 sur le versant continental sup\\u00e9rieur. Cet instrument est un Fluorim\\u00e8tre et Turbidit\\u00e9. Les instruments de fluorim\\u00e8tre et turbidit\\u00e9 (FLNTU) sont dot\\u00e9s d'un capteur combin\\u00e9 qui mesure la fluorescence et la turbidit\\u00e9 de la chlorophylle dans le m\\u00eame volume d'eau de mer. L'instrument utilise une diode \\u00e9lectroluminescente (DEL) pour fournir une source d'excitation. La lumi\\u00e8re fluorescente est re\\u00e7ue par un d\\u00e9tecteur \\u00e0 un angle particulier \\u00e0 partir de la source DEL et utilise un filtre d'interf\\u00e9rence pour distinguer la lumi\\u00e8re d'excitation dispers\\u00e9e. La turbidit\\u00e9 est mesur\\u00e9e en m\\u00eame temps, en d\\u00e9tectant la lumi\\u00e8re diffus\\u00e9e \\u00e0 partir d'une DEL, qui est positionn\\u00e9e au m\\u00eame angle que la fluorescence chlorophylle. Il a \\u00e9t\\u00e9 deploy\\u00e9 sur une plateforme profilant. Les donn\\u00e9es de ce d\\u00e9ploiement sont archiv\\u00e9es et accessibles sur l\\u2019infrastructure num\\u00e9rique Oceans 3.0 du R\\u00e9seau Canadien des Oc\\u00e9ans (ONC), avec assurance de la qualit\\u00e9 et produits d\\u00e9riv\\u00e9s selon les conventions \\u00e9tablies.\"}], \"distribution\": [{\"@id\": \"https://catalogue.cioos.ca/dataset/ff0232d8-34bd-4456-be28-20d4f8b2937c/resource/ca-cioos-resource_db2601e73a3bd9b1fdf69be519241c9e\", \"@type\": \"DataDownload\", \"contentUrl\": \"http://dap.onc.uvic.ca/erddap/tabledap/profile_117747.html\", \"description\": \"Data is delivered via ERDDAP, a data server that gives a standardized way to download subsets of datasets in common file formats. This particular ERDDAP installation has oceanographic data from Ocean Networks Canada's instruments\", \"encodingFormat\": \"ERDDAP\", \"name\": \"ERDDAP\", \"url\": \"http://dap.onc.uvic.ca/erddap/tabledap/profile_117747.html\"}, {\"@id\": \"https://catalogue.cioos.ca/dataset/ff0232d8-34bd-4456-be28-20d4f8b2937c/resource/ca-cioos-resource_006d8391574b3d2db716468eff53cac4\", \"@type\": \"DataDownload\", \"contentUrl\": \"https://data.oceannetworks.ca/DataSearch?location=BACVP&deviceCategory=FLNTU\", \"encodingFormat\": \"HTML\", \"name\": \"Oceans 3.0 Data Search\", \"url\": \"https://data.oceannetworks.ca/DataSearch?location=BACVP&deviceCategory=FLNTU\"}], \"includedInDataCatalog\": [{\"@id\": \"http://ckan.onc.uvic.ca\", \"@type\": \"DataCatalog\", \"description\": \"\", \"name\": \"Ocean Networks Canada Harvester\", \"url\": \"http://ckan.onc.uvic.ca\"}, {\"@id\": \"https://catalogue.cioospacific.ca\", \"@type\": \"DataCatalog\", \"description\": \"Home of Canada's Pacific Ocean Data\", \"name\": \"CIOOS - Pacific Catalogue\", \"url\": \"https://catalogue.cioospacific.ca\"}, {\"@id\": \"https://catalogue.cioos.ca\", \"@type\": \"DataCatalog\", \"description\": \"\", \"name\": \"CIOOS/SIOOC\", \"url\": \"https://catalogue.cioos.ca\"}], \"keywords\": [{\"@language\": \"en\", \"@value\": \"mass_concentration_of_chlorophyll_in_sea_water\"}, {\"@language\": \"fr\", \"@value\": \"Biomasse et diversit\\u00e9 phytoplanctonique\"}, {\"@language\": \"fr\", \"@value\": \"Mati\\u00e8re particulaire\"}, {\"@language\": \"en\", \"@value\": \"Phytoplankton biomass and diversity\"}, {\"@language\": \"en\", \"@value\": \"Oceans\"}, {\"@language\": \"en\", \"@value\": \"sea_water_turbidity\"}, {\"@language\": \"en\", \"@value\": \"Particulate matter\"}], \"license\": \"None\", \"name\": [{\"@language\": \"en\", \"@value\": \"Barkley Upper Slope Fluorometer Turbidity Deployed 2010-09-13\"}, {\"@language\": \"fr\", \"@value\": \"Barkley Canyon Upper Slope Fluorim\\u00e8tre et Turbidit\\u00e9 d\\u00e9ploy\\u00e9 2010-09-13\"}], \"provider\": {\"@id\": \"https://cioospacific.ca\", \"@type\": \"Organization\", \"legalName\": \"CIOOS-Pacific\", \"logo\": [{\"@language\": \"en\", \"@value\": \"https://catalogue.cioos.ca/base/images/logos/cioos-pacific_logo_RA_EN.png\"}, {\"@language\": \"fr\", \"@value\": \"https://catalogue.cioos.ca/base/images/logos/cioos-pacific_logo_RA_FR.png\"}], \"name\": \"cioos-pacific\", \"url\": \"https://cioospacific.ca\"}, \"publisher\": {\"@id\": \"https://catalogue.cioos.ca/organization/f6f187f7-19f2-4273-a45a-5d9406204873\", \"@type\": \"Organization\", \"contactPoint\": {\"@type\": \"ContactPoint\", \"contactType\": \"Publisher\", \"url\": \"https://cioospacific.ca\"}, \"name\": \"CIOOS-Pacific\"}, \"spatialCoverage\": {\"@type\": \"Place\", \"geo\": {\"@type\": \"GeoShape\", \"box\": \"48.4273866667 -126.1741316667 48.4273866667 -126.1741316667\"}}, \"temporalCoverage\": \"2010-09-13/2010-10-05\", \"url\": \"https://catalogue.cioos.ca/dataset/ff0232d8-34bd-4456-be28-20d4f8b2937c\", \"variableMeasured\": [{\"@type\": \"PropertyValue\", \"name\": \"Particulate matter\"}, {\"@type\": \"PropertyValue\", \"name\": \"Phytoplankton biomass and diversity\"}], \"version\": \"2023-08-09\", \"prov:wasAttributedTo\": {\"@id\": \"https://catalogue.odis.org/view/3263\", \"@type\": \"prov:Organization\", \"rdf:name\": \"CIOOS\", \"rdfs:seeAlso\": \"https://cioos.ca/\"}}" +} \ No newline at end of file From 1bf01499851adf125987de6d82d9407f4ef69b21 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:57:31 +0000 Subject: [PATCH 14/33] Bump GrantBirki/json-yaml-validate from 2.7.1 to 3.0.0 Bumps [GrantBirki/json-yaml-validate](https://github.com/grantbirki/json-yaml-validate) from 2.7.1 to 3.0.0. - [Release notes](https://github.com/grantbirki/json-yaml-validate/releases) - [Commits](https://github.com/grantbirki/json-yaml-validate/compare/v2.7.1...v3.0.0) --- updated-dependencies: - dependency-name: GrantBirki/json-yaml-validate dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/json-yaml-validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/json-yaml-validate.yml b/.github/workflows/json-yaml-validate.yml index fb5dfa4..6da6bf9 100644 --- a/.github/workflows/json-yaml-validate.yml +++ b/.github/workflows/json-yaml-validate.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: json-yaml-validate - uses: GrantBirki/json-yaml-validate@v2.7.1 + uses: GrantBirki/json-yaml-validate@v3.0.0 with: base_dir: "./dataGraphs/thematics" From 3792c6288295a5edf1fdf69d87c7285142337d53 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Mon, 10 Jun 2024 14:37:47 -0300 Subject: [PATCH 15/33] add SDG 14.3.1 ddataset template --- ...bmission_template_drop_QC_RADIAL_VIGO.json | 265 ++++++++++++++++++ 1 file changed, 265 insertions(+) create mode 100644 dataGraphs/thematics/dataset/graphs/1612019_SDG14_3_1_Metadata_submission_template_drop_QC_RADIAL_VIGO.json diff --git a/dataGraphs/thematics/dataset/graphs/1612019_SDG14_3_1_Metadata_submission_template_drop_QC_RADIAL_VIGO.json b/dataGraphs/thematics/dataset/graphs/1612019_SDG14_3_1_Metadata_submission_template_drop_QC_RADIAL_VIGO.json new file mode 100644 index 0000000..fb015b4 --- /dev/null +++ b/dataGraphs/thematics/dataset/graphs/1612019_SDG14_3_1_Metadata_submission_template_drop_QC_RADIAL_VIGO.json @@ -0,0 +1,265 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@type": "Dataset", + "@id": "https://registry.org/permanentUrlToThisJsonDoc", + "name": "1612019_SDG14_3_1_Metadata_submission_template_drop_QC_RADIAL_VIGO", + "description": "Monthly time series in the coastal area of VIGO (NW Spain), the program started in the late 1980s, but CO2 measurements were introduced in late 2018", + "includedInDataCatalog": { + "@type": "https://schema.org/DataCatalog" + }, + "measurementMethod": [ + "CO2 measurements were measrued following SOP Dickson et al. (2008) manual." + ], + "measurementTechnique": [ + "Text: A technique, method or technology used in an Observation, StatisticalVariable or Dataset (or DataDownload, DataCatalog), corresponding to the method used for measuring the corresponding variable(s) (for datasets, described using variableMeasured; for Observation, a StatisticalVariable).", + "URL", + { + "@type": "https://schema.org/MeasurementMethodEnum" + } + ], + "variableMeasured": [ + { + "@type": "PropertyValue", + "name": "Depth", + "propertyID": "CTDPRS", + "url": "http://ontology.org/uriToSemanticDescriptorOfThisVariable", + "description": "Extended description of this variable?", + "unitText": "m" + }, + { + "@type": "PropertyValue", + "name": "Dissolved Inorganic Carbon", + "propertyID": "DIC", + "url": "http://ontology.org/uriToSemanticDescriptorOfThisVariable", + "description": "DIC: Collection method (e.g. bottle sampling) water collection with a water sampler (e.g. Niskin)", + "unitText": "µmol kg-1", + "measurementMethod": "DIC: Method reference (citation)", + "measurementTechnique": "SOP 7" + }, + { + "@type": "PropertyValue", + "name": "Name of a variable in the dataset", + "url": "http://ontology.org/uriToSemanticDescriptorOfThisVariable", + "description": "Extended description of this variable?" + }, + { + "@type": "PropertyValue", + "name": "SamplingDeviceApertureSurfaceArea", + "url": "http://ontology.org/uriToSemanticDescriptorOfThisVariable", + "description": "Extended description of this variable" + } + ], + "about": "Text or controlled vocabulary/ontology, singly or as an array: The subject matter of this CreativeWork", + "abstract": "Text: A descriptive summary of a CreativeWork", + "accountablePerson": { + "@type": "https://schema.org/Person" + }, + "archivedAt": [ + "URL", + { + "@type": "https://schema.org/WebPage" + } + ], + "audience": { + "@type": "https://schema.org/Audience" + }, + "author": { + "@type": "https://schema.org/Person" + }, + "citation": [ + "Text: A textual citation to other work relevant to this CreativeWork", + { + "@type": "https://schema.org/CreativeWork" + } + ], + "conditionsOfAccess": "Text: Description of conditions that affect the availability of, or method(s) of access to, an item.", + "contributor": [ + { + "@type": "https://schema.org/Organization" + }, + { + "@type": "https://schema.org/Person" + } + ], + "countryOfOrigin": { + "@type": "Country", + "name": "Spain" + }, + "creativeWorkStatus": [ + "Text: Description of the status of this CreativeWork in terms of its stage in a lifecycle", + { + "@type": "https://schema.org/DefinedTerm" + } + ], + "creator": [ + { + "@type": "https://schema.org/Organization" + }, + { + "@type": "https://schema.org/Person" + } + ], + "dateCreated": [ + { + "@type": "https://schema.org/Date" + }, + { + "@type": "https://schema.org/DateTime" + } + ], + "dateModified": [ + { + "@type": "https://schema.org/Date" + }, + { + "@type": "https://schema.org/DateTime" + } + ], + "datePublished": [ + { + "@type": "https://schema.org/Date" + }, + { + "@type": "https://schema.org/DateTime" + } + ], + "encoding": { + "@type": "https://schema.org/MediaObject" + }, + "encodingFormat": [ + "Text: Textual description of the media type typically expressed using a MIME format (see IANA site [http://www.iana.org/assignments/media-types/media-types.xhtml] and MDN reference [https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types]), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc. ", + "URL" + ], + "funder": [ + { + "@type": "https://schema.org/Organization" + }, + { + "@type": "https://schema.org/Person" + } + ], + "funding": { + "@type": "https://schema.org/Grant" + }, + "inLanguage": { + "@type": "Language", + "name": "English", + "alternateName": "en" + }, + "isAccessibleForFree": { + "@type": "https://schema.org/Boolean" + }, + "isPartOf": [ + { + "@type": "https://schema.org/CreativeWork" + }, + "URL" + ], + "keywords": [ + "Text: Keywords or tags used to describe the CreativeWork.", + { + "@type": "https://schema.org/DefinedTerm" + }, + "URL" + ], + "license": [ + "URL", + { + "@type": "https://schema.org/CreativeWork" + } + ], + "locationCreated": { + "@type": "https://schema.org/Place" + }, + "mainEntity": { + "@type": "https://schema.org/Thing" + }, + "maintainer": [ + { + "@type": "https://schema.org/Organization" + }, + { + "@type": "https://schema.org/Person" + } + ], + "provider": [ + { + "@type": "https://schema.org/Organization" + }, + { + "@type": "https://schema.org/Person" + } + ], + "publisher": [ + { + "@type": "https://schema.org/Organization" + }, + { + "@type": "https://schema.org/Person" + } + ], + "publishingPrinciples": [ + { + "@type": "https://schema.org/CreativeWork" + }, + { + "@type": "https://schema.org/URL" + } + ], + "sdDatePublished": { + "@type": "https://schema.org/Date" + }, + "sdLicense": [ + { + "@type": "https://schema.org/CreativeWork" + }, + { + "@type": "https://schema.org/URL" + } + ], + "sdPublisher": [ + { + "@type": "https://schema.org/Organization" + }, + { + "@type": "https://schema.org/Person" + } + ], + "sourceOrganization": "Instituto Español de Oceanografía IEO", + "spatial": { + "@type": "https://schema.org/Place" + }, + "spatialCoverage": { + "@type": "https://schema.org/Place" + }, + "temporal": "A more general property for any time-related information about this CreativeWork. This can be expressed as text or using the properties associated with the DateTime Type", + "temporalCoverage": [ + { + "@type": "https://schema.org/DateTime" + }, + "Text", + "URL" + ], + "version": [ + "https://schema.org/Text", + "https://schema.org/Number" + ], + "additionalType": [ + "Text: An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.", + "URL" + ], + "alternateName": "Text: An alternative name for this Thing.", + "identifier": [ + { + "@type": "https://schema.org/PropertyValue" + }, + "Text - The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.", + "URL" + ], + "potentialAction": { + "@type": "https://schema.org/Action" + }, + "url": "https://github.com/iodepo/odis-arch/files/12072949/1612019_SDG14_3_1_Metadata_submission_template_drop_QC_RADIAL_VIGO.xlsx" +} \ No newline at end of file From 568e1166e599cb1c4bc084c9196c959ff00ca514 Mon Sep 17 00:00:00 2001 From: Douglas Fils Date: Wed, 19 Jun 2024 13:37:44 -0500 Subject: [PATCH 16/33] update and typo fix in README Updated SQL scripts, including creation of a complex SELECT query in 'wis2.sql' and modification of PRAGMA table of interest in 'pragma.sql'. Corrections have been made to 'README.md' typos and additional directives have been set in '.gitignore'. SQL 'README.md' has also been expanded to accommodate new table and column descriptions. --- .gitignore | 1 + README.md | 2 +- SQL/README.md | 7 ++++++- SQL/pragma.sql | 2 +- SQL/wis2.sql | 31 +++++++++++++++++++++++++++++++ 5 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 SQL/wis2.sql diff --git a/.gitignore b/.gitignore index 9f11b75..794d826 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .idea/ +/secret/ diff --git a/README.md b/README.md index 757a0ef..bd0886d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ DO NOT REFERENCE This is a temporary demo repository. It is being -used to expore external references to data graphs for use +used to explore external references to data graphs for use in the OIH Book. diff --git a/SQL/README.md b/SQL/README.md index 8e1ab0d..f32cdda 100644 --- a/SQL/README.md +++ b/SQL/README.md @@ -39,14 +39,16 @@ Console commands 2 ``` CREATE TABLE base (id VARCHAR, type VARCHAR, name VARCHAR, url VARCHAR, description VARCHAR, headline VARCHAR, g VARCHAR ); CREATE TABLE dataset (id VARCHAR, type VARCHAR, sameAs VARCHAR, license VARCHAR, citation VARCHAR, keyword VARCHAR, includedInDataCatalog VARCHAR, distribution VARCHAR, region VARCHAR, provider VARCHAR, publisher VARCHAR, creator VARCHAR); +CREATE TABLE sup_time (id VARCHAR, type VARCHAR, time VARCHAR, temporalCoverage VARCHAR, dateModified VARCHAR, datePublished VARCHAR, ); COPY base FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_baseQuery.parquet'; COPY dataset FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_dataset.parquet'; +COPY sup_time FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_temporal.parquet'; CREATE TABLE course AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_course.parquet', union_by_name=true); CREATE TABLE person AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_person.parquet', union_by_name=true); CREATE TABLE sup_geo AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_geo.parquet', union_by_name=true); -CREATE TABLE sup_time AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_temporal.parquet', union_by_name=true); + ``` @@ -76,6 +78,7 @@ CREATE TABLE sup_time.data AS SELECT * FROM read_parquet('/home/fils/src/Project ## Columns we need +``` "id", "type", "txt_creator", @@ -108,3 +111,5 @@ CREATE TABLE sup_time.data AS SELECT * FROM read_parquet('/home/fils/src/Project "txt_url", "txt_variableMeasured", "txt_version" +``` + diff --git a/SQL/pragma.sql b/SQL/pragma.sql index 71d2be8..f2aed9e 100644 --- a/SQL/pragma.sql +++ b/SQL/pragma.sql @@ -1 +1 @@ -SELECT * FROM PRAGMA_table_info('dataset.data'); \ No newline at end of file +SELECT * FROM PRAGMA_table_info('sup_time'); \ No newline at end of file diff --git a/SQL/wis2.sql b/SQL/wis2.sql new file mode 100644 index 0000000..3a97c9e --- /dev/null +++ b/SQL/wis2.sql @@ -0,0 +1,31 @@ +SELECT base_agg.id, + base_agg.type_list, + base_agg.name_list, + dataset_agg.kw_list, + base_agg.b_url, + base_agg.b_desc, + base_agg.b_headline, + geo_agg.geom_list, + temporal_agg.tc_list, + temporal_agg.dp_list +FROM (SELECT id, + STRING_AGG(DISTINCT type, ', ') AS type_list, + STRING_AGG(DISTINCT name, ', ') AS name_list, + any_value(url) AS b_URL, + any_value(description) AS b_desc, + any_value(headline) AS b_headline + FROM base + GROUP BY id) AS base_agg + JOIN (SELECT id, ANY_VALUE(includedInDataCatalog), STRING_AGG(DISTINCT keyword, ', ') AS kw_list + FROM dataset + GROUP BY id) AS dataset_agg + ON base_agg.id = dataset_agg.id + JOIN (SELECT id, STRING_AGG(DISTINCT geom, ', ') AS geom_list + FROM sup_geo + GROUP BY id) AS geo_agg + ON base_agg.id = geo_agg.id + JOIN (SELECT id, STRING_AGG(DISTINCT temporalCoverage, ', ') AS tc_list, STRING_AGG(DISTINCT datePublished, ', ') AS dp_list + FROM sup_time + GROUP BY id) AS temporal_agg + ON base_agg.id = temporal_agg.id +ORDER By base_agg.id; \ No newline at end of file From 1115759bd853b60247deefcc17e92e9c4dbb7f30 Mon Sep 17 00:00:00 2001 From: Pier Luigi Buttigieg Date: Wed, 10 Jul 2024 11:37:12 +0200 Subject: [PATCH 17/33] Create Claim.json --- dataGraphs/thematics/Claim/graphs/Claim.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 dataGraphs/thematics/Claim/graphs/Claim.json diff --git a/dataGraphs/thematics/Claim/graphs/Claim.json b/dataGraphs/thematics/Claim/graphs/Claim.json new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/dataGraphs/thematics/Claim/graphs/Claim.json @@ -0,0 +1 @@ + From cb2ff805035d53e70193f5d2faacb7c8abc85c2f Mon Sep 17 00:00:00 2001 From: Pier Luigi Buttigieg Date: Wed, 10 Jul 2024 11:42:13 +0200 Subject: [PATCH 18/33] Update Claim.json supports https://github.com/iodepo/odis-arch/issues/407 and https://github.com/plazi/treatmentBank/issues/115 --- dataGraphs/thematics/Claim/graphs/Claim.json | 299 +++++++++++++++++++ 1 file changed, 299 insertions(+) diff --git a/dataGraphs/thematics/Claim/graphs/Claim.json b/dataGraphs/thematics/Claim/graphs/Claim.json index 8b13789..94607da 100644 --- a/dataGraphs/thematics/Claim/graphs/Claim.json +++ b/dataGraphs/thematics/Claim/graphs/Claim.json @@ -1 +1,300 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@type": "Claim", + "@id": "URL: Optional. A URL that resolves to *this* JSON-LD document, NOT the URL of the CreativeWork that this JSON-LD document describes. To link to the CreativeWork itself, please use 'url' and/or 'identifier')", + + "appearance": {"@type": "https://schema.org/CreativeWork"}, + "claimInterpreter": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "firstAppearance": {"@type": "https://schema.org/CreativeWork"}, + + "about": "Text or controlled vocabulary/ontology, singly or as an array: The subject matter of this CreativeWork", + "abstract": "Text: A descriptive summary of a CreativeWork", + "accessMode": "Text: The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the approved vocabulary https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary.", + "accessModeSufficient": { + "@type": "http://schema.org/ItemList", + "description": "An ItemList of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the approved vocabulary (https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary)." + }, + "accessibilityHazard":"Text: A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the approved vocabulary. https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary", + "accessibilitySummary": "Text: A textual summary of how this CreativeWork can be accessed, if there are any hazards associated with access, and related facts", + "accountablePerson": {"@type": "https://schema.org/Person"}, + "acquireLicensePage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "aggregateRating": {"@type": "AggregateRating"}, + "alternativeHeadline": "Text: A secondary title of the CreativeWork.", + "archivedAt": [ + "URL", + {"@type": "https://schema.org/WebPage"} + ], + "assesses": [ + "Text: Text to describe what (if anything) the CreativeWork described by this template assesses.", + {"@type": "https://schema.org/DefinedTerm"} + ], + "associatedMedia": {"@type": "https://schema.org/MediaObject"}, + "audience": {"@type": "https://schema.org/Audience"}, + "audio": [ + {"@type": "https://schema.org/AudioObject"}, + {"@type": "https://schema.org/Clip"}, + {"@type": "https://schema.org/MusicRecording"} + ], + "author": {"@type": "https://schema.org/Person"}, + "award": "Text: A description of an award won for this CreativeWork", + "character": {"@type": "https://schema.org/Person"}, + "citation": [ + "Text: A textual citation to other work relevant to this CreativeWork", + {"@type": "https://schema.org/CreativeWork"} + ], + "comment": "Text: A textual comment on the CreativeWork", + "commentCount": {"@type": "https://schema.org/Integer"}, + "conditionsOfAccess": "Text: Description of conditions that affect the availability of, or method(s) of access to, an item.", + "contentLocation": {"@type": "https://schema.org/Place"}, + "contentRating": [ + "Text: Text stating the official rating for this CreativeWork", + {"@type": "https://schema.org/Rating"} + ], + "contentReferenceTime": {"@type": "https://schema.org/DateTime"}, + "contributor": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "copyrightHolder": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "copyrightNotice": "Text. Text of a notice appropriate for describing the copyright aspects of this Creative Work", + "copyrightYear": {"@type": "https://schema.org/Number"}, + "correction": [ + "Text: description of a correction to the CreativeWork", + "URL", + {"@type": "https://schema.org/CorrectionComment"} + ], + "countryOfOrigin": {"@type": "https://schema.org/Country"}, + "creativeWorkStatus": [ + "Text: Description of the status of this CreativeWork in terms of its stage in a lifecycle", + {"@type": "https://schema.org/DefinedTerm"} + ], + "creator": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "creditText": "Text: Text used to credit person(s) and/or organization(s) associated with this CreativeWork", + "dateCreated": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "dateModified": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "datePublished": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "discussionUrl": "URL", + "editEIDR": [ + "Text: A statement on the EIDR (Entertainment Identifier Registry) identifier representing a specific edit / edition for a work of film or television.", + "URL" + ], + "editor": {"@type": "https://schema.org/Person"}, + "educationalAlignment": {"@type": "https://schema.org/AlignmentObject"}, + "educationalLevel": [ + "Text: The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", + "URL", + {"@type": "https://schema.org/DefinedTerm"} + ], + "educationalUse": [ + "Text: Description of the purpose of this CreativeWork in the context of education", + {"@type": "https://schema.org/DefinedTerm"} + ], + "encoding": {"@type": "https://schema.org/MediaObject"}, + "encodingFormat": [ + "Text: Textual description of the media type typically expressed using a MIME format (see IANA site [http://www.iana.org/assignments/media-types/media-types.xhtml] and MDN reference [https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types]), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc. ", + "URL" + ], + "exampleOfWork": {"@type": "https://schema.org/CreativeWork"}, + "expires": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "funder": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "funding": {"@type": "https://schema.org/Grant"}, + "genre": [ + "Text: Genre of the creative work, broadcast channel or group.", + "URL" + ], + "hasPart": {"@type": "https://schema.org/CreativeWork"}, + "headline": "Text: Headline of the article", + "inLanguage": [ + "Text: The language of the content or performance or used in an action.", + {"@type": "https://schema.org/Language"} + ], + "interactionStatistic": {"@type": "https://schema.org/InteractionCounter"}, + "interactivityType": "Text: The predominant mode of learning supported by the learning resource", + "interpretedAsClaim": {"@type": "https://schema.org/Claim"}, + "isAccessibleForFree": {"@type": "https://schema.org/Boolean"}, + "isBasedOn": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Product"}, + "URL" + ], + "isFamilyFriendly": {"@type": "https://schema.org/Boolean"}, + "isPartOf": [ + {"@type": "https://schema.org/CreativeWork"}, + "URL" + ], + "keywords": [ + "Text: Keywords or tags used to describe the CreativeWork.", + {"@type": "https://schema.org/DefinedTerm"}, + "URL" + ], + "learningResourceType": [ + "Text: The predominant type or kind characterizing the learning resource.", + {"@type": "https://schema.org/DefinedTerm"} + ], + "license": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "locationCreated": {"@type": "https://schema.org/Place"}, + "mainEntity": {"@type": "https://schema.org/Thing"}, + "maintainer": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "material": [ + {"@type": "https://schema.org/Product"}, + "Text: A material that something is made from, e.g. leather, wool, cotton, paper.", + "URL" + ], + "materialExtent": [ + {"@type": "https://schema.org/QuantitativeValue"}, + "Text: The quantity of the materials being described or an expression of the physical space they occupy" + ], + "mentions": {"@type": "https://schema.org/Thing"}, + "offers": [ + {"@type": "https://schema.org/Offer"}, + {"@type": "https://schema.org/Demand"} + ], + "pattern": [ + "Text: Text which states the pattern that the CreativeWork has, for example 'polka dot', 'striped', 'Canadian flag'", + {"@type": "https://schema.org/DefinedTerm"} + ], + "position": [ + "Integer: An integer which expresses the position of an item in a series or sequence of items.", + "Text: A textual description of the position of an item in a series or sequence of items." + ], + "producer": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "provider": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "publication": {"@type": "https://schema.org/PublicationEvent"}, + "publisher": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "publisherImprint": {"@type": "https://schema.org/Organization"}, + "publishingPrinciples": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "recordedAt": {"@type": "https://schema.org/Event"}, + "releasedEvent": {"@type": "https://schema.org/PublicationEvent"}, + "review": {"@type": "https://schema.org/Review"}, + "schemaVersion": [ + "Text", + "URL" + ], + "sdDatePublished": {"@type": "https://schema.org/Date"}, + "sdLicense": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "sdPublisher": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "size": "Text: Text indicating the phyiscal size of the CreativeWork (if appropriate). DefinedTerm or QuantitativeValue or SizeSpecification are also valid Types", + "sourceOrganization": {"@type": "https://schema.org/Organization"}, + "spatial": {"@type": "https://schema.org/Place"}, + "spatialCoverage": {"@type": "https://schema.org/Place"}, + "sponsor": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "teaches": [ + {"@type": "https://schema.org/DefinedTerm"}, + "Text" + ], + "temporal": "A more general property for any time-related information about this CreativeWork. This can be expressed as text or using the properties associated with the DateTime Type", + "temporalCoverage": [ + {"@type": "https://schema.org/DateTime"}, + "Text", + "URL" + ], + "text": "Text: The textual content of this CreativeWork.", + "thumbnail": {"@type": "https://schema.org/ImageObject"}, + "thumbnailUrl": "URL", + "timeRequired": {"@type": "https://schema.org/Duration"}, + "translationOfWork": {"@type": "https://schema.org/CreativeWork"}, + "translator":[ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "typicalAgeRange": "Text: The typical expected age range, e.g. '7-9', '11-'.", + "usageInfo":[ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "version": ["https://schema.org/Text", "https://schema.org/Number"], + "video": [ + {"@type": "https://schema.org/Clip"}, + {"@type": "https://schema.org/VideoObject"} + ], + "workExample": {"@type": "https://schema.org/CreativeWork"}, + "workTranslation": {"@type": "https://schema.org/CreativeWork"}, + + + + "additionalType": [ + "Text: An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.", + "URL" + ], + "alternateName": "Text: An alternative name for this Thing.", + "description": "Text: Free text which describes this Thing.", + "disambiguatingDescription": "Text: A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation", + "identifier": [ + {"@type": "https://schema.org/PropertyValue"}, + "Text - The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.", + "URL" + ], + "image": [ + "URL", + {"@type": "https://schema.org/ImageObject"} + ], + "mainEntityOfPage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "name": "Text: The name of the item.", + "potentialAction": {"@type": "https://schema.org/Action"}, + "sameAs": "URL", + "subjectOf": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Event"} + ], + "url": "URL - the URL to the item described by this JSON-LD document" +} From 77bedaaa03335932b4b04648118845d086f065b2 Mon Sep 17 00:00:00 2001 From: Douglas Fils Date: Thu, 11 Jul 2024 10:48:06 -0500 Subject: [PATCH 19/33] Add new SPARQL queries and update SQL README Introduced new SPARQL queries for data extraction about depth measurements in the OBIS directory. Also updated the SQL README with detailed instructions on how to setup tables from the s3 store. Removed an unnecessary line in the `orcidFind.rq` script. --- SPARQL/OBIS/README.md | 107 ++++++++++++++++++++++++++++++++++++ SPARQL/OBIS/depth.rq | 11 ++++ SPARQL/OBIS/scratch.rq | 12 ++++ SPARQL/interop/orcidFind.rq | 1 - SQL/README.md | 34 ++++++++++++ 5 files changed, 164 insertions(+), 1 deletion(-) create mode 100644 SPARQL/OBIS/README.md create mode 100644 SPARQL/OBIS/depth.rq create mode 100644 SPARQL/OBIS/scratch.rq diff --git a/SPARQL/OBIS/README.md b/SPARQL/OBIS/README.md new file mode 100644 index 0000000..d316f1d --- /dev/null +++ b/SPARQL/OBIS/README.md @@ -0,0 +1,107 @@ +# OBIS Depth review + +## About + +Note and comments on the OBIS data as related to depth values that might align +with the guidance at: XYZ + +A simple query to look for the term "depth" in variable names for OBIS + +```SPARQL +PREFIX rdf: +PREFIX rdfs: +PREFIX schema: + +SELECT ?sid ?name +WHERE { + ?sid schema:variableMeasured ?prop . + ?prop schema:name ?name . + FILTER regex(str(?name), "depth", "i") +} +``` + +Find the unique instances of these names. Note this is just the string +value and so it might have false matches. + +```SPARQL +PREFIX rdf: +PREFIX rdfs: +PREFIX schema: + +SELECT ?name (COUNT(DISTINCT ?sid) as ?count) +WHERE { + ?sid schema:variableMeasured ?prop . + ?prop schema:name ?name . + FILTER regex(str(?name), "depth", "i") +} +GROUP BY ?name ORDER BY DESC(?count) +``` + +This has some example output like the following. + +| Object Name | Count | +|-------------------|------------------- | +| water depth | "36"^^xsd:integer | +| Depth (m) | "14"^^xsd:integer | +| sampling_depth | "12"^^xsd:integer | +| Water depth | "9"^^xsd:integer | +| MinimumDepth_cm | "8"^^xsd:integer | +| MaximumDepth_cm | "8"^^xsd:integer | +| sampling_depth_min| "7"^^xsd:integer | + + +In terms of numerical values there are no uses +of maxValue, minValue, or value in the variableMeasured +referenced types. + +We can start to look at associated data with the metadata +records. + +```SPARQL +PREFIX rdf: +PREFIX rdfs: +PREFIX schema: + +SELECT ?sid ?name ?url +WHERE { + ?sid schema:distribution ?dist . + ?dist schema:contentUrl ?url . + ?sid schema:variableMeasured ?prop . + ?prop schema:name ?name . + FILTER regex(str(?name), "depth", "i") +} +``` + +We can also use the above SPARQL to find resources that +both mention depth and have distribution links. + + +They have depth values in the measurement tables, but +in most cases depth will be in two Darwin Core fields +that currently do not feed into variableMeasured. + +It is part of the archive which is in distribution. +See https://ipt.vliz.be/eurobis/archive.do?r=smhi-zoobenthos-reg +for example which has >1M measurements. + +These are Darwin Core Archive formats with the metadata +and table values. These have tooling for them like +https://python-dwca-reader.readthedocs.io/en/latest/tutorial.html +which can read and understand these archives. + +After installing and playing with this package for a few minutes +it was able to read the archives and scan on things like +DarwinCore term: http://rs.tdwg.org/dwc/terms/maximumDepthInMeters. + +Doing this for all archives in OBIS might be a bit much. Though I +don't know how many dwca files there are in the distribution +links. It can be discussed further if needed. + +At that point then, doing things like + +```python +core_df['maximumDepthInMeters'].max() # 353.5 meters +``` + +is straightforward to process. + diff --git a/SPARQL/OBIS/depth.rq b/SPARQL/OBIS/depth.rq new file mode 100644 index 0000000..eb29ac5 --- /dev/null +++ b/SPARQL/OBIS/depth.rq @@ -0,0 +1,11 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX schema: + +SELECT ?name (COUNT(DISTINCT ?sid) as ?count) +WHERE { + ?sid schema:variableMeasured ?prop . + ?prop schema:name ?name . + FILTER regex(str(?name), "depth", "i") +} +GROUP BY ?name ORDER BY DESC(?count) diff --git a/SPARQL/OBIS/scratch.rq b/SPARQL/OBIS/scratch.rq new file mode 100644 index 0000000..c1c1e95 --- /dev/null +++ b/SPARQL/OBIS/scratch.rq @@ -0,0 +1,12 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX schema: + +SELECT ?sid ?name ?url +WHERE { + ?sid schema:distribution ?dist . + ?dist schema:contentUrl ?url . + ?sid schema:variableMeasured ?prop . + ?prop schema:name ?name . + FILTER regex(str(?name), "depth", "i") +} \ No newline at end of file diff --git a/SPARQL/interop/orcidFind.rq b/SPARQL/interop/orcidFind.rq index 0f4219f..10206a7 100644 --- a/SPARQL/interop/orcidFind.rq +++ b/SPARQL/interop/orcidFind.rq @@ -10,7 +10,6 @@ PREFIX schemax: PREFIX bds: - SELECT ( COUNT (?obj) as ?count) WHERE { ?s schema:identifier ?obj . diff --git a/SQL/README.md b/SQL/README.md index f32cdda..fca1a70 100644 --- a/SQL/README.md +++ b/SQL/README.md @@ -3,6 +3,40 @@ ## Notes +### July 9 + +Focus on oihv2 since it has the fuller set of tables in it. However, we really need to have the +ability to set that up from the s3 store. + +```sql + +CREATE TABLE base (id VARCHAR, type VARCHAR, name VARCHAR, url VARCHAR, description VARCHAR, headline VARCHAR, g VARCHAR ); +CREATE TABLE dataset (id VARCHAR, type VARCHAR, sameAs VARCHAR, license VARCHAR, citation VARCHAR, keyword VARCHAR, includedInDataCatalog VARCHAR, distribution VARCHAR, region VARCHAR, provider VARCHAR, publisher VARCHAR, creator VARCHAR); +CREATE TABLE sup_time (id VARCHAR, type VARCHAR, time VARCHAR, temporalCoverage VARCHAR, dateModified VARCHAR, datePublished VARCHAR, ); +CREATE TABLE course (id VARCHAR, type VARCHAR, txt_location VARCHAR); +CREATE TABLE person (id VARCHAR, type VARCHAR, address VARCHAR, txt_knowsAbout VARCHAR, txt_knowsLanguage VARCHAR); +CREATE TABLE sup_geo (id VARCHAR, type VARCHAR, placename VARCHAR, geotype VARCHAR, geompred VARCHAR, geom VARCHAR, lat VARCHAR, long VARCHAR, g VARCHAR ); + +COPY base FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_baseQuery.parquet'; +COPY dataset FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_dataset.parquet'; +COPY sup_time FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_temporal.parquet'; +COPY course FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_course.parquet'; +COPY person FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_person.parquet'; +COPY sup_geo FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_geo.parquet'; + + +``` + +The old examples had union_by_name, but I am not sure what the value of these is. + +```sql +CREATE TABLE sup_geo AS SELECT * FROM read_parquet('/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_geo.parquet', union_by_name=true); +``` + + + +### Older + Need to get to: [solrExample.json](solrExample.json) This SQL statement will return all columns where there's a matching id in both table1 and table2. From 8197d3774749adcc761064bb977dac97237158d9 Mon Sep 17 00:00:00 2001 From: Douglas Fils Date: Mon, 15 Jul 2024 14:36:02 -0500 Subject: [PATCH 20/33] Update SQL queries, paths and add new SPARQL Updated SQL/wis2.sql to include additional aggregate functions and improved data extraction from 'active' directories in SQL/README.md. Added a new SPARQL query file, `distributions.rq`, under the OBIS directory. Also, expanded the documentation in SPARQL/OBIS/README.md to describe OBIS API leveraging and added relevant references. --- SPARQL/OBIS/README.md | 22 ++++++++++++++++++++++ SPARQL/OBIS/distributions.rq | 12 ++++++++++++ SQL/README.md | 12 ++++++------ SQL/wis2.sql | 6 +++++- 4 files changed, 45 insertions(+), 7 deletions(-) create mode 100644 SPARQL/OBIS/distributions.rq diff --git a/SPARQL/OBIS/README.md b/SPARQL/OBIS/README.md index d316f1d..b3e0ea4 100644 --- a/SPARQL/OBIS/README.md +++ b/SPARQL/OBIS/README.md @@ -105,3 +105,25 @@ core_df['maximumDepthInMeters'].max() # 353.5 meters is straightforward to process. +## OBIS API leveraging + +There's no way currently to get depth statistics by dataset from the API except by going through all records +but I wouldn't recommend that. +One thing you could do is get dataset lists for depth slices, +eg https://api.obis.org/dataset?startdepth=5000&enddepth=6000 +This is not the best approach since you have to query by ranges and get the related resources it seems. +However, there is a parquet (and csv) export from https://obis.org/data/access/ . Pieter said +that the parquet has depth in the form of the darwin +core fields minimumDepthInMeters and maximumDepthInMeters. So this might be the best route. +Pieter doesn't have time to work on this right away, but it might be easy for us to make an +"auxiliary" graph that we can test with and also share with Pieter. In the hopes it helps +him integrate the values into the production service eventually. +I am hoping that id in the parquet is the JSON-LD @id like https://obis.org/dataset/24e96d02-8909-4431-bc61-8cf8eadc9b7a +If that is the case this will be very easy! I am currently pulling down the parquet (18 Gb) and +will report what I find. + + +## References + +* https://github.com/iodepo/odis-arch/blob/master/book/thematics/depth/index.md +* https://github.com/iodepo/odis-in/tree/master/SPARQL/OBIS (this document) \ No newline at end of file diff --git a/SPARQL/OBIS/distributions.rq b/SPARQL/OBIS/distributions.rq new file mode 100644 index 0000000..d8f1d0c --- /dev/null +++ b/SPARQL/OBIS/distributions.rq @@ -0,0 +1,12 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX schema: + +SELECT ?sid ?name ?url +WHERE { + ?sid schema:distribution ?dist . + ?dist schema:contentUrl ?url . + ?sid schema:variableMeasured ?prop . + ?prop schema:name ?name . + FILTER regex(str(?name), "depth", "i") +} diff --git a/SQL/README.md b/SQL/README.md index fca1a70..6008fd0 100644 --- a/SQL/README.md +++ b/SQL/README.md @@ -17,12 +17,12 @@ CREATE TABLE course (id VARCHAR, type VARCHAR, txt_location VARCHAR); CREATE TABLE person (id VARCHAR, type VARCHAR, address VARCHAR, txt_knowsAbout VARCHAR, txt_knowsLanguage VARCHAR); CREATE TABLE sup_geo (id VARCHAR, type VARCHAR, placename VARCHAR, geotype VARCHAR, geompred VARCHAR, geom VARCHAR, lat VARCHAR, long VARCHAR, g VARCHAR ); -COPY base FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_baseQuery.parquet'; -COPY dataset FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_dataset.parquet'; -COPY sup_time FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_temporal.parquet'; -COPY course FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_course.parquet'; -COPY person FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_person.parquet'; -COPY sup_geo FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/*_sup_geo.parquet'; +COPY base FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/active/*_baseQuery.parquet'; +COPY dataset FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/active/*_dataset.parquet'; +COPY sup_time FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/active/*_sup_temporal.parquet'; +COPY course FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/active/*_course.parquet'; +COPY person FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/active/*_person.parquet'; +COPY sup_geo FROM '/home/fils/src/Projects/OIH/odis-arch/graphOps/extraction/mdp/output/active/*_sup_geo.parquet'; ``` diff --git a/SQL/wis2.sql b/SQL/wis2.sql index 3a97c9e..2d49749 100644 --- a/SQL/wis2.sql +++ b/SQL/wis2.sql @@ -6,6 +6,8 @@ SELECT base_agg.id, base_agg.b_desc, base_agg.b_headline, geo_agg.geom_list, + geo_agg.wkt_list, + geo_agg.geojson, temporal_agg.tc_list, temporal_agg.dp_list FROM (SELECT id, @@ -20,7 +22,9 @@ FROM (SELECT id, FROM dataset GROUP BY id) AS dataset_agg ON base_agg.id = dataset_agg.id - JOIN (SELECT id, STRING_AGG(DISTINCT geom, ', ') AS geom_list + JOIN (SELECT id, STRING_AGG(DISTINCT geom, ', ') AS geom_list, + STRING_AGG(DISTINCT wkt, ', ') AS wkt_list, + STRING_AGG(DISTINCT geojson, ', ') AS geojson FROM sup_geo GROUP BY id) AS geo_agg ON base_agg.id = geo_agg.id From c17ec06a591a7002a6da0c2326a9e1ccc673aadf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 13:24:24 +0000 Subject: [PATCH 21/33] Bump GrantBirki/json-yaml-validate from 3.0.0 to 3.1.0 Bumps [GrantBirki/json-yaml-validate](https://github.com/grantbirki/json-yaml-validate) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/grantbirki/json-yaml-validate/releases) - [Commits](https://github.com/grantbirki/json-yaml-validate/compare/v3.0.0...v3.1.0) --- updated-dependencies: - dependency-name: GrantBirki/json-yaml-validate dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/json-yaml-validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/json-yaml-validate.yml b/.github/workflows/json-yaml-validate.yml index 6da6bf9..24f7b06 100644 --- a/.github/workflows/json-yaml-validate.yml +++ b/.github/workflows/json-yaml-validate.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: json-yaml-validate - uses: GrantBirki/json-yaml-validate@v3.0.0 + uses: GrantBirki/json-yaml-validate@v3.1.0 with: base_dir: "./dataGraphs/thematics" From 070ce55f2d3da127825ee783da72ba07d78faed7 Mon Sep 17 00:00:00 2001 From: Pier Luigi Buttigieg Date: Fri, 23 Aug 2024 09:08:42 +0200 Subject: [PATCH 22/33] Create DigitalDocument.json Validated --- .../graphs/DigitalDocument.json | 294 ++++++++++++++++++ 1 file changed, 294 insertions(+) create mode 100644 dataGraphs/thematics/DigitalDocument/graphs/DigitalDocument.json diff --git a/dataGraphs/thematics/DigitalDocument/graphs/DigitalDocument.json b/dataGraphs/thematics/DigitalDocument/graphs/DigitalDocument.json new file mode 100644 index 0000000..0edc641 --- /dev/null +++ b/dataGraphs/thematics/DigitalDocument/graphs/DigitalDocument.json @@ -0,0 +1,294 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@type": "DigitalDocument", + "@id": "URL: Optional. A URL that resolves to *this* JSON-LD document, NOT the URL of the CreativeWork that this JSON-LD document describes. To link to the CreativeWork itself, please use 'url' and/or 'identifier')", + + "hasDigitalDocumentPermission": {"@type": "https://schema.org/DigitalDocumentPermission"}, + + "about": "Text or controlled vocabulary/ontology, singly or as an array: The subject matter of this CreativeWork", + "abstract": "Text: A descriptive summary of a CreativeWork", + "accessMode": "Text: The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the approved vocabulary https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary.", + "accessModeSufficient": { + "@type": "http://schema.org/ItemList", + "description": "An ItemList of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the approved vocabulary (https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary)." + }, + "accessibilityHazard":"Text: A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the approved vocabulary. https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary", + "accessibilitySummary": "Text: A textual summary of how this CreativeWork can be accessed, if there are any hazards associated with access, and related facts", + "accountablePerson": {"@type": "https://schema.org/Person"}, + "acquireLicensePage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "aggregateRating": {"@type": "AggregateRating"}, + "alternativeHeadline": "Text: A secondary title of the CreativeWork.", + "archivedAt": [ + "URL", + {"@type": "https://schema.org/WebPage"} + ], + "assesses": [ + "Text: Text to describe what (if anything) the CreativeWork described by this template assesses.", + {"@type": "https://schema.org/DefinedTerm"} + ], + "associatedMedia": {"@type": "https://schema.org/MediaObject"}, + "audience": {"@type": "https://schema.org/Audience"}, + "audio": [ + {"@type": "https://schema.org/AudioObject"}, + {"@type": "https://schema.org/Clip"}, + {"@type": "https://schema.org/MusicRecording"} + ], + "author": {"@type": "https://schema.org/Person"}, + "award": "Text: A description of an award won for this CreativeWork", + "character": {"@type": "https://schema.org/Person"}, + "citation": [ + "Text: A textual citation to other work relevant to this CreativeWork", + {"@type": "https://schema.org/CreativeWork"} + ], + "comment": "Text: A textual comment on the CreativeWork", + "commentCount": {"@type": "https://schema.org/Integer"}, + "conditionsOfAccess": "Text: Description of conditions that affect the availability of, or method(s) of access to, an item.", + "contentLocation": {"@type": "https://schema.org/Place"}, + "contentRating": [ + "Text: Text stating the official rating for this CreativeWork", + {"@type": "https://schema.org/Rating"} + ], + "contentReferenceTime": {"@type": "https://schema.org/DateTime"}, + "contributor": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "copyrightHolder": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "copyrightNotice": "Text. Text of a notice appropriate for describing the copyright aspects of this Creative Work", + "copyrightYear": {"@type": "https://schema.org/Number"}, + "correction": [ + "Text: description of a correction to the CreativeWork", + "URL", + {"@type": "https://schema.org/CorrectionComment"} + ], + "countryOfOrigin": {"@type": "https://schema.org/Country"}, + "creativeWorkStatus": [ + "Text: Description of the status of this CreativeWork in terms of its stage in a lifecycle", + {"@type": "https://schema.org/DefinedTerm"} + ], + "creator": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "creditText": "Text: Text used to credit person(s) and/or organization(s) associated with this CreativeWork", + "dateCreated": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "dateModified": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "datePublished": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "discussionUrl": "URL", + "editEIDR": [ + "Text: A statement on the EIDR (Entertainment Identifier Registry) identifier representing a specific edit / edition for a work of film or television.", + "URL" + ], + "editor": {"@type": "https://schema.org/Person"}, + "educationalAlignment": {"@type": "https://schema.org/AlignmentObject"}, + "educationalLevel": [ + "Text: The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", + "URL", + {"@type": "https://schema.org/DefinedTerm"} + ], + "educationalUse": [ + "Text: Description of the purpose of this CreativeWork in the context of education", + {"@type": "https://schema.org/DefinedTerm"} + ], + "encoding": {"@type": "https://schema.org/MediaObject"}, + "encodingFormat": [ + "Text: Textual description of the media type typically expressed using a MIME format (see IANA site [http://www.iana.org/assignments/media-types/media-types.xhtml] and MDN reference [https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types]), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc. ", + "URL" + ], + "exampleOfWork": {"@type": "https://schema.org/CreativeWork"}, + "expires": [ + {"@type": "https://schema.org/Date"}, + {"@type": "https://schema.org/DateTime"} + ], + "funder": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "funding": {"@type": "https://schema.org/Grant"}, + "genre": [ + "Text: Genre of the creative work, broadcast channel or group.", + "URL" + ], + "hasPart": {"@type": "https://schema.org/CreativeWork"}, + "headline": "Text: Headline of the article", + "inLanguage": [ + "Text: The language of the content or performance or used in an action.", + {"@type": "https://schema.org/Language"} + ], + "interactionStatistic": {"@type": "https://schema.org/InteractionCounter"}, + "interactivityType": "Text: The predominant mode of learning supported by the learning resource", + "interpretedAsClaim": {"@type": "https://schema.org/Claim"}, + "isAccessibleForFree": {"@type": "https://schema.org/Boolean"}, + "isBasedOn": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Product"}, + "URL" + ], + "isFamilyFriendly": {"@type": "https://schema.org/Boolean"}, + "isPartOf": [ + {"@type": "https://schema.org/CreativeWork"}, + "URL" + ], + "keywords": [ + "Text: Keywords or tags used to describe the CreativeWork.", + {"@type": "https://schema.org/DefinedTerm"}, + "URL" + ], + "learningResourceType": [ + "Text: The predominant type or kind characterizing the learning resource.", + {"@type": "https://schema.org/DefinedTerm"} + ], + "license": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "locationCreated": {"@type": "https://schema.org/Place"}, + "mainEntity": {"@type": "https://schema.org/Thing"}, + "maintainer": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "material": [ + {"@type": "https://schema.org/Product"}, + "Text: A material that something is made from, e.g. leather, wool, cotton, paper.", + "URL" + ], + "materialExtent": [ + {"@type": "https://schema.org/QuantitativeValue"}, + "Text: The quantity of the materials being described or an expression of the physical space they occupy" + ], + "mentions": {"@type": "https://schema.org/Thing"}, + "offers": [ + {"@type": "https://schema.org/Offer"}, + {"@type": "https://schema.org/Demand"} + ], + "pattern": [ + "Text: Text which states the pattern that the CreativeWork has, for example 'polka dot', 'striped', 'Canadian flag'", + {"@type": "https://schema.org/DefinedTerm"} + ], + "position": [ + "Integer: An integer which expresses the position of an item in a series or sequence of items.", + "Text: A textual description of the position of an item in a series or sequence of items." + ], + "producer": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "provider": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "publication": {"@type": "https://schema.org/PublicationEvent"}, + "publisher": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "publisherImprint": {"@type": "https://schema.org/Organization"}, + "publishingPrinciples": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "recordedAt": {"@type": "https://schema.org/Event"}, + "releasedEvent": {"@type": "https://schema.org/PublicationEvent"}, + "review": {"@type": "https://schema.org/Review"}, + "schemaVersion": [ + "Text", + "URL" + ], + "sdDatePublished": {"@type": "https://schema.org/Date"}, + "sdLicense": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "sdPublisher": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "size": "Text: Text indicating the phyiscal size of the CreativeWork (if appropriate). DefinedTerm or QuantitativeValue or SizeSpecification are also valid Types", + "sourceOrganization": {"@type": "https://schema.org/Organization"}, + "spatial": {"@type": "https://schema.org/Place"}, + "spatialCoverage": {"@type": "https://schema.org/Place"}, + "sponsor": [ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "teaches": [ + {"@type": "https://schema.org/DefinedTerm"}, + "Text" + ], + "temporal": "A more general property for any time-related information about this CreativeWork. This can be expressed as text or using the properties associated with the DateTime Type", + "temporalCoverage": [ + {"@type": "https://schema.org/DateTime"}, + "Text", + "URL" + ], + "text": "Text: The textual content of this CreativeWork.", + "thumbnail": {"@type": "https://schema.org/ImageObject"}, + "thumbnailUrl": "URL", + "timeRequired": {"@type": "https://schema.org/Duration"}, + "translationOfWork": {"@type": "https://schema.org/CreativeWork"}, + "translator":[ + {"@type": "https://schema.org/Organization"}, + {"@type": "https://schema.org/Person"} + ], + "typicalAgeRange": "Text: The typical expected age range, e.g. '7-9', '11-'.", + "usageInfo":[ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/URL"} + ], + "version": ["https://schema.org/Text", "https://schema.org/Number"], + "video": [ + {"@type": "https://schema.org/Clip"}, + {"@type": "https://schema.org/VideoObject"} + ], + "workExample": {"@type": "https://schema.org/CreativeWork"}, + "workTranslation": {"@type": "https://schema.org/CreativeWork"}, + + + + "additionalType": [ + "Text: An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax.", + "URL" + ], + "alternateName": "Text: An alternative name for this Thing.", + "description": "Text: Free text which describes this Thing.", + "disambiguatingDescription": "Text: A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation", + "identifier": [ + {"@type": "https://schema.org/PropertyValue"}, + "Text - The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.", + "URL" + ], + "image": [ + "URL", + {"@type": "https://schema.org/ImageObject"} + ], + "mainEntityOfPage": [ + "URL", + {"@type": "https://schema.org/CreativeWork"} + ], + "name": "Text: The name of the item.", + "potentialAction": {"@type": "https://schema.org/Action"}, + "sameAs": "URL", + "subjectOf": [ + {"@type": "https://schema.org/CreativeWork"}, + {"@type": "https://schema.org/Event"} + ], + "url": "URL - the URL to the item described by this JSON-LD document" +} From bc0ee775f7abafa17f9ed966734ab917abd98592 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:20:27 +0000 Subject: [PATCH 23/33] Bump GrantBirki/json-yaml-validate from 3.1.0 to 3.2.1 Bumps [GrantBirki/json-yaml-validate](https://github.com/grantbirki/json-yaml-validate) from 3.1.0 to 3.2.1. - [Release notes](https://github.com/grantbirki/json-yaml-validate/releases) - [Commits](https://github.com/grantbirki/json-yaml-validate/compare/v3.1.0...v3.2.1) --- updated-dependencies: - dependency-name: GrantBirki/json-yaml-validate dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/json-yaml-validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/json-yaml-validate.yml b/.github/workflows/json-yaml-validate.yml index 24f7b06..3d025e0 100644 --- a/.github/workflows/json-yaml-validate.yml +++ b/.github/workflows/json-yaml-validate.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: json-yaml-validate - uses: GrantBirki/json-yaml-validate@v3.1.0 + uses: GrantBirki/json-yaml-validate@v3.2.1 with: base_dir: "./dataGraphs/thematics" From b791c6950ec74d5c4eabe339141fd80ce5274c78 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Fri, 13 Sep 2024 15:00:55 -0300 Subject: [PATCH 24/33] update @id --- dataGraphs/thematics/variables/graphs/obisData2.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataGraphs/thematics/variables/graphs/obisData2.json b/dataGraphs/thematics/variables/graphs/obisData2.json index 3db2f52..440f0aa 100644 --- a/dataGraphs/thematics/variables/graphs/obisData2.json +++ b/dataGraphs/thematics/variables/graphs/obisData2.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "Dataset", - "@id": "https://example.org/dataset/12345", + "@id": "https://registry.org/permanentUrlToThisJsonDoc", "name": "Example Vessel Surveys Jan-Apr 2007", "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 2007.", "url": "https://obis.org/dataset/dcbb8f12-c869-4d31-aa8b-23abb27898ce", @@ -68,7 +68,7 @@ "@type": "Place", "geo": { "@type": "GeoShape", - "description": "schema.org expects lat long (Y X) coordinate order", + "description": "schema.org expects lat long (Y X) coordinate order", "polygon": "10.161667 142.014,18.033833 142.014,18.033833 147.997833,10.161667 147.997833,10.161667 142.014" }, "additionalProperty": { From 32f3c2ee14b35852c6235e5e4cca517a7bc9f833 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Fri, 13 Sep 2024 15:16:49 -0300 Subject: [PATCH 25/33] update @id --- dataGraphs/foundation/graphs/simple.json | 2 +- dataGraphs/thematics/variables/graphs/obisData2.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dataGraphs/foundation/graphs/simple.json b/dataGraphs/foundation/graphs/simple.json index 802b405..ccb58cc 100644 --- a/dataGraphs/foundation/graphs/simple.json +++ b/dataGraphs/foundation/graphs/simple.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "CreativeWork", - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "name": "Name or title of the document", "description": "Description of the creative work to aid in searching", "url": "https://www.sample-data-repository.org/creativework/report.pdf" diff --git a/dataGraphs/thematics/variables/graphs/obisData2.json b/dataGraphs/thematics/variables/graphs/obisData2.json index 440f0aa..1671a01 100644 --- a/dataGraphs/thematics/variables/graphs/obisData2.json +++ b/dataGraphs/thematics/variables/graphs/obisData2.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "Dataset", - "@id": "https://registry.org/permanentUrlToThisJsonDoc", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "name": "Example Vessel Surveys Jan-Apr 2007", "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 2007.", "url": "https://obis.org/dataset/dcbb8f12-c869-4d31-aa8b-23abb27898ce", From e68a158e33e6eede9e631841a6b1b9ae071a946f Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Fri, 13 Sep 2024 16:06:52 -0300 Subject: [PATCH 26/33] update @id --- dataGraphs/thematics/spatial/graphs/geosparqlsimple.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataGraphs/thematics/spatial/graphs/geosparqlsimple.json b/dataGraphs/thematics/spatial/graphs/geosparqlsimple.json index c2b90c9..f3c661a 100644 --- a/dataGraphs/thematics/spatial/graphs/geosparqlsimple.json +++ b/dataGraphs/thematics/spatial/graphs/geosparqlsimple.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/", "geosparql": "http://www.opengis.net/ont/geosparql#" }, - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "Dataset", "name": "Data set name", "geosparql:hasGeometry": { From 19e75457a99b141aecd4f930aa6a895e8261f0c1 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Fri, 13 Sep 2024 17:29:19 -0300 Subject: [PATCH 27/33] update @id --- dataGraphs/thematics/dataset/graphs/datasetTemplate.json | 2 +- dataGraphs/thematics/docs/graphs/map.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json index 24ead6d..489b2da 100644 --- a/dataGraphs/thematics/dataset/graphs/datasetTemplate.json +++ b/dataGraphs/thematics/dataset/graphs/datasetTemplate.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "Dataset", - "@id": "https://registry.org/permanentUrlToThisJsonDoc", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "name": "A concise but descriptive name of the dataset", "description": "An extended, free-text description of what's in the dataset, who created it, and other attributes", "url": "https://urlToTheDatasetOrLandingPage.org/", diff --git a/dataGraphs/thematics/docs/graphs/map.json b/dataGraphs/thematics/docs/graphs/map.json index 92c693a..1ee46f8 100644 --- a/dataGraphs/thematics/docs/graphs/map.json +++ b/dataGraphs/thematics/docs/graphs/map.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "Map", - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "name": "Name or title of the document", "description": "Description of the map to aid in searching", "url": "https://www.sample-data-repository.org/creativework/map.pdf", From 6a16891cd9cb14b30eca4f19b41c1bb192cc6189 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 2 Oct 2024 10:17:44 -0300 Subject: [PATCH 28/33] rename to camelCase --- dataGraphs/thematics/{Action => action}/graphs/Actions.json | 0 dataGraphs/thematics/{Claim => claim}/graphs/Claim.json | 0 .../{CreativeWork => creativeWork}/graphs/CreativeWork.json | 0 .../graphs/CreativeWorkTemplate.json | 0 dataGraphs/thematics/{Demand => demand}/graphs/Demand.json | 0 .../thematics/{Demand => demand}/graphs/Demand_minimum.json | 0 .../graphs/DigitalDocument.json | 0 dataGraphs/thematics/{HowTo => howTo}/graphs/HowTo.json | 0 .../{ImageObject => imageObject}/graphs/ImageObject.json | 0 .../{MediaObject => mediaObject}/graphs/MediaObject.json | 0 dataGraphs/thematics/{Offer => offer}/graphs/Offer.json | 0 dataGraphs/thematics/{Offer => offer}/graphs/Offer_minimum.json | 0 dataGraphs/thematics/{Product => product}/graphs/product.json | 0 dataGraphs/thematics/{Taxon => taxon}/graphs/Taxon.json | 0 dataGraphs/thematics/{Thing => thing}/graphs/Thing.json | 0 15 files changed, 0 insertions(+), 0 deletions(-) rename dataGraphs/thematics/{Action => action}/graphs/Actions.json (100%) rename dataGraphs/thematics/{Claim => claim}/graphs/Claim.json (100%) rename dataGraphs/thematics/{CreativeWork => creativeWork}/graphs/CreativeWork.json (100%) rename dataGraphs/thematics/{CreativeWork => creativeWork}/graphs/CreativeWorkTemplate.json (100%) rename dataGraphs/thematics/{Demand => demand}/graphs/Demand.json (100%) rename dataGraphs/thematics/{Demand => demand}/graphs/Demand_minimum.json (100%) rename dataGraphs/thematics/{DigitalDocument => digitalDocument}/graphs/DigitalDocument.json (100%) rename dataGraphs/thematics/{HowTo => howTo}/graphs/HowTo.json (100%) rename dataGraphs/thematics/{ImageObject => imageObject}/graphs/ImageObject.json (100%) rename dataGraphs/thematics/{MediaObject => mediaObject}/graphs/MediaObject.json (100%) rename dataGraphs/thematics/{Offer => offer}/graphs/Offer.json (100%) rename dataGraphs/thematics/{Offer => offer}/graphs/Offer_minimum.json (100%) rename dataGraphs/thematics/{Product => product}/graphs/product.json (100%) rename dataGraphs/thematics/{Taxon => taxon}/graphs/Taxon.json (100%) rename dataGraphs/thematics/{Thing => thing}/graphs/Thing.json (100%) diff --git a/dataGraphs/thematics/Action/graphs/Actions.json b/dataGraphs/thematics/action/graphs/Actions.json similarity index 100% rename from dataGraphs/thematics/Action/graphs/Actions.json rename to dataGraphs/thematics/action/graphs/Actions.json diff --git a/dataGraphs/thematics/Claim/graphs/Claim.json b/dataGraphs/thematics/claim/graphs/Claim.json similarity index 100% rename from dataGraphs/thematics/Claim/graphs/Claim.json rename to dataGraphs/thematics/claim/graphs/Claim.json diff --git a/dataGraphs/thematics/CreativeWork/graphs/CreativeWork.json b/dataGraphs/thematics/creativeWork/graphs/CreativeWork.json similarity index 100% rename from dataGraphs/thematics/CreativeWork/graphs/CreativeWork.json rename to dataGraphs/thematics/creativeWork/graphs/CreativeWork.json diff --git a/dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json b/dataGraphs/thematics/creativeWork/graphs/CreativeWorkTemplate.json similarity index 100% rename from dataGraphs/thematics/CreativeWork/graphs/CreativeWorkTemplate.json rename to dataGraphs/thematics/creativeWork/graphs/CreativeWorkTemplate.json diff --git a/dataGraphs/thematics/Demand/graphs/Demand.json b/dataGraphs/thematics/demand/graphs/Demand.json similarity index 100% rename from dataGraphs/thematics/Demand/graphs/Demand.json rename to dataGraphs/thematics/demand/graphs/Demand.json diff --git a/dataGraphs/thematics/Demand/graphs/Demand_minimum.json b/dataGraphs/thematics/demand/graphs/Demand_minimum.json similarity index 100% rename from dataGraphs/thematics/Demand/graphs/Demand_minimum.json rename to dataGraphs/thematics/demand/graphs/Demand_minimum.json diff --git a/dataGraphs/thematics/DigitalDocument/graphs/DigitalDocument.json b/dataGraphs/thematics/digitalDocument/graphs/DigitalDocument.json similarity index 100% rename from dataGraphs/thematics/DigitalDocument/graphs/DigitalDocument.json rename to dataGraphs/thematics/digitalDocument/graphs/DigitalDocument.json diff --git a/dataGraphs/thematics/HowTo/graphs/HowTo.json b/dataGraphs/thematics/howTo/graphs/HowTo.json similarity index 100% rename from dataGraphs/thematics/HowTo/graphs/HowTo.json rename to dataGraphs/thematics/howTo/graphs/HowTo.json diff --git a/dataGraphs/thematics/ImageObject/graphs/ImageObject.json b/dataGraphs/thematics/imageObject/graphs/ImageObject.json similarity index 100% rename from dataGraphs/thematics/ImageObject/graphs/ImageObject.json rename to dataGraphs/thematics/imageObject/graphs/ImageObject.json diff --git a/dataGraphs/thematics/MediaObject/graphs/MediaObject.json b/dataGraphs/thematics/mediaObject/graphs/MediaObject.json similarity index 100% rename from dataGraphs/thematics/MediaObject/graphs/MediaObject.json rename to dataGraphs/thematics/mediaObject/graphs/MediaObject.json diff --git a/dataGraphs/thematics/Offer/graphs/Offer.json b/dataGraphs/thematics/offer/graphs/Offer.json similarity index 100% rename from dataGraphs/thematics/Offer/graphs/Offer.json rename to dataGraphs/thematics/offer/graphs/Offer.json diff --git a/dataGraphs/thematics/Offer/graphs/Offer_minimum.json b/dataGraphs/thematics/offer/graphs/Offer_minimum.json similarity index 100% rename from dataGraphs/thematics/Offer/graphs/Offer_minimum.json rename to dataGraphs/thematics/offer/graphs/Offer_minimum.json diff --git a/dataGraphs/thematics/Product/graphs/product.json b/dataGraphs/thematics/product/graphs/product.json similarity index 100% rename from dataGraphs/thematics/Product/graphs/product.json rename to dataGraphs/thematics/product/graphs/product.json diff --git a/dataGraphs/thematics/Taxon/graphs/Taxon.json b/dataGraphs/thematics/taxon/graphs/Taxon.json similarity index 100% rename from dataGraphs/thematics/Taxon/graphs/Taxon.json rename to dataGraphs/thematics/taxon/graphs/Taxon.json diff --git a/dataGraphs/thematics/Thing/graphs/Thing.json b/dataGraphs/thematics/thing/graphs/Thing.json similarity index 100% rename from dataGraphs/thematics/Thing/graphs/Thing.json rename to dataGraphs/thematics/thing/graphs/Thing.json From f8e2cd2d5a1cb547bb7026bbc9293b1cfaa848e5 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 2 Oct 2024 10:30:19 -0300 Subject: [PATCH 29/33] rename to camelCase --- dataGraphs/thematics/action/graphs/{Actions.json => actions.json} | 0 dataGraphs/thematics/claim/graphs/{Claim.json => claim.json} | 0 .../creativeWork/graphs/{CreativeWork.json => creativeWork.json} | 0 .../{CreativeWorkTemplate.json => creativeWorkTemplate.json} | 0 .../thematics/dataset/graphs/{Dataset.json => dataset.json} | 0 dataGraphs/thematics/demand/graphs/{Demand.json => demand.json} | 0 .../demand/graphs/{Demand_minimum.json => demand_minimum.json} | 0 .../graphs/{DigitalDocument.json => digitalDocument.json} | 0 .../thematics/docs/graphs/{adminarea.json => adminArea.json} | 0 .../docs/graphs/{creativework.json => creativeWork.json} | 0 dataGraphs/thematics/events/graphs/{Event.json => event.json} | 0 .../events/graphs/{EventSeries.json => eventSeries.json} | 0 dataGraphs/thematics/howTo/graphs/{HowTo.json => howTo.json} | 0 .../identifier/graphs/{creativework.json => creativeWork.json} | 0 .../imageObject/graphs/{ImageObject.json => imageObject.json} | 0 .../mediaObject/graphs/{MediaObject.json => mediaObject.json} | 0 dataGraphs/thematics/offer/graphs/{Offer.json => offer.json} | 0 .../offer/graphs/{Offer_minimum.json => offer_minimum.json} | 0 .../provenance/graphs/{creativework.json => creativeWork.json} | 0 .../thematics/sdg/graphs/{creativework.json => creativeWork.json} | 0 dataGraphs/thematics/taxon/graphs/{Taxon.json => taxon.json} | 0 dataGraphs/thematics/thing/graphs/{Thing.json => thing.json} | 0 22 files changed, 0 insertions(+), 0 deletions(-) rename dataGraphs/thematics/action/graphs/{Actions.json => actions.json} (100%) rename dataGraphs/thematics/claim/graphs/{Claim.json => claim.json} (100%) rename dataGraphs/thematics/creativeWork/graphs/{CreativeWork.json => creativeWork.json} (100%) rename dataGraphs/thematics/creativeWork/graphs/{CreativeWorkTemplate.json => creativeWorkTemplate.json} (100%) rename dataGraphs/thematics/dataset/graphs/{Dataset.json => dataset.json} (100%) rename dataGraphs/thematics/demand/graphs/{Demand.json => demand.json} (100%) rename dataGraphs/thematics/demand/graphs/{Demand_minimum.json => demand_minimum.json} (100%) rename dataGraphs/thematics/digitalDocument/graphs/{DigitalDocument.json => digitalDocument.json} (100%) rename dataGraphs/thematics/docs/graphs/{adminarea.json => adminArea.json} (100%) rename dataGraphs/thematics/docs/graphs/{creativework.json => creativeWork.json} (100%) rename dataGraphs/thematics/events/graphs/{Event.json => event.json} (100%) rename dataGraphs/thematics/events/graphs/{EventSeries.json => eventSeries.json} (100%) rename dataGraphs/thematics/howTo/graphs/{HowTo.json => howTo.json} (100%) rename dataGraphs/thematics/identifier/graphs/{creativework.json => creativeWork.json} (100%) rename dataGraphs/thematics/imageObject/graphs/{ImageObject.json => imageObject.json} (100%) rename dataGraphs/thematics/mediaObject/graphs/{MediaObject.json => mediaObject.json} (100%) rename dataGraphs/thematics/offer/graphs/{Offer.json => offer.json} (100%) rename dataGraphs/thematics/offer/graphs/{Offer_minimum.json => offer_minimum.json} (100%) rename dataGraphs/thematics/provenance/graphs/{creativework.json => creativeWork.json} (100%) rename dataGraphs/thematics/sdg/graphs/{creativework.json => creativeWork.json} (100%) rename dataGraphs/thematics/taxon/graphs/{Taxon.json => taxon.json} (100%) rename dataGraphs/thematics/thing/graphs/{Thing.json => thing.json} (100%) diff --git a/dataGraphs/thematics/action/graphs/Actions.json b/dataGraphs/thematics/action/graphs/actions.json similarity index 100% rename from dataGraphs/thematics/action/graphs/Actions.json rename to dataGraphs/thematics/action/graphs/actions.json diff --git a/dataGraphs/thematics/claim/graphs/Claim.json b/dataGraphs/thematics/claim/graphs/claim.json similarity index 100% rename from dataGraphs/thematics/claim/graphs/Claim.json rename to dataGraphs/thematics/claim/graphs/claim.json diff --git a/dataGraphs/thematics/creativeWork/graphs/CreativeWork.json b/dataGraphs/thematics/creativeWork/graphs/creativeWork.json similarity index 100% rename from dataGraphs/thematics/creativeWork/graphs/CreativeWork.json rename to dataGraphs/thematics/creativeWork/graphs/creativeWork.json diff --git a/dataGraphs/thematics/creativeWork/graphs/CreativeWorkTemplate.json b/dataGraphs/thematics/creativeWork/graphs/creativeWorkTemplate.json similarity index 100% rename from dataGraphs/thematics/creativeWork/graphs/CreativeWorkTemplate.json rename to dataGraphs/thematics/creativeWork/graphs/creativeWorkTemplate.json diff --git a/dataGraphs/thematics/dataset/graphs/Dataset.json b/dataGraphs/thematics/dataset/graphs/dataset.json similarity index 100% rename from dataGraphs/thematics/dataset/graphs/Dataset.json rename to dataGraphs/thematics/dataset/graphs/dataset.json diff --git a/dataGraphs/thematics/demand/graphs/Demand.json b/dataGraphs/thematics/demand/graphs/demand.json similarity index 100% rename from dataGraphs/thematics/demand/graphs/Demand.json rename to dataGraphs/thematics/demand/graphs/demand.json diff --git a/dataGraphs/thematics/demand/graphs/Demand_minimum.json b/dataGraphs/thematics/demand/graphs/demand_minimum.json similarity index 100% rename from dataGraphs/thematics/demand/graphs/Demand_minimum.json rename to dataGraphs/thematics/demand/graphs/demand_minimum.json diff --git a/dataGraphs/thematics/digitalDocument/graphs/DigitalDocument.json b/dataGraphs/thematics/digitalDocument/graphs/digitalDocument.json similarity index 100% rename from dataGraphs/thematics/digitalDocument/graphs/DigitalDocument.json rename to dataGraphs/thematics/digitalDocument/graphs/digitalDocument.json diff --git a/dataGraphs/thematics/docs/graphs/adminarea.json b/dataGraphs/thematics/docs/graphs/adminArea.json similarity index 100% rename from dataGraphs/thematics/docs/graphs/adminarea.json rename to dataGraphs/thematics/docs/graphs/adminArea.json diff --git a/dataGraphs/thematics/docs/graphs/creativework.json b/dataGraphs/thematics/docs/graphs/creativeWork.json similarity index 100% rename from dataGraphs/thematics/docs/graphs/creativework.json rename to dataGraphs/thematics/docs/graphs/creativeWork.json diff --git a/dataGraphs/thematics/events/graphs/Event.json b/dataGraphs/thematics/events/graphs/event.json similarity index 100% rename from dataGraphs/thematics/events/graphs/Event.json rename to dataGraphs/thematics/events/graphs/event.json diff --git a/dataGraphs/thematics/events/graphs/EventSeries.json b/dataGraphs/thematics/events/graphs/eventSeries.json similarity index 100% rename from dataGraphs/thematics/events/graphs/EventSeries.json rename to dataGraphs/thematics/events/graphs/eventSeries.json diff --git a/dataGraphs/thematics/howTo/graphs/HowTo.json b/dataGraphs/thematics/howTo/graphs/howTo.json similarity index 100% rename from dataGraphs/thematics/howTo/graphs/HowTo.json rename to dataGraphs/thematics/howTo/graphs/howTo.json diff --git a/dataGraphs/thematics/identifier/graphs/creativework.json b/dataGraphs/thematics/identifier/graphs/creativeWork.json similarity index 100% rename from dataGraphs/thematics/identifier/graphs/creativework.json rename to dataGraphs/thematics/identifier/graphs/creativeWork.json diff --git a/dataGraphs/thematics/imageObject/graphs/ImageObject.json b/dataGraphs/thematics/imageObject/graphs/imageObject.json similarity index 100% rename from dataGraphs/thematics/imageObject/graphs/ImageObject.json rename to dataGraphs/thematics/imageObject/graphs/imageObject.json diff --git a/dataGraphs/thematics/mediaObject/graphs/MediaObject.json b/dataGraphs/thematics/mediaObject/graphs/mediaObject.json similarity index 100% rename from dataGraphs/thematics/mediaObject/graphs/MediaObject.json rename to dataGraphs/thematics/mediaObject/graphs/mediaObject.json diff --git a/dataGraphs/thematics/offer/graphs/Offer.json b/dataGraphs/thematics/offer/graphs/offer.json similarity index 100% rename from dataGraphs/thematics/offer/graphs/Offer.json rename to dataGraphs/thematics/offer/graphs/offer.json diff --git a/dataGraphs/thematics/offer/graphs/Offer_minimum.json b/dataGraphs/thematics/offer/graphs/offer_minimum.json similarity index 100% rename from dataGraphs/thematics/offer/graphs/Offer_minimum.json rename to dataGraphs/thematics/offer/graphs/offer_minimum.json diff --git a/dataGraphs/thematics/provenance/graphs/creativework.json b/dataGraphs/thematics/provenance/graphs/creativeWork.json similarity index 100% rename from dataGraphs/thematics/provenance/graphs/creativework.json rename to dataGraphs/thematics/provenance/graphs/creativeWork.json diff --git a/dataGraphs/thematics/sdg/graphs/creativework.json b/dataGraphs/thematics/sdg/graphs/creativeWork.json similarity index 100% rename from dataGraphs/thematics/sdg/graphs/creativework.json rename to dataGraphs/thematics/sdg/graphs/creativeWork.json diff --git a/dataGraphs/thematics/taxon/graphs/Taxon.json b/dataGraphs/thematics/taxon/graphs/taxon.json similarity index 100% rename from dataGraphs/thematics/taxon/graphs/Taxon.json rename to dataGraphs/thematics/taxon/graphs/taxon.json diff --git a/dataGraphs/thematics/thing/graphs/Thing.json b/dataGraphs/thematics/thing/graphs/thing.json similarity index 100% rename from dataGraphs/thematics/thing/graphs/Thing.json rename to dataGraphs/thematics/thing/graphs/thing.json From 84a4a9b260ae3171ce83e833676cbb015d8e729d Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 9 Oct 2024 09:26:44 -0300 Subject: [PATCH 30/33] update ODISCat template --- .../expinst/graphs/odisCatOrganization-example.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json b/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json index eea168e..b3496b9 100644 --- a/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json +++ b/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json @@ -14,8 +14,8 @@ "@type": "WebAPI", "audience": "The Ocean Data and Information System (ODIS) Federation and all users", "name": "ODIS endpoint", - "description": "This field contains the URL which connects this ODISCat entry to the Ocean Data and Information System (ODIS). For more information, see: https://book.oceaninfohub.org/", - "documentation": "https://book.oceaninfohub.org/", + "description": "This field contains the URL which connects this ODISCat entry to the Ocean Data and Information System (ODIS). For more information, see: https://book.odis.org/", + "documentation": "https://book.odis.org/", "serviceType": "sitemap or sitegraph", "url": "www.url-to-odis-endpoint.org" }, @@ -51,11 +51,11 @@ "@type": "Organization", "identifier": "https://oceanexpert.org/org/1", "name": "Organization A", - "description": "This Organization is a member of Organization A" + "description": "This Organization is a member of Organization A" }, { "@type": "Organization", - "identifier": "https://example.org/id/org/2", + "identifier": "https://example.org/id/org/2", "name": "Organization B", "description": "This Organization is a member of Organization B" } From b7e665f31855367dd724b8b9a1b3f385346d1fa6 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Wed, 9 Oct 2024 11:06:31 -0300 Subject: [PATCH 31/33] update ODISCat template --- .../expinst/graphs/odisCatOrganization-example.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json b/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json index b3496b9..d756ebf 100644 --- a/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json +++ b/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json @@ -11,13 +11,19 @@ "description": "The list of machine-to-machine interactions (e.g. APIs) that this ODISCat entry has reported.", "itemOffered": [ { - "@type": "WebAPI", + "@type": "CreativeWork", + "additionalType": "sitemap", + "additionalProperty": { + "@type": "PropertyValue", + "propertyID": "iode-approved", + "value": "true" + }, "audience": "The Ocean Data and Information System (ODIS) Federation and all users", "name": "ODIS endpoint", "description": "This field contains the URL which connects this ODISCat entry to the Ocean Data and Information System (ODIS). For more information, see: https://book.odis.org/", "documentation": "https://book.odis.org/", "serviceType": "sitemap or sitegraph", - "url": "www.url-to-odis-endpoint.org" + "url": "www.url-to-odis-endpoint-sitemap-or-sitegraph.org" }, { "@type": "WebAPI", From 138cbffd4e882b4521f797a5bd9d55f25df900e0 Mon Sep 17 00:00:00 2001 From: Pier Luigi Buttigieg Date: Thu, 10 Oct 2024 15:49:33 +0200 Subject: [PATCH 32/33] Update odisCatOrganization-example.json --- .../thematics/expinst/graphs/odisCatOrganization-example.json | 1 - 1 file changed, 1 deletion(-) diff --git a/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json b/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json index d756ebf..7e2cb6c 100644 --- a/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json +++ b/dataGraphs/thematics/expinst/graphs/odisCatOrganization-example.json @@ -22,7 +22,6 @@ "name": "ODIS endpoint", "description": "This field contains the URL which connects this ODISCat entry to the Ocean Data and Information System (ODIS). For more information, see: https://book.odis.org/", "documentation": "https://book.odis.org/", - "serviceType": "sitemap or sitegraph", "url": "www.url-to-odis-endpoint-sitemap-or-sitegraph.org" }, { From d6cb43c131d25f0ce9fe4f3881ea7132ebd53dab Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Mon, 14 Oct 2024 10:25:39 -0300 Subject: [PATCH 33/33] update @id --- dataGraphs/thematics/docs/graphs/creativeWork.json | 2 +- dataGraphs/thematics/expinst/graphs/person.json | 2 +- dataGraphs/thematics/identifier/graphs/creativeWork.json | 2 +- dataGraphs/thematics/identifier/graphs/id.json | 2 +- dataGraphs/thematics/projects/graphs/proj.json | 2 +- dataGraphs/thematics/sdg/graphs/creativeWork.json | 2 +- dataGraphs/thematics/sdg/graphs/doc.json | 2 +- dataGraphs/thematics/sdg/graphs/org.json | 2 +- dataGraphs/thematics/spatial/graphs/basic.json | 2 +- dataGraphs/thematics/spatial/graphs/sos.json | 2 +- dataGraphs/thematics/terms/graphs/map.json | 2 +- dataGraphs/thematics/training/graphs/course1.json | 2 +- dataGraphs/thematics/training/graphs/course2.json | 2 +- dataGraphs/thematics/vessels/graphs/ship.json | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/dataGraphs/thematics/docs/graphs/creativeWork.json b/dataGraphs/thematics/docs/graphs/creativeWork.json index 8082887..eca20d3 100644 --- a/dataGraphs/thematics/docs/graphs/creativeWork.json +++ b/dataGraphs/thematics/docs/graphs/creativeWork.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "CreativeWork", - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "name": "Name or title of the document", "description": "Description of the creative work to aid in searching", "url": "https://www.sample-data-repository.org/creativework/report.pdf", diff --git a/dataGraphs/thematics/expinst/graphs/person.json b/dataGraphs/thematics/expinst/graphs/person.json index d5b709a..198ca03 100644 --- a/dataGraphs/thematics/expinst/graphs/person.json +++ b/dataGraphs/thematics/expinst/graphs/person.json @@ -2,7 +2,7 @@ "@context": { "@vocab": "https://schema.org/" }, - "@id": "https://example.org/id/x", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "Person", "name": "Jane Doe", "jobTitle": "Professor", diff --git a/dataGraphs/thematics/identifier/graphs/creativeWork.json b/dataGraphs/thematics/identifier/graphs/creativeWork.json index 700ce74..54f1b74 100644 --- a/dataGraphs/thematics/identifier/graphs/creativeWork.json +++ b/dataGraphs/thematics/identifier/graphs/creativeWork.json @@ -2,7 +2,7 @@ "@context": { "@vocab": "https://schema.org/" }, - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "CreativeWork", "url": "https://example.org/url/of/the/item", "sameAs": "https://doi.org/10.5066/F7VX0DMQ", diff --git a/dataGraphs/thematics/identifier/graphs/id.json b/dataGraphs/thematics/identifier/graphs/id.json index 0dd883c..65e62c6 100644 --- a/dataGraphs/thematics/identifier/graphs/id.json +++ b/dataGraphs/thematics/identifier/graphs/id.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "Map", - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "name": "Name or title of the document", "description": "Description of the map to aid in searching", "url": "https://example.org/url/of/the/item", diff --git a/dataGraphs/thematics/projects/graphs/proj.json b/dataGraphs/thematics/projects/graphs/proj.json index 2116e8d..0e76e86 100644 --- a/dataGraphs/thematics/projects/graphs/proj.json +++ b/dataGraphs/thematics/projects/graphs/proj.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "ResearchProject", - "@id": "https://example.org/id/resproj/X", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "legalName": "Example Data Repository", "name": "ExDaRepo", "url": "https://www.example-data-repository.org", diff --git a/dataGraphs/thematics/sdg/graphs/creativeWork.json b/dataGraphs/thematics/sdg/graphs/creativeWork.json index 2296ca2..d5a22d9 100644 --- a/dataGraphs/thematics/sdg/graphs/creativeWork.json +++ b/dataGraphs/thematics/sdg/graphs/creativeWork.json @@ -2,7 +2,7 @@ "@context": { "@vocab": "https://schema.org/" }, - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "CreativeWork", "identifier": { "@id": "https://doi.org/10.5066/F7VX0DMQ", diff --git a/dataGraphs/thematics/sdg/graphs/doc.json b/dataGraphs/thematics/sdg/graphs/doc.json index f1fcf6e..11996e2 100644 --- a/dataGraphs/thematics/sdg/graphs/doc.json +++ b/dataGraphs/thematics/sdg/graphs/doc.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "CreativeWork", - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "name": "Name or title of the document", "description": "Description of the resource to aid in searching", "distribution": { diff --git a/dataGraphs/thematics/sdg/graphs/org.json b/dataGraphs/thematics/sdg/graphs/org.json index 3fe1ab9..0299dd6 100644 --- a/dataGraphs/thematics/sdg/graphs/org.json +++ b/dataGraphs/thematics/sdg/graphs/org.json @@ -2,7 +2,7 @@ "@context": { "@vocab": "https://schema.org/" }, - "@id": "https://example.org/id/org/x", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "Organization", "address": { "@type": "PostalAddress", diff --git a/dataGraphs/thematics/spatial/graphs/basic.json b/dataGraphs/thematics/spatial/graphs/basic.json index 13c88fb..72c865d 100644 --- a/dataGraphs/thematics/spatial/graphs/basic.json +++ b/dataGraphs/thematics/spatial/graphs/basic.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/", "geosparql": "http://www.opengis.net/ont/geosparql#" }, - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "Dataset", "name": "Data set name", "geosparql:hasGeometry": { diff --git a/dataGraphs/thematics/spatial/graphs/sos.json b/dataGraphs/thematics/spatial/graphs/sos.json index 534c683..4ebd246 100644 --- a/dataGraphs/thematics/spatial/graphs/sos.json +++ b/dataGraphs/thematics/spatial/graphs/sos.json @@ -2,7 +2,7 @@ "@context": { "@vocab": "https://schema.org/" }, - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "Dataset", "name": "Data set name", "spatialCoverage": { diff --git a/dataGraphs/thematics/terms/graphs/map.json b/dataGraphs/thematics/terms/graphs/map.json index 6de64e8..63f2bbd 100644 --- a/dataGraphs/thematics/terms/graphs/map.json +++ b/dataGraphs/thematics/terms/graphs/map.json @@ -3,7 +3,7 @@ "@vocab": "https://schema.org/" }, "@type": "Map", - "@id": "https://example.org/id/XYZ", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "name": "Name or title of the document", "description": "Description of the map to aid in searching", "url": "https://www.sample-data-repository.org/creativework/map.pdf", diff --git a/dataGraphs/thematics/training/graphs/course1.json b/dataGraphs/thematics/training/graphs/course1.json index e1572fe..25f2493 100644 --- a/dataGraphs/thematics/training/graphs/course1.json +++ b/dataGraphs/thematics/training/graphs/course1.json @@ -8,7 +8,7 @@ "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } }, - "@id": "https://example.org/id/course/2", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "Course", "courseCode": "SD100", "name": "Structured Data", diff --git a/dataGraphs/thematics/training/graphs/course2.json b/dataGraphs/thematics/training/graphs/course2.json index 8e89664..179b32c 100644 --- a/dataGraphs/thematics/training/graphs/course2.json +++ b/dataGraphs/thematics/training/graphs/course2.json @@ -2,7 +2,7 @@ "@context": { "@vocab": "https://schema.org/" }, - "@id": "https://example.org/id/course/2", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "Course", "courseCode": "SD100", "name": "Structured Data", diff --git a/dataGraphs/thematics/vessels/graphs/ship.json b/dataGraphs/thematics/vessels/graphs/ship.json index 13e24d4..003ba3f 100644 --- a/dataGraphs/thematics/vessels/graphs/ship.json +++ b/dataGraphs/thematics/vessels/graphs/ship.json @@ -2,7 +2,7 @@ "@context": { "@vocab": "https://schema.org/" }, - "@id": "https://example.org/id/X", + "@id": "https://example.org/permanentUrlToThisJsonDoc", "@type": "Vehicle", "name": "JOIDES Resolution", "identifier": {