Box Model Ontology

IRI
http://fitlayout.github.io/ontology/render.owl#
Version
1.0.0
Creator(s)
Radek Burget

Description

FitLayout rendered document (box model) description ontology.

Table of Contents

  1. Classes
  2. Object properties
  3. Datatype properties
  4. Namespaces

Classes

Attribute

box:Attribute

An HTML attribute assigned to a box.

is in range of

Border

box:Border

is in domain of
is in range of

Bounds

box:Bounds

Rectangular bounds specified by its coordinates, width and height.

equivalent classes
is in domain of
is in range of

Box

box:Box

has super-classes
has subclasses
is in domain of
is in range of

ContainerBox

box:ContainerBox

equivalent classes
has super-classes
is in range of

ContentBox

box:ContentBox

equivalent classes
has super-classes

ContentObject

box:ContentObject

has subclasses
is in range of

Image

box:Image

has super-classes
is in domain of
is in range of

Page

box:Page

A tree of boxes representing a rendered page.

has super-classes
is in domain of
is in range of

RectArea

box:RectArea

A rectangular area in the page with bounds assigned.

has subclasses
is in domain of

Object Properties

belongsTo

box:belongsTo

Assigns an owning page to a box

has domain
has range

bounds

box:bounds

Assigns logical rectangular bounds to an area.

has domain
has range

containsObject

box:containsObject

has domain
has range

contentBounds

box:contentBounds

Assigns rectangular content bounds to a box. The content bounds correspond to the box border bounds as provided by the box source (renderer).

has domain
has range

hasAttribute

box:hasAttribute

has domain
has range

hasBackgroundImage

box:hasBackgroundImage

has domain
has range

hasBottomBorder

box:hasBottomBorder

has domain
has range

hasLeftBorder

box:hasLeftBorder

has domain
has range

hasRightBorder

box:hasRightBorder

has domain
has range

hasTopBorder

box:hasTopBorder

has domain
has range

isChildOf

box:isChildOf

has domain
has range

visualBounds

box:visualBounds

Assigns visual rectangular bounds to a box. Visual bounds correspond to the minimal rectangle that encloses visible contents inside the box.

has domain
has range

Datatype Properties

backgroundColor

box:backgroundColor

has domain
has range
  • xsd:string

backgroundSeparated

box:backgroundSeparated

Indicates whether the rectangle is separated from it parent rectangle by background color or image.

has domain
has range
  • xsd:boolean

borderColor

box:borderColor

has domain
has range
  • xsd:string

borderStyle

box:borderStyle

has domain
has range
  • xsd:string

borderWidth

box:borderWidth

has domain
has range
  • xsd:int

color

box:color

Foreground color (#rrggbb)

has domain
has range
  • xsd:string

contentLength

box:contentLength

The number of content elements used to compute the style statistics such as average font weight.

has domain
has range
  • xsd:int

displayType

box:displayType

The display type of a box that corresponds to the CSS 'display' property ('inline', 'block', etc.)

has domain
has range
  • xsd:string

documentOrder

box:documentOrder

The order of a rectangle within its page

has domain
has range
  • xsd:int

fontFamily

box:fontFamily

has domain
has range
  • xsd:string

fontSize

box:fontSize

has domain
has range
  • xsd:float

fontStyle

box:fontStyle

has domain
has range
  • xsd:float

fontVariant

box:fontVariant

has domain
has range
  • xsd:string

fontWeight

box:fontWeight

has domain
has range
  • xsd:float

height

box:height

Effective height of a rectangle.

has domain
has range
  • xsd:int

htmlTagName

box:htmlTagName

has domain
has range
  • xsd:string

imageData

box:imageData

has domain
has range
  • xsd:string

imageUrl

box:imageUrl

has domain
has range
  • xsd:string

lineThrough

box:lineThrough

has domain
has range
  • xsd:float

pngImage

box:pngImage

PNG image data representing the whole page (screen shot)

has domain
has range
  • xsd:string

positionX

box:positionX

Effective X coordinate of a rectangle.

has domain
has range
  • xsd:int

positionY

box:positionY

Effective Y coordinate of a rectangle.

has domain
has range
  • xsd:int

sourceUrl

box:sourceUrl

has domain
has range
  • xsd:string

sourceXPath

box:sourceXPath

An XPath expression identifying the source element of the box in the source document.

has domain
has range
  • xsd:string

text

box:text

has domain
has range
  • xsd:string

title

box:title

Page title

has domain
has range
  • xsd:string

underline

box:underline

has domain
has range
  • xsd:float

visible

box:visible

Defines the box visibility

has domain
has range
  • xsd:boolean

width

box:width

Effective width of a rectangle.

has domain
has range
  • xsd:int

Namespaces

box
http://fitlayout.github.io/ontology/render.owl#
dc
http://purl.org/dc/elements/1.1/
fl
http://fitlayout.github.io/ontology/fitlayout.owl#
map
http://fitlayout.github.io/ontology/mapping.owl#
owl
http://www.w3.org/2002/07/owl#
rdf
http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs
http://www.w3.org/2000/01/rdf-schema#
segm
http://fitlayout.github.io/ontology/segmentation.owl#
xsd
http://www.w3.org/2001/XMLSchema#