Class: NodeWithTwoLabelsProblem
URI: semsql_obo:NodeWithTwoLabelsProblem
classDiagram
Problem <|-- NodeWithTwoLabelsProblem
NodeWithTwoLabelsProblem : label1
NodeWithTwoLabelsProblem : label2
NodeWithTwoLabelsProblem : predicate
NodeWithTwoLabelsProblem : subject
NodeWithTwoLabelsProblem : value
Usage
SELECT * FROM node_with_two_labels_problem;
Inheritance
- Problem
- NodeWithTwoLabelsProblem
Slots
Name | Cardinality and Range | Description |
---|---|---|
label1 | 0..1 xsd:string |
|
label2 | 0..1 xsd:string |
|
subject | 0..1 Node |
The subject of the statement |
predicate | 0..1 PropertyNode |
The predicate of the statement |
value | 0..1 LiteralAsStringType |
Note the range of this slot is always a string |
Usages
Comments
- sqlview>> SELECT s1.subject, s1.predicate, s1.value FROM rdfs_label_statement AS s1, rdfs_label_statement AS s2 WHERE s1.subject=s2.subject AND s1.value != s2.value
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/semsql/obo
SQL View
This class has a SQL view definition:
sqlview>>
SELECT
s1.subject,
s1.predicate,
s1.value
FROM rdfs_label_statement AS s1, rdfs_label_statement AS s2
WHERE s1.subject=s2.subject AND s1.value != s2.value
Mappings
Mapping Type | Mapped Value |
---|---|
self | ['semsql_obo:NodeWithTwoLabelsProblem'] |
native | ['semsql_obo:NodeWithTwoLabelsProblem'] |
LinkML Specification
Direct
name: node_with_two_labels_problem
comments:
- "sqlview>>\n SELECT\n s1.subject,\n s1.predicate,\n s1.value\n FROM\
\ rdfs_label_statement AS s1, rdfs_label_statement AS s2\n WHERE s1.subject=s2.subject\
\ AND s1.value != s2.value"
from_schema: https://w3id.org/semsql/obo
rank: 1000
is_a: problem
attributes:
label1:
name: label1
from_schema: https://w3id.org/semsql/obo
rank: 1000
label2:
name: label2
from_schema: https://w3id.org/semsql/obo
rank: 1000
Induced
name: node_with_two_labels_problem
comments:
- "sqlview>>\n SELECT\n s1.subject,\n s1.predicate,\n s1.value\n FROM\
\ rdfs_label_statement AS s1, rdfs_label_statement AS s2\n WHERE s1.subject=s2.subject\
\ AND s1.value != s2.value"
from_schema: https://w3id.org/semsql/obo
rank: 1000
is_a: problem
attributes:
label1:
name: label1
from_schema: https://w3id.org/semsql/obo
rank: 1000
alias: label1
owner: node_with_two_labels_problem
domain_of:
- node_with_two_labels_problem
range: string
label2:
name: label2
from_schema: https://w3id.org/semsql/obo
rank: 1000
alias: label2
owner: node_with_two_labels_problem
domain_of:
- node_with_two_labels_problem
range: string
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: node_with_two_labels_problem
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: node_with_two_labels_problem
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
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: node_with_two_labels_problem
domain_of:
- statements
- problem
range: literal as string type