This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from urllib.request import urlopen | |
from rdflib import Graph | |
import pyshacl | |
# See https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.features.observation/semantic-uplift | |
register_url = 'https://opengeospatial.github.io/ogcapi-sosa/build/register.json' | |
bblock_id = 'ogc.sosa.features.observation' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$defs: | |
inner: | |
type: object | |
properties: | |
content: | |
$ref: 'schema2.yaml' | |
type: object | |
properties: | |
id: | |
type: string |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
term,label,definition | |
http://www.opengis.net/ont/geosparql#geoJSONLiteral,GeoJSON Literal,A GeoJSON serialization of a Geometry object. | |
http://www.opengis.net/ont/geosparql#hasGeometry,hasGeometry,A spatial representation for a given feature. | |
http://www.opengis.net/ont/geosparql#asGeoJSON,as GeoJSON,The GeoJSON serialization of a Geometry. | |
http://www.opengis.net/ont/geosparql#SpatialObjectCollection,Spatial Object Collection,A collection of individual Spatial Objects. | |
http://www.opengis.net/ont/geosparql#FeatureCollection,Feature Collection,A collection of individual Features. | |
http://www.opengis.net/ont/geosparql#Feature,Feature,"This class represents the top-level feature type. This class is | |
equivalent to GFI_Feature defined in ISO 19156:2011, and it is | |
superclass of all feature types." | |
http://www.opengis.net/ont/geosparql#Geometry,Geometry,"The class represents the top-level geometry type. This class is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"type": "@type", | |
"domainType": { | |
"@id": "covjson:domainType", | |
"@type": "@vocab" | |
}, | |
"axes": { | |
"@context": { | |
"coordinates": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.3 | |
info: | |
title: 'OGC API - Connected Systems - Part 1: Feature Resources' | |
version: 0.0.1 | |
description: "Example OpenAPI specification for part 1 of [OGC API - Connected Systems](https://github.com/opengeospatial/connected_systems). | |
\ \nThis Standard also conforms to [OGC API - Features](https://ogcapi.ogc.org/features/)." | |
contact: | |
name: OGC API Support | |
url: https://www.ogc.org/contact | |
email: info@ogc.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.3 | |
info: | |
title: 'OGC API - Connected Systems - Part 1: Feature Resources' | |
version: 0.0.1 | |
description: "Example OpenAPI specification for part 1 of [OGC API - Connected Systems](https://github.com/opengeospatial/connected_systems). | |
\ \nThis Standard also conforms to [OGC API - Features](https://ogcapi.ogc.org/features/)." | |
contact: | |
name: OGC API Support | |
url: https://www.ogc.org/contact | |
email: info@ogc.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"x-defs": { | |
"ogc.ogc-utils.iri-or-curie": { | |
"description": "IRI or CURIE", | |
"$defs": { | |
"IRI": { | |
"type": "string", | |
"pattern": "^\\w+:/*([^:<>{}|\\\\^`\"\\s/]+[^<>{}|\\\\^`\"\\s]*(:[^:<>{}|\\\\^`\"\\s]+)?)?$" | |
}, | |
"CURIE": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# technicalStatusValue schema | |
properties: | |
# La propiedad está definida en el schema | |
technicalStatus: | |
oneOf: | |
- const: edgeMatched | |
description: X | |
- const: notEdgeMatched | |
description: Y | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"a": "http://www.google.es", | |
"b": 99 | |
} |
NewerOlder