Skip to content

Latest commit

 

History

History
256 lines (217 loc) · 6.37 KB

04-model.adoc

File metadata and controls

256 lines (217 loc) · 6.37 KB

Model

This model is composed of Web Ontology Language (OWL) [OWL] Classes and Properties. Some of them are defined in this model and others are from other, well-known, ontologies and reused here. Each element indicates where it is defined using the Is Defined By predicate.

Classes

Compound Name

Property Value

IRI

:CompoundName

Preferred Label

Compound Name

Definition

A Compound Name is a literal value, or objects that can be interpreted as literal values, that describe or name a Feature

Is Defined By

This model

Expected Properties

is name for, has part

Example

# An example Compound Name that is an Address,
# constructed in the manner of Australian street addresses
# and typically rendered for letter sending as:
#
# 72 Yundah Street
# Shorncliffe, QLD, 4017
# Australia
#
PREFIX : <https://linked.data.gov.au/def/fl/>
PREFIX ex: <http://example.com/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sdo: <https://schema.org/>

ex:72-yundah
    a :CompoundName ;
    sdo:hasPart [
        sdo:additionalType ex:streetNumber ;
        rdf:value 72 ;
    ] ,
    [
        sdo:additionalType ex:streetName ;
        rdf:value "Yundah" ;
    ] ,
    [
        sdo:additionalType ex:streetType ;
        rdf:value ex:Street ;
    ] ,
    [
        sdo:additionalType ex:locality ;
        rdf:value ex:Shorncliffe ;
    ] ,
    [
        sdo:additionalType ex:state ;
        rdf:value ex:Queensland ;
    ] ,
    [
        sdo:additionalType ex:postCode ;
        rdf:value 4017 ;
    ] ,
    [
        sdo:additionalType ex:country ;
        rdf:value ex:Australia ;
    ] ;
.

# An example Compound Name that is a Geographical Name,
# for an island off the coast of Brisbane, Australia
# that may be rendered as either Moreton Island or perhaps
# Moreton Is.
#
ex:moreton
    a :CompoundName ;
    sdo:hasPart [
        sdo:additionalType ex:geographicalName ;
        rdf:value "Moreton" ;
    ] ,
    [
        sdo:additionalType ex:geographicalName ;
        rdf:value ex:Island ;
    ] ;
.

Resource

Property Value

IRI

rdfs:Resource

Preferred Label

Resource

Definition

The class resource, everything

Is Defined By

RDF 1.2 Schema

Scope Note

This class is used to represent both the things to which CompoundNames can be assigned and also the range value of the property rdf:value. It is not expected to be used directly but instead specialised types of Resource are expected

Example

See the non-literal values for rdf:value in the CompoundName example

Literal

Property Value

IRI

rdfs:Literal

Preferred Label

Literal

Definition

The class of literal values, eg. textual strings and integer

Is Defined By

RDF 1.2 Schema

Scope Note

This class is used to represent the range value of the property :asLiteral. It is not expected to be used directly but instead specialised types of Literal are expected

Example

See the literals values of '72' and 'Yundah' in the CompoundName example

Concept

Property Value

IRI

skos:Concept

Preferred Label

Concept

Definition

An idea or notion; a unit of thought

Is Defined By

SKOS Reference

Expected Properties

Standard SKOS properties for Concepts

Scope Note

This class is the type of the expected values for the property sdo:additionalType when used within this model. Concepts are typically controlled terms within ConceptSchemes. Literal representations of Concepts should easily be obtainable

Example

# See the example for CompoundName and add the following
#
PREFIX ex: <http://example.com/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

ex:Island
    a skos:Concept ;
    skos:inScheme ex:someConceptScheme ;
    skos:prefLabel "Island" ;
    skos:altLabel "Is." ;
.

Properties

is name for

Property Value

IRI

:isNameFor

Preferred Label

is name for

Definition

Inverse of sdo:name

Is Defined By

This Model

Inverse Of

name

Example

# Moreton Island is the Compound Name
# for a spatial object off the coast of Brisbane, Australia
#
PREFIX : <https://linked.data.gov.au/def/cn/>
PREFIX ex: <http://example.com/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX sdo: <https://schema.org/>

ex:moreton
    a :CompoundName ;
    :isNameFor ex:feature-x ;
.

ex:feature-x
    a geo:Feature ;
    sdo:name ex:moreton ;
.

name

Property Value

IRI

sdo:name

Preferred Label

name

Definition

The name of the item

Is Defined By

schema.org

Scope Note

In this model, name is used to indicate both a literal form of a resource`s name or a CompoundName object

Example

See example for is name for

has part

Property Value

IRI

sdo:hasPart

Preferred Label

has part

Definition

Indicates a Resource that is part of this item

Is Defined By

schema.org

Example

See the example for Compound Name

value

Property Value

IRI

rdf:value

Preferred Label

value

Definition

Idiomatic property used for structured values

Is Defined By

RDF 1.2 Schema

Example

See the example for Compound Name

Scope Note

Use this property to indicate the value of a CompoundName, whether it’s a literal or a complex object

additionalType

Property Value

IRI

sdo:additionalType

Preferred Label

additional type

Definition

An additional type for the item, typically used for adding more specific types from external vocabularies

Is Defined By

schema.org

Example

See the example for Compound Name

Scope Note

Use this property to indicate the specialised type of a part of a CompoundName