ASCIIDOC documentation created by pyLODE 2.9.2

IRI
Publisher(s)
  • None

Creators(s)
Contributor(s)
  • Santa Clause

Created
  • 2021-05-05

Modified

2019-10-21

Version Information

0.9

Version URI

https://example.com/0.9

License & Rights
Ontology RDF

RDF turtle

Description

This ontology contains several simple classes and properties about animals that are defined only to show off pyLODE’s ability to represent different forms of example rendering.

Classes

<li>Creature</li> <li>Fish</li> <li>Fish food</li> <li>Food</li>

Creature

Property Value

IRI

Description

A Creature is a living animal

Scope Notes

class with link example

Example(s)

Restrictions

Sub-classes

In domain of

Fish

Property Value

IRI

Description

Fish are aquatic, craniate, gill-bearing animals that lack limbs with digits. They form a sister group to the tunicates, together forming the olfactores. Included in this definition are the living hagfish, lampreys, and cartilaginous and bony fish as well as various extinct related groups. Around 99% of living fish species are ray-finned fish, belonging to the class Actinopterygii, with over 95% belonging to the teleost subgrouping.

Scope Notes

class with example in inline JSON-LD

Example(s)

{
  "@id": "https://example.com#flipper",
  "@type": "https://example.com#Fish",
  "http://www.w3.org/2004/02/skos/core#definition": "Flipper is the fish that lives in Nick's fish tank",
  "http://www.w3.org/2004/02/skos/core#prefLabel": "Flipper the Fish",
  "https://example.com#hasScaleColour": {
    "@id": "http://example-voc.com/concept/Orange"
  },
  "https://example.com#livesInFreshWater": true,
  "https://example.com#livesInSaltWater": false
}

 

Super-classes

Restrictions

In domain of

Fish food

Property Value

IRI

Description

Fish food is food primarily eaten by fish. It may also be eaten by other Creatures too

Scope Notes

class with a local image example

Example(s)

fish food

 

Super-classes

Food

Property Value

IRI

Description

Food is consumed by Creatures to give them energy

Scope Notes

class with an external URI example

Example(s)

Sub-classes

In range of

Properties

Object Properties

eats

Property Value

IRI

Description

A creature eats a kind of food

Scope Notes

property with two Resource Descriptor example in same file, conforms to this ontology and something else (http://other.com)

Example(s)

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
   xmlns="https://example.com"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
  <rdf:Description rdf:about="file:///Users/nick/Work/rdflib/pyLODE/pylode/examples/examples-ont/y2">
    <rdf:type rdf:resource="https://example.comFood"/>
  </rdf:Description>
  <rdf:Description rdf:about="file:///Users/nick/Work/rdflib/pyLODE/pylode/examples/examples-ont/x2">
    <rdf:type rdf:resource="https://example.comCreature"/>
    <eats rdf:resource="file:///Users/nick/Work/rdflib/pyLODE/pylode/examples/examples-ont/y2"/>
  </rdf:Description>
</rdf:RDF>

Conforms to: https://other.com

<x> a :Creature ;
    :eats <y> ;
.
<y> a :Food .

Conforms to: https://example.com

Range(s)

has scale colour

Property Value

IRI

Description

A colour of the fish’s scales. Can have multiple colours.

Scope Notes

property with example in inline HTML

Example(s)

scale colour:

  • blue
  • orange
  • white
 

Range(s)

Datatype Properties

born or hatched date

Property Value

IRI

Description

The Gregorian calendar date on which this Creature was born or hatched

Scope Notes

property with example in inline XML

Example(s)

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
   xmlns="https://example.com#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
  <rdf:Description rdf:about="https://example.com#flipper">
    <rdf:type rdf:resource="https://example.com#Fish"/>
    <bornOrHatchedDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2020-05-11</bornOrHatchedDate>
  </rdf:Description>
</rdf:RDF>

Domain(s)

Range(s)

lives in estuarine water

Property Value

IRI

Description

True if the fish lives in estuarine water. It may also live in other water

Scope Notes

property with example using Resource Descriptor for inline Markdown

Example(s)

lives in estuarine water: true

 

Domain(s)

Range(s)

lives in fresh water

Property Value

IRI

Description

True if the fish lives in fresh water. It may also live in other water

Scope Notes

property with example in inline RDF

Example(s)

<x> a eg:Fish ;
    skos:prefLabel "Fish X"@en ;
    eg:livesInFreshWater true ;
    ...
.

Domain(s)

Range(s)

lives in salt water

Property Value

IRI

Description

True if the fish lives in salt water. It may also live in other water

Scope Notes

property with an remote-hosted image example

Example(s)

toothy

Domain(s)

Range(s)

Named Individuals

Namespaces

Legend

  • Classes: c

  • Object Properties: op

  • Functional Properties: fp

  • Data Properties: dp

  • Annotation Properties: dp

  • Properties: p

  • Named Individuals: ni