ADIRO Geometry Ontology
Metadata
- IRI
-
https://w3id.org/adiro/adiro_geometry - TTL source
- https://w3id.org/adiro/adiro_geometry.ttl
- Documentation
- https://w3id.org/adiro/ontologies/adiro_geometry/
- Title
ADIRO Geometry Ontology
- Publisher
Buro Happold
- Creator
Buro Happold - Machine Learning R&D
- Version Info
3.1.0
- Description
-
Bounding boxes + coordinate frames for AEC drawing extraction. Domain-neutral; provenance-bearing; GeoSPARQL-aligned.
Foundational, domain-neutral module for geometry. It records where something sits on a drawing page as a bounding box, read against an explicit coordinate frame. Each box carries its own provenance and confidence. It reuses GeoSPARQL, is imported by the drawing modules, and is shared across use cases.
Classes
Geometry c
| IRI |
http://www.opengis.net/ont/geosparql#Geometry
|
|---|---|
| Is Defined By | geo: |
| Description | Local typing stub for GeoSPARQL's Geometry class (authoritative definition at the rdfs:isDefinedBy IRI), declared here so reasoning stays offline. Used as the supertype of BoundingBox so an ADIRO box is recognised as a spatial shape; ADIRO adopts no GeoSPARQL CRS or spatial-query profile (deferred, GitHub issue #36). |
| In Domain Of | inCoordinateFrame op |
| Super Class Of | Bounding Box c |
Bounding Box c
| IRI |
https://w3id.org/adiro/adiro_geometry#BoundingBox
|
|---|---|
| Description | A rectangular region on a drawing page that locates something there, whether a model detected it or a person marked it - e.g. a title-block field's caption or value. Its coordinates are held as an xyxy string (bboxXYXY) and are meaningless without the CoordinateFrame it points at (inCoordinateFrame), which fixes the unit, coordinate space, origin, axes, page and exact PDF. A BoundingBox is itself an InferredEntity: it carries its own provenance (aprov:hasInferenceMeta - a detector, or a human annotator, told apart by aprov:inferredBy) and its own confidence (aprov:hasConfidence, the detector's score, absent for a hand-drawn box), which is DISTINCT from the confidence in a value read at that box. A subclass of GeoSPARQL geo:Geometry so it is recognised as a spatial shape. |
| Sub Class Of | |
| In Domain Of | bboxXYXY dp |
| In Range Of |
|
Coordinate Frame c
| IRI |
https://w3id.org/adiro/adiro_geometry#CoordinateFrame
|
|---|---|
| Description | A page of a file read in one coordinate convention: the named coordinate space, the unit and the profile that defines it (the datatype properties below), for the page it describes (describesPage). A page can have more than one frame (the primary page_display_pt in points, and px for raster evidence), and each states only its convention: what is true of the page itself (its number, file, rotation and size) is on the adiro_provenance:FilePage. Every image of the page that an extraction feeds to a model is a pixel frame of its own, with the resolution it was rendered or scaled to (resolutionDpi), and a crop is a frame limited to a region of the page (coversRegion), so a step that records the frame it used (prov:used) says what its model saw without the image being kept. Not an InferredEntity: a declared coordinate context, not a detection with its own confidence. |
| In Domain Of |
|
| In Range Of |
|
Object Properties
describesPage op
| IRI |
https://w3id.org/adiro/adiro_geometry#describesPage
|
|---|---|
| Description | The page (an aprov:FilePage) that this coordinate frame reads. The frames of a drawing are reached through its page: the path isOnPage / ^describesPage from the drawing, in adiro_drawing_metadata. |
| Domain | Coordinate Frame c |
| Range | aprov:FilePage |
inCoordinateFrame op
| IRI |
https://w3id.org/adiro/adiro_geometry#inCoordinateFrame
|
|---|---|
| Description | The CoordinateFrame that interprets this geometry's coordinates. Required for a geometry to mean anything: the same xyxy numbers denote different regions in different frames, so equal coordinates alone never establish that two geometries are the same region. |
| Domain | Geometry c |
| Range | Coordinate Frame c |
hasBoundingBox op
| IRI |
https://w3id.org/adiro/adiro_geometry#hasBoundingBox
|
|---|---|
| Description | The bounding box that locates a region on a drawing page. In UC-01 this is the title block's own region (a adiro_drawing_metadata:Titleblock, like every MetadataContainer, may have a hasBoundingBox): the field values are read from within that single region and are not themselves individually localised. No rdfs:domain is asserted, so the same property serves any locatable region or element - e.g. UC-03 reference symbols, when that work extends this module. |
| Range | Bounding Box c |
coversRegion op
| IRI |
https://w3id.org/adiro/adiro_geometry#coversRegion
|
|---|---|
| Description | The region of the page that this frame shows, when it shows only part of it (a crop): the BoundingBox, in another frame of the same page (usually page_display_pt), whose rectangle the frame's image holds. The frame's own coordinates start at the region's top-left corner. A frame that shows the whole page has no coversRegion. Between the region and the frame there is only a uniform scale, given by the frame's resolutionDpi, so a box found in the crop is placed on the page without a transform term. |
| Domain | Coordinate Frame c |
| Range | Bounding Box c |
imageOf op
| IRI |
https://w3id.org/adiro/adiro_geometry#imageOf
|
|---|---|
| Description | The coordinate frame that a kept image file shows: the rendering of a page, or a crop of it, as it was fed to a model, kept so a viewer can show it. The image is an aprov:DrawingFile with its contentHash and mediaType, and its pixels are the frame's coordinates. Only an image that is kept has a file: a frame a model saw is recorded whether or not its image is kept. |
| Domain | aprov:DrawingFile |
| Range | Coordinate Frame c |
Datatype Properties
bboxXYXY dp
| IRI |
https://w3id.org/adiro/adiro_geometry#bboxXYXY
|
|---|---|
| Description | The rectangle as a string "[xmin, ymin, xmax, ymax]" in the coordinate frame's convention (xmin/ymin the top-left corner, xmax/ymax the bottom-right, under page_display_pt). The xyxy ordering is aligned to the Croissant cr:BoundingBox 'XYXY' format token, so an ADIRO box can be mapped to Croissant/CV formats by an exporter - ADIRO stores a page-point xyxy string, whereas Croissant expects a four-number array with a format declaration (background: GitHub issue #91). Interpret only together with inCoordinateFrame. |
| Domain | Bounding Box c |
| Range | xsd:string |
coordinateSpace dp
| IRI |
https://w3id.org/adiro/adiro_geometry#coordinateSpace
|
|---|---|
| Description | The named coordinate convention that fixes the origin and axes. Primary: 'page_display_pt' - top-left origin, x rightwards, y downwards, in points. Native PDF user space and rendered-image pixels are different spaces and must be named as such; do not interchange the names. |
| Domain | Coordinate Frame c |
| Range | xsd:string |
unit dp
| IRI |
https://w3id.org/adiro/adiro_geometry#unit
|
|---|---|
| Description | The unit of the coordinate values: 'pt' for the primary page_display_pt space (1 pt = 1/72 inch), 'px' for raster/pixel evidence. Display-page coordinates in pt are independent of rendering DPI. |
| Domain | Coordinate Frame c |
| Range | xsd:string |
profileRef dp
| IRI |
https://w3id.org/adiro/adiro_geometry#profileRef
|
|---|---|
| Description | Reference to the versioned coordinate profile that defines the named coordinateSpace in full (origin, axes and unit), so the convention is pinned rather than only implied by the space's name. |
| Domain | Coordinate Frame c |
| Range | xsd:string |
resolutionDpi dp
| IRI |
https://w3id.org/adiro/adiro_geometry#resolutionDpi
|
|---|---|
| Description | The resolution of a pixel frame, in pixels per inch of the page. For a frame that shows the whole page, a page_display_pt coordinate times resolutionDpi / 72 gives the pixel; for a crop (coversRegion), the coordinate is first taken from the region's top-left corner: (coordinate - corner) times resolutionDpi / 72. For a page rendered at 300 dpi it is 300; for that image scaled down so that its shorter side is 1200 pixels, it is the resolution the scaling gives (a decimal, such as 42.35). A frame in points has none. |
| Domain | Coordinate Frame c |
| Range | xsd:decimal |
Namespaces
- :
-
https://w3id.org/adiro/adiro_geometry# - aprov
-
https://w3id.org/adiro/adiro_provenance# - dcterms
-
http://purl.org/dc/terms/ - geo
-
http://www.opengis.net/ont/geosparql# - ns1
-
https://w3id.org/adiro/ - owl
-
http://www.w3.org/2002/07/owl# - prov
-
http://www.w3.org/ns/prov# - rdf
-
http://www.w3.org/1999/02/22-rdf-syntax-ns# - rdfs
-
http://www.w3.org/2000/01/rdf-schema# - xsd
-
http://www.w3.org/2001/XMLSchema#
Legend
| c | Classes |
| op | Object Properties |
| dp | Datatype Properties |