https://example.com
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.
URI | https://example.com#Creature |
---|---|
Description |
A Creature is a living animal |
Scope Notes |
class with link example |
Example(s) |
https://example.com/individuals/creature-x |
Restrictions |
born or hatched datedp exactly 1 |
Sub-classes |
Fishc |
In domain of |
born or hatched datedp |
URI | https://example.com#Fish |
---|---|
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 |
Creaturec |
Restrictions |
lives in salt waterdp exactly 1 lives in estuarine waterdp exactly 1 lives in fresh waterdp exactly 1 eatsop min 1 |
In domain of |
lives in fresh waterdp lives in salt waterdp lives in estuarine waterdp |
URI | https://example.com#FishFood |
---|---|
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) |
![]() |
Super-classes |
Foodc |
URI | https://example.com#Food |
---|---|
Description |
Food is consumed by Creatures to give them energy |
Scope Notes |
class with an external URI example |
Example(s) |
http://fake.com/thing/food-x |
Sub-classes |
Fish foodc |
In range of |
eatsop |
URI | https://example.com#eats |
---|---|
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 |
Range(s) | Foodc |
URI | https://example.com#hasScaleColour |
---|---|
Description |
A colour of the fish's scales. Can have multiple colours. |
Scope Notes |
property with example in inline HTML |
Example(s) |
scale colour:
|
Range(s) | skos:Conceptc |
URI | https://example.com#bornOrHatchedDate |
---|---|
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) | Creaturec |
Range(s) | xsd:datec |
URI | https://example.com#livesInEstuarineWater |
---|---|
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) | Fishc |
Range(s) | xsd:booleanc |
URI | https://example.com#livesInFreshWater |
---|---|
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 eggs:Fish ; skos:prefLabel "Fish X"@en ; eggs:livesInFreshWater true ; ... . |
Domain(s) | Fishc |
Range(s) | xsd:booleanc |
URI | https://example.com#livesInSaltWater |
---|---|
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) |
![]() |
Domain(s) | Fishc |
Range(s) | xsd:booleanc |
https://example.com#
http://purl.org/dc/terms/
http://orcid.org/
http://www.w3.org/2002/07/owl#
http://www.w3.org/ns/dx/prof/
http://www.w3.org/ns/prov#
http://www.w3.org/1999/02/22-rdf-syntax-ns#
http://www.w3.org/2000/01/rdf-schema#
https://schema.org/
http://www.w3.org/2004/02/skos/core#
http://purl.org/vocab/vann/
http://www.w3.org/2001/XMLSchema#
c | Classes |
op | Object Properties |
fp | Functional Properties |
dp | Data Properties |
dp | Annotation Properties |
p | Properties |
ni | Named Individuals |