Skip to content

Class: TestAsset

Represents a Test Asset, which is a single specific instance of TestCase-agnostic semantic parameters representing the specification of a Translator test target with inputs and (expected) outputs.

URI: ttm:TestAsset

classDiagram class TestAsset TestEntity <|-- TestAsset TestAsset <|-- AcceptanceTestAsset TestAsset <|-- TestEdgeData TestAsset : association TestAsset : description TestAsset : expected_output TestAsset : id TestAsset : in_v1 TestAsset : input_category TestAsset : input_id TestAsset : input_name TestAsset : name TestAsset : output_category TestAsset : output_id TestAsset : output_name TestAsset : predicate_id TestAsset : predicate_name TestAsset : qualifiers TestAsset --> Qualifier : qualifiers TestAsset : semantic_severity TestAsset --> SemanticSeverityEnum : semantic_severity TestAsset : tags TestAsset : test_issue TestAsset --> TestIssueEnum : test_issue TestAsset : test_metadata TestAsset --> TestMetadata : test_metadata TestAsset : test_reference TestAsset : test_runner_settings TestAsset : well_known

Inheritance

Slots

Name Cardinality and Range Description Inheritance
input_id 0..1
Uriorcurie
direct
input_name 0..1
String
direct
input_category 0..1
ConceptCategory
direct
predicate_id 0..1
PredicateType
direct
predicate_name 0..1
String
direct
output_id 0..1
Uriorcurie
direct
output_name 0..1
String
direct
output_category 0..1
ConceptCategory
direct
association 0..1
AssociationCategory
Specific Biolink Model association 'category' which applies to the test asset... direct
qualifiers 0..*
Qualifier
Optional qualifiers which constrain to the test asset defined knowledge state... direct
expected_output 0..1
String
direct
test_issue 0..1
TestIssueEnum
direct
semantic_severity 0..1
SemanticSeverityEnum
direct
in_v1 0..1
Boolean
direct
well_known 0..1
Boolean
direct
test_reference 0..1
Uriorcurie
Document URL where original test source particulars are registered (e direct
test_metadata 0..1
TestMetadata
Test metadata describes the external provenance, cross-references and objecti... direct
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

Usages

used by used in type used
TestCase test_assets range TestAsset
QuantitativeTestCase test_assets range TestAsset

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel

Mappings

Mapping Type Mapped Value
self ttm:TestAsset
native ttm:TestAsset

LinkML Source

Direct

name: TestAsset
description: Represents a Test Asset, which is a single specific instance of TestCase-agnostic
  semantic parameters representing the specification of a Translator test target with
  inputs and (expected) outputs.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestEntity
slots:
- input_id
- input_name
- input_category
- predicate_id
- predicate_name
- output_id
- output_name
- output_category
- association
- qualifiers
- expected_output
- test_issue
- semantic_severity
- in_v1
- well_known
- test_reference
- test_metadata
slot_usage:
  id:
    name: id
    aliases:
    - AssetIdentifier
    domain_of:
    - TestEntity
    range: uriorcurie
  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
    domain_of:
    - TestEntity
  test_runner_settings:
    name: test_runner_settings
    description: Scalar settings for the TestRunner, e.g. "inferred"
    domain_of:
    - TestEntity

Induced

name: TestAsset
description: Represents a Test Asset, which is a single specific instance of TestCase-agnostic
  semantic parameters representing the specification of a Translator test target with
  inputs and (expected) outputs.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestEntity
slot_usage:
  id:
    name: id
    aliases:
    - AssetIdentifier
    domain_of:
    - TestEntity
    range: uriorcurie
  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
    domain_of:
    - TestEntity
  test_runner_settings:
    name: test_runner_settings
    description: Scalar settings for the TestRunner, e.g. "inferred"
    domain_of:
    - TestEntity
attributes:
  input_id:
    name: input_id
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    aliases:
    - InputID, node normalized
    - SubjectID
    rank: 1000
    alias: input_id
    owner: TestAsset
    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: TestAsset
    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: TestAsset
    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: TestAsset
    domain_of:
    - TestAsset
    range: predicate_type
  predicate_name:
    name: predicate_name
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    aliases:
    - Query
    - Relationship
    rank: 1000
    alias: predicate_name
    owner: TestAsset
    domain_of:
    - TestAsset
    range: string
  output_id:
    name: output_id
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    aliases:
    - OutputID
    - ObjectID
    rank: 1000
    alias: output_id
    owner: TestAsset
    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: TestAsset
    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: TestAsset
    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: TestAsset
    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: TestAsset
    domain_of:
    - TestAsset
    - 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: TestAsset
    domain_of:
    - TestAsset
    range: string
  test_issue:
    name: test_issue
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    aliases:
    - issue label
    rank: 1000
    alias: test_issue
    owner: TestAsset
    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: TestAsset
    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: TestAsset
    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: TestAsset
    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: TestAsset
    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: TestAsset
    domain_of:
    - TestAsset
    - TestSuite
    range: TestMetadata
    required: false
    inlined: true
  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: TestAsset
    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: TestAsset
    domain_of:
    - TestEntity
    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: TestAsset
    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: TestAsset
    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: TestAsset
    domain_of:
    - TestEntity
    range: string
    required: false