Class: OwlHasSelf
classDiagram
OwlRestriction <|-- OwlHasSelf
OwlHasSelf : filler
OwlHasSelf : id
OwlHasSelf : on_property
Usage
SELECT * FROM owl_has_self;
Inheritance
- Node
- BlankNode
- AnonymousExpression
- AnonymousClassExpression [ class_trait]
- OwlRestriction
- OwlHasSelf
- OwlRestriction
- AnonymousClassExpression [ class_trait]
- AnonymousExpression
- BlankNode
Slots
Name | Cardinality and Range | Description |
---|---|---|
on_property | 0..1 Node |
|
filler | 0..1 ClassNode |
This is Null for a self-restriction |
id | 1..1 NodeIdType |
An identifier for an element |
Usages
Comments
- sqlview>> SELECT onProperty.subject AS id, onProperty.object AS on_property, f.object AS filler FROM statements AS onProperty, statements AS f WHERE onProperty.predicate = 'owl:onProperty' AND onProperty.subject=f.subject AND f.predicate='owl:hasSelf' AND f.value='true'
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/semsql/owl
SQL View
This class has a SQL view definition:
sqlview>>
SELECT onProperty.subject AS id,
onProperty.object AS on_property,
f.object AS filler
FROM
statements AS onProperty,
statements AS f
WHERE
onProperty.predicate = 'owl:onProperty' AND
onProperty.subject=f.subject AND
f.predicate='owl:hasSelf' AND
f.value='true'
Mappings
Mapping Type | Mapped Value |
---|---|
self | ['semsql_owl:OwlHasSelf'] |
native | ['semsql_owl:OwlHasSelf'] |
LinkML Specification
Direct
name: owl_has_self
comments:
- "sqlview>>\n SELECT onProperty.subject AS id,\n onProperty.object AS\
\ on_property,\n f.object AS filler\n FROM\n statements\
\ AS onProperty,\n statements AS f\n WHERE\n onProperty.predicate\
\ = 'owl:onProperty' AND\n onProperty.subject=f.subject AND\n f.predicate='owl:hasSelf'\
\ AND\n f.value='true'"
from_schema: https://w3id.org/semsql/owl
aliases:
- self restriction
rank: 1000
is_a: owl_restriction
slot_usage:
filler:
name: filler
description: This is Null for a self-restriction
domain_of:
- owl_restriction
- owl_restriction
Induced
name: owl_has_self
comments:
- "sqlview>>\n SELECT onProperty.subject AS id,\n onProperty.object AS\
\ on_property,\n f.object AS filler\n FROM\n statements\
\ AS onProperty,\n statements AS f\n WHERE\n onProperty.predicate\
\ = 'owl:onProperty' AND\n onProperty.subject=f.subject AND\n f.predicate='owl:hasSelf'\
\ AND\n f.value='true'"
from_schema: https://w3id.org/semsql/owl
aliases:
- self restriction
rank: 1000
is_a: owl_restriction
slot_usage:
filler:
name: filler
description: This is Null for a self-restriction
domain_of:
- owl_restriction
- owl_restriction
attributes:
on_property:
name: on_property
from_schema: https://w3id.org/semsql/owl
rank: 1000
alias: on_property
owner: owl_has_self
domain_of:
- owl_restriction
range: node
filler:
name: filler
description: This is Null for a self-restriction
from_schema: https://w3id.org/semsql/owl
rank: 1000
alias: filler
owner: owl_has_self
domain_of:
- owl_restriction
- owl_restriction
range: class_node
id:
name: id
description: An identifier for an element. Note blank node ids are not unique
across databases
from_schema: https://w3id.org/semsql/rdf
rank: 1000
identifier: true
alias: id
owner: owl_has_self
domain_of:
- term_association
- owl_reified_axiom
- owl_axiom
- owl_axiom_annotation
- node
range: node id type