opengeospatial / ogc-geosparql

Public Repository for the OGC GeoSPARQL Standards Working Group
78 stars 20 forks source link

Use Case ONTO5: Minimum and Maximum Height #558

Open ar-chad opened 2 months ago

ar-chad commented 2 months ago

Use Case ONTO5

Minimum and Maximum Height

As a GeoSPARQL data user I would like to assess if a given 2D or 3D geometry is of specified minimum or maximum height (Y extent). Examples: Total or clear height of doors and windows Roof height from street level to eaves Roof height from street level to the highest point on the roof

minHeight(geometry: ogc:geomLiteral, height: xsd:double): xsd:boolean

maxHeight(geometry: ogc:geomLiteral, height: xsd:double): xsd:boolean

Actor: GeoSPARQL data user (human or software agent querying RDF dataset with GeoSPARQL)

Preconditions

Features and Geometries with 2D or 3D representations are present in a dataset to be queried The 2D and 3D minimum and maximum height functions are discoverable

Postconditions

A SPARQL query can be executed that includes a function to assess if a 2D or 3D geometry provided as an argument is of minimum or maximum height specified by another integer argument The results of the query are known to be true or false in 2D and/or 3D

Steps

Actor: discovers minimum and maximum height functions implemented by the system Actor: executes a SPARQL query containing either minimum or maximum height function with 2D or 3D geometry argument and an integer argument. System: returns a SPARQL result with evaluated minimum or maximum height relationship