Skip to content

Class: HotPotQA

HotPotQA multi-hop QA dataset (dspy.HotPotQA).

URI: dspy:HotPotQA

 classDiagram
    class HotPotQA
    click HotPotQA href "../HotPotQA/"
      Dataset <|-- HotPotQA
        click Dataset href "../Dataset/"

      HotPotQA : description

      HotPotQA : devset





        HotPotQA --> "*" Example : devset
        click Example href "../Example/"



      HotPotQA : id

      HotPotQA : keep_details

      HotPotQA : name

      HotPotQA : only_hard_examples

      HotPotQA : splits





        HotPotQA --> "0..1" Any : splits
        click Any href "../Any/"



      HotPotQA : testset





        HotPotQA --> "*" Example : testset
        click Example href "../Example/"



      HotPotQA : trainset





        HotPotQA --> "*" Example : trainset
        click Example href "../Example/"



      HotPotQA : unofficial_dev

Inheritance

Slots

Name Cardinality and Range Description Inheritance
only_hard_examples 0..1
Boolean
direct
keep_details 0..1
Boolean
direct
unofficial_dev 0..1
Boolean
direct
trainset *
Example
Training split used by an optimizer Dataset
devset *
Example
Dev / evaluation split Dataset
testset *
Example
Held-out test split Dataset
splits 0..1
Any
Dataset split sizes / metadata Dataset
id 1
Identifier
Stable opaque identifier for an instance NamedThing
name 0..1
String
Short human-readable name NamedThing
description 0..1
String
Free-form description NamedThing

In Subsets

Identifier and Mapping Information

Annotations

property value
dspy_source_paths ['dspy/datasets/hotpotqa.py']
dspy_source_urls ['https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/hotpotqa.py']

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:HotPotQA
native dspy:HotPotQA

LinkML Source

Direct

name: HotPotQA
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/datasets/hotpotqa.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/hotpotqa.py
description: HotPotQA multi-hop QA dataset (``dspy.HotPotQA``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: Dataset
slots:
- only_hard_examples
- keep_details
- unofficial_dev

Induced

name: HotPotQA
annotations:
  dspy_source_paths:
    tag: dspy_source_paths
    value:
    - dspy/datasets/hotpotqa.py
  dspy_source_urls:
    tag: dspy_source_urls
    value:
    - https://github.com/stanfordnlp/dspy/blob/main/dspy/datasets/hotpotqa.py
description: HotPotQA multi-hop QA dataset (``dspy.HotPotQA``).
in_subset:
- datasets
from_schema: https://w3id.org/lmodel/dspy
is_a: Dataset
attributes:
  only_hard_examples:
    name: only_hard_examples
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    ifabsent: boolean(False)
    owner: HotPotQA
    domain_of:
    - HotPotQA
    range: boolean
  keep_details:
    name: keep_details
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    ifabsent: boolean(False)
    owner: HotPotQA
    domain_of:
    - HotPotQA
    range: boolean
  unofficial_dev:
    name: unofficial_dev
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    ifabsent: boolean(False)
    owner: HotPotQA
    domain_of:
    - HotPotQA
    range: boolean
  trainset:
    name: trainset
    description: Training split used by an optimizer.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: HotPotQA
    domain_of:
    - KNN
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  devset:
    name: devset
    description: Dev / evaluation split.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: HotPotQA
    domain_of:
    - Evaluate
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  testset:
    name: testset
    description: Held-out test split.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: HotPotQA
    domain_of:
    - Dataset
    range: Example
    multivalued: true
    inlined: true
    inlined_as_list: true
  splits:
    name: splits
    description: Dataset split sizes / metadata.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: HotPotQA
    domain_of:
    - Dataset
    range: Any
  id:
    name: id
    description: Stable opaque identifier for an instance.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    owner: HotPotQA
    domain_of:
    - NamedThing
    range: Identifier
    required: true
  name:
    name: name
    description: Short human-readable name.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: rdfs:label
    owner: HotPotQA
    domain_of:
    - NamedThing
    - LMToolCallPart
    - LMMessage
    - LMToolSpec
    range: string
  description:
    name: description
    description: Free-form description.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: dct:description
    owner: HotPotQA
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string