Class: TestEdgeData
Represents a single Biolink Model compliant instance of a subject-predicate-object edge that can be used for testing.
URI: ttm:TestEdgeData
classDiagram
class TestEdgeData
TestAsset <|-- TestEdgeData
TestEdgeData : association
TestEdgeData : description
TestEdgeData : expected_output
TestEdgeData : id
TestEdgeData : in_v1
TestEdgeData : input_category
TestEdgeData : input_id
TestEdgeData : input_name
TestEdgeData : name
TestEdgeData : output_category
TestEdgeData : output_ids
TestEdgeData : output_name
TestEdgeData : predicate_id
TestEdgeData : predicate_name
TestEdgeData : qualifiers
TestEdgeData --> Qualifier : qualifiers
TestEdgeData : semantic_severity
TestEdgeData --> SemanticSeverityEnum : semantic_severity
TestEdgeData : skip
TestEdgeData : skip_reason
TestEdgeData : tags
TestEdgeData : test_issue
TestEdgeData --> TestIssueEnum : test_issue
TestEdgeData : test_metadata
TestEdgeData --> TestMetadata : test_metadata
TestEdgeData : test_reference
TestEdgeData : test_runner_settings
TestEdgeData : well_known
Inheritance
- TestEntity
- TestAsset
- TestEdgeData
- TestAsset
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| input_id | 0..1 Uriorcurie |
TestAsset | |
| input_name | 0..1 String |
TestAsset | |
| input_category | 0..1 ConceptCategory |
TestAsset | |
| predicate_id | 0..1 PredicateType |
TestAsset | |
| predicate_name | 0..1 String |
TestAsset | |
| output_ids | 0..* Uriorcurie |
One or more CURIEs that identify the expected output | TestAsset |
| output_name | 0..1 String |
TestAsset | |
| output_category | 0..1 ConceptCategory |
TestAsset | |
| association | 0..1 AssociationCategory |
Specific Biolink Model association 'category' which applies to the test asset... | TestAsset |
| qualifiers | 0..* Qualifier |
Optional qualifiers which constrain to the test asset defined knowledge state... | TestAsset |
| expected_output | 0..1 String |
TestAsset | |
| test_issue | 0..1 TestIssueEnum |
TestAsset | |
| semantic_severity | 0..1 SemanticSeverityEnum |
TestAsset | |
| in_v1 | 0..1 Boolean |
TestAsset | |
| well_known | 0..1 Boolean |
TestAsset | |
| test_reference | 0..1 Uriorcurie |
Document URL where original test source particulars are registered (e | TestAsset |
| test_metadata | 0..1 TestMetadata |
Test metadata describes the external provenance, cross-references and objecti... | TestAsset |
| skip | 0..1 Boolean |
Don't run this test (for a test case, any of its assets) until the issue behi... | TestAsset |
| skip_reason | 0..1 String |
Why the test is skipped, eg the issue it waits on, for the reports | TestAsset |
| id | 1..1 Uriorcurie |
A unique identifier for a Test Entity | TestEntity |
| name | 0..1 String |
A human-readable name for a Test Entity | TestEntity |
| description | 0..1 String |
A human-readable description for a Test Entity | TestEntity |
| tags | 0..* String |
One or more 'tags' slot values (inherited from TestEntity) should generally b... | TestEntity |
| test_runner_settings | 0..* String |
Scalar settings for the TestRunner, e | TestEntity |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | ttm:TestEdgeData |
| native | ttm:TestEdgeData |
LinkML Source
Direct
name: TestEdgeData
description: Represents a single Biolink Model compliant instance of a subject-predicate-object
edge that can be used for testing.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestAsset
Induced
name: TestEdgeData
description: Represents a single Biolink Model compliant instance of a subject-predicate-object
edge that can be used for testing.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestAsset
attributes:
input_id:
name: input_id
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- InputID, node normalized
- SubjectID
rank: 1000
alias: input_id
owner: TestEdgeData
domain_of:
- TestAsset
range: uriorcurie
input_name:
name: input_name
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- InputName (user choice)
- SubjectName
rank: 1000
alias: input_name
owner: TestEdgeData
domain_of:
- TestAsset
range: string
input_category:
name: input_category
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- SubjectCategory
rank: 1000
alias: input_category
owner: TestEdgeData
domain_of:
- TestAsset
- TestCase
range: concept_category
predicate_id:
name: predicate_id
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Predicate
rank: 1000
alias: predicate_id
owner: TestEdgeData
domain_of:
- TestAsset
- PathfinderTestAsset
range: predicate_type
predicate_name:
name: predicate_name
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Query
- Relationship
rank: 1000
alias: predicate_name
owner: TestEdgeData
domain_of:
- TestAsset
- PathfinderTestAsset
range: string
output_ids:
name: output_ids
description: One or more CURIEs that identify the expected output. Any one of
them may stand for the expected answer, eg the same chemical under its ChEBI
and PubChem identifiers when node normalization no longer merges them into one
concept.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- OutputID
- ObjectID
rank: 1000
multivalued: true
alias: output_ids
owner: TestEdgeData
domain_of:
- TestAsset
range: uriorcurie
output_name:
name: output_name
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- OutputName
- ObjectName
rank: 1000
alias: output_name
owner: TestEdgeData
domain_of:
- TestAsset
range: string
output_category:
name: output_category
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- ObjectCategory
rank: 1000
alias: output_category
owner: TestEdgeData
domain_of:
- TestAsset
- TestCase
range: concept_category
association:
name: association
description: Specific Biolink Model association 'category' which applies to the
test asset defined knowledge statement
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: association
owner: TestEdgeData
domain_of:
- TestAsset
range: association_category
qualifiers:
name: qualifiers
description: Optional qualifiers which constrain to the test asset defined knowledge
statement. Note that this field records such qualifier slots and values as tag=value
pairs, where the tag is the Biolink Model qualifier slot named and the value
is an acceptable (Biolink Model enum?) value of the said qualifier slot.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
multivalued: true
alias: qualifiers
owner: TestEdgeData
domain_of:
- TestAsset
- PathfinderTestAsset
- TestCase
range: Qualifier
inlined: true
inlined_as_list: true
expected_output:
name: expected_output
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Expected Output
rank: 1000
alias: expected_output
owner: TestEdgeData
domain_of:
- TestAsset
- PathfinderTestAsset
range: string
test_issue:
name: test_issue
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- issue label
rank: 1000
alias: test_issue
owner: TestEdgeData
domain_of:
- TestAsset
range: TestIssueEnum
semantic_severity:
name: semantic_severity
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Semantic Severity
rank: 1000
alias: semantic_severity
owner: TestEdgeData
domain_of:
- TestAsset
range: SemanticSeverityEnum
in_v1:
name: in_v1
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- In v1
rank: 1000
alias: in_v1
owner: TestEdgeData
domain_of:
- TestAsset
range: boolean
well_known:
name: well_known
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Well Known
rank: 1000
alias: well_known
owner: TestEdgeData
domain_of:
- TestAsset
range: boolean
test_reference:
name: test_reference
description: Document URL where original test source particulars are registered
(e.g. Github repo)
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- GitHubIssue
rank: 1000
alias: test_reference
owner: TestEdgeData
domain_of:
- TestMetadata
- TestAsset
range: uriorcurie
test_metadata:
name: test_metadata
description: Test metadata describes the external provenance, cross-references
and objectives for a given test.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: test_metadata
owner: TestEdgeData
domain_of:
- TestAsset
- TestSuite
range: TestMetadata
required: false
inlined: true
skip:
name: skip
description: Don't run this test (for a test case, any of its assets) until the
issue behind it is fixed, eg one that always fails for a known reason. The Test
Harness reports a skipped test as skipped rather than leaving it out, and can
be told to run skipped tests anyway.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
ifabsent: 'false'
alias: skip
owner: TestEdgeData
domain_of:
- TestAsset
- PathfinderTestAsset
- TestCase
- PathfinderTestCase
range: boolean
skip_reason:
name: skip_reason
description: Why the test is skipped, eg the issue it waits on, for the reports.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: skip_reason
owner: TestEdgeData
domain_of:
- TestAsset
- PathfinderTestAsset
- TestCase
- PathfinderTestCase
range: string
id:
name: id
description: A unique identifier for a Test Entity
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- AssetIdentifier
rank: 1000
slot_uri: schema:identifier
identifier: true
alias: id
owner: TestEdgeData
domain_of:
- TestEntity
range: uriorcurie
required: true
name:
name: name
description: A human-readable name for a Test Entity
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
slot_uri: schema:name
alias: name
owner: TestEdgeData
domain_of:
- TestEntity
- PathfinderPathNode
range: string
description:
name: description
description: A human-readable description for a Test Entity
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
slot_uri: schema:description
alias: description
owner: TestEdgeData
domain_of:
- TestEntity
range: string
tags:
name: tags
description: One or more 'tags' slot values (inherited from TestEntity) should
generally be defined to specify TestAsset membership in a "Block List" collection
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
slot_uri: schema:additionalType
multivalued: true
alias: tags
owner: TestEdgeData
domain_of:
- TestEntity
range: string
test_runner_settings:
name: test_runner_settings
description: Scalar settings for the TestRunner, e.g. "inferred"
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
multivalued: true
alias: test_runner_settings
owner: TestEdgeData
domain_of:
- TestEntity
range: string
required: false