Class: OwlAxiomAnnotation
URI: semsql_owl:OwlAxiomAnnotation
classDiagram
Statements <|-- OwlAxiomAnnotation
OwlAxiomAnnotation : annotation_datatype
OwlAxiomAnnotation : annotation_language
OwlAxiomAnnotation : annotation_object
OwlAxiomAnnotation : annotation_predicate
OwlAxiomAnnotation : annotation_subject
OwlAxiomAnnotation : annotation_value
OwlAxiomAnnotation : datatype
OwlAxiomAnnotation : id
OwlAxiomAnnotation : language
OwlAxiomAnnotation : object
OwlAxiomAnnotation : predicate
OwlAxiomAnnotation : stanza
OwlAxiomAnnotation : subject
OwlAxiomAnnotation : value
Usage
SELECT * FROM owl_axiom_annotation;
Inheritance
- Statements
- OwlAxiomAnnotation
Slots
Name | Cardinality and Range | Description |
---|---|---|
annotation_subject | 0..1 Node |
|
annotation_predicate | 0..1 PropertyNode |
|
annotation_object | 0..1 Node |
|
annotation_value | 0..1 LiteralAsStringType |
|
annotation_language | 0..1 xsd:string |
|
annotation_datatype | 0..1 xsd:string |
|
id | 1..1 NodeIdType |
An identifier for an element |
stanza | 0..1 Node |
the term which this statement is about |
subject | 0..1 Node |
The subject of the statement |
predicate | 0..1 PropertyNode |
The predicate of the statement |
object | 0..1 Node |
Note the range of this slot is always a node |
value | 0..1 LiteralAsStringType |
Note the range of this slot is always a string |
datatype | 0..1 xsd:string |
the rdf datatype of the value, for example, xsd:string |
language | 0..1 xsd:string |
the human language in which the value is encoded, e |
Usages
Comments
- sqlview>> SELECT axpv.stanza AS stanza, axs.object AS subject, axp.object AS predicate, axo.object AS object, axo.value AS value, axo.datatype AS datatype, axo.language AS language, axpv.subject AS id, axpv.subject AS annotation_subject, axpv.predicate AS annotation_predicate, axpv.object AS annotation_object, axpv.value AS annotation_value, axpv.language AS annotation_language, axpv.datatype AS annotation_datatype FROM statements AS axs, statements AS axp, statements AS axo, statements AS axpv WHERE axs.predicate = 'owl:annotatedSource' AND axp.predicate = 'owl:annotatedProperty' AND axo.predicate = 'owl:annotatedTarget' AND axs.subject = axpv.subject AND axp.subject = axpv.subject AND axo.subject = axpv.subject AND axpv.predicate NOT IN ('owl:annotatedSource', 'owl:annotatedProperty', 'owl:annotatedTarget', 'rdf:type');
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/semsql/owl
SQL View
This class has a SQL view definition:
sqlview>>
SELECT
axpv.stanza AS stanza,
axs.object AS subject,
axp.object AS predicate,
axo.object AS object,
axo.value AS value,
axo.datatype AS datatype,
axo.language AS language,
axpv.subject AS id,
axpv.subject AS annotation_subject,
axpv.predicate AS annotation_predicate,
axpv.object AS annotation_object,
axpv.value AS annotation_value,
axpv.language AS annotation_language,
axpv.datatype AS annotation_datatype
FROM
statements AS axs,
statements AS axp,
statements AS axo,
statements AS axpv
WHERE
axs.predicate = 'owl:annotatedSource' AND
axp.predicate = 'owl:annotatedProperty' AND
axo.predicate = 'owl:annotatedTarget' AND
axs.subject = axpv.subject AND
axp.subject = axpv.subject AND axo.subject = axpv.subject AND
axpv.predicate NOT IN ('owl:annotatedSource', 'owl:annotatedProperty', 'owl:annotatedTarget', 'rdf:type');
Mappings
Mapping Type | Mapped Value |
---|---|
self | ['semsql_owl:OwlAxiomAnnotation'] |
native | ['semsql_owl:OwlAxiomAnnotation'] |
LinkML Specification
Direct
name: owl_axiom_annotation
comments:
- "sqlview>>\n SELECT\n axpv.stanza AS stanza,\n axs.object AS subject,\n axp.object\
\ AS predicate,\n axo.object AS object,\n axo.value AS value,\n axo.datatype\
\ AS datatype,\n axo.language AS language,\n axpv.subject AS id,\n axpv.subject\
\ AS annotation_subject,\n axpv.predicate AS annotation_predicate,\n axpv.object\
\ AS annotation_object,\n axpv.value AS annotation_value,\n axpv.language AS\
\ annotation_language,\n axpv.datatype AS annotation_datatype\n FROM\n statements\
\ AS axs,\n statements AS axp,\n statements AS axo,\n statements AS axpv\n\
\ WHERE\n axs.predicate = 'owl:annotatedSource' AND\n axp.predicate = 'owl:annotatedProperty'\
\ AND\n axo.predicate = 'owl:annotatedTarget' AND\n axs.subject = axpv.subject\
\ AND\n axp.subject = axpv.subject AND axo.subject = axpv.subject AND\n axpv.predicate\
\ NOT IN ('owl:annotatedSource', 'owl:annotatedProperty', 'owl:annotatedTarget',\
\ 'rdf:type');"
from_schema: https://w3id.org/semsql/owl
rank: 1000
is_a: statements
slots:
- annotation_subject
- annotation_predicate
- annotation_object
- annotation_value
- annotation_language
- annotation_datatype
- id
Induced
name: owl_axiom_annotation
comments:
- "sqlview>>\n SELECT\n axpv.stanza AS stanza,\n axs.object AS subject,\n axp.object\
\ AS predicate,\n axo.object AS object,\n axo.value AS value,\n axo.datatype\
\ AS datatype,\n axo.language AS language,\n axpv.subject AS id,\n axpv.subject\
\ AS annotation_subject,\n axpv.predicate AS annotation_predicate,\n axpv.object\
\ AS annotation_object,\n axpv.value AS annotation_value,\n axpv.language AS\
\ annotation_language,\n axpv.datatype AS annotation_datatype\n FROM\n statements\
\ AS axs,\n statements AS axp,\n statements AS axo,\n statements AS axpv\n\
\ WHERE\n axs.predicate = 'owl:annotatedSource' AND\n axp.predicate = 'owl:annotatedProperty'\
\ AND\n axo.predicate = 'owl:annotatedTarget' AND\n axs.subject = axpv.subject\
\ AND\n axp.subject = axpv.subject AND axo.subject = axpv.subject AND\n axpv.predicate\
\ NOT IN ('owl:annotatedSource', 'owl:annotatedProperty', 'owl:annotatedTarget',\
\ 'rdf:type');"
from_schema: https://w3id.org/semsql/owl
rank: 1000
is_a: statements
attributes:
annotation_subject:
name: annotation_subject
from_schema: https://w3id.org/semsql/owl
rank: 1000
is_a: subject
alias: annotation_subject
owner: owl_axiom_annotation
domain_of:
- owl_axiom_annotation
range: node
annotation_predicate:
name: annotation_predicate
from_schema: https://w3id.org/semsql/owl
rank: 1000
is_a: predicate
alias: annotation_predicate
owner: owl_axiom_annotation
domain_of:
- owl_axiom_annotation
range: property_node
annotation_object:
name: annotation_object
from_schema: https://w3id.org/semsql/owl
rank: 1000
is_a: object
alias: annotation_object
owner: owl_axiom_annotation
domain_of:
- owl_axiom_annotation
range: node
annotation_value:
name: annotation_value
from_schema: https://w3id.org/semsql/owl
rank: 1000
is_a: value
alias: annotation_value
owner: owl_axiom_annotation
domain_of:
- owl_axiom_annotation
range: literal as string type
annotation_language:
name: annotation_language
from_schema: https://w3id.org/semsql/owl
rank: 1000
is_a: language
alias: annotation_language
owner: owl_axiom_annotation
domain_of:
- owl_axiom_annotation
range: string
annotation_datatype:
name: annotation_datatype
from_schema: https://w3id.org/semsql/owl
rank: 1000
is_a: datatype
alias: annotation_datatype
owner: owl_axiom_annotation
domain_of:
- owl_axiom_annotation
range: string
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_axiom_annotation
domain_of:
- term_association
- owl_reified_axiom
- owl_axiom
- owl_axiom_annotation
- node
range: node id type
stanza:
name: stanza
description: the term which this statement is about
deprecated: this will disappear in future versions
from_schema: https://w3id.org/semsql/rdf
see_also:
- https://github.com/ontodev/rdftab.rs#stanzas
rank: 1000
alias: stanza
owner: owl_axiom_annotation
domain_of:
- statements
range: node
subject:
name: subject
description: The subject of the statement
from_schema: https://w3id.org/semsql/rdf
aliases:
- about
- source
- head
rank: 1000
slot_uri: rdf:subject
alias: subject
owner: owl_axiom_annotation
domain_of:
- term_association
- owl_complex_axiom
- owl_subclass_of_some_values_from
- owl_equivalent_to_intersection_member
- statements
- relation_graph_construct
- edge
- subgraph_query
- subgraph_edge_by_ancestor
- subgraph_edge_by_descendant
- subgraph_edge_by_parent
- subgraph_edge_by_child
- subgraph_edge_by_self
- entailed_edge
- entailed_edge_cycle
- transitive_edge
- repair_action
- problem
range: node
predicate:
name: predicate
description: The predicate of the statement
from_schema: https://w3id.org/semsql/rdf
aliases:
- relationship type
- property
rank: 1000
slot_uri: rdf:predicate
alias: predicate
owner: owl_axiom_annotation
domain_of:
- term_association
- owl_complex_axiom
- owl_subclass_of_some_values_from
- statements
- relation_graph_construct
- edge
- subgraph_query
- subgraph_edge_by_ancestor
- subgraph_edge_by_descendant
- subgraph_edge_by_parent
- subgraph_edge_by_child
- subgraph_edge_by_self
- entailed_edge
- entailed_edge_cycle
- transitive_edge
- problem
range: property_node
object:
name: object
description: Note the range of this slot is always a node. If the triple represents
a literal, instead value will be populated
from_schema: https://w3id.org/semsql/rdf
aliases:
- target
- sink
- tail
rank: 1000
slot_uri: rdf:object
alias: object
owner: owl_axiom_annotation
domain_of:
- term_association
- owl_complex_axiom
- owl_subclass_of_some_values_from
- owl_equivalent_to_intersection_member
- statements
- relation_graph_construct
- edge
- subgraph_query
- subgraph_edge_by_ancestor
- subgraph_edge_by_descendant
- subgraph_edge_by_parent
- subgraph_edge_by_child
- subgraph_edge_by_self
- entailed_edge
- entailed_edge_cycle
- transitive_edge
range: node
value:
name: value
description: Note the range of this slot is always a string. Only used the triple
represents a literal assertion
from_schema: https://w3id.org/semsql/rdf
close_mappings:
- rdf:object
rank: 1000
slot_uri: rdf:object
alias: value
owner: owl_axiom_annotation
domain_of:
- statements
- problem
range: literal as string type
datatype:
name: datatype
description: the rdf datatype of the value, for example, xsd:string
comments:
- only used when value is populated
from_schema: https://w3id.org/semsql/rdf
rank: 1000
alias: datatype
owner: owl_axiom_annotation
domain_of:
- statements
range: string
language:
name: language
description: the human language in which the value is encoded, e.g. en
todos:
- use an enum
comments:
- only used when value is populated
from_schema: https://w3id.org/semsql/rdf
rank: 1000
alias: language
owner: owl_axiom_annotation
domain_of:
- statements
range: string