Skip to content
intermediatetext

Machine Comprehension Using Commonsense Knowledge

Multiple-choice reading comprehension requiring commonsense reasoning over narrative texts, selecting the best answer and providing reasoning. Based on SemEval-2018 Task 11.

Try it live — no install

Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.

Run live in your browser

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/semeval/2018/task11-commonsense-comprehension
potato start config.yaml

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# Machine Comprehension Using Commonsense Knowledge
# Based on Ostermann et al., SemEval 2018
# Paper: https://aclanthology.org/S18-1119/
# Dataset: https://competitions.codalab.org/competitions/17184
#
# This task asks annotators to read a short narrative, answer a
# multiple-choice question requiring commonsense reasoning, and
# provide a brief explanation of their reasoning.
#
# Answer Labels:
# - A: First answer option
# - B: Second answer option
#
# Annotators also provide a text explanation of their reasoning.

annotation_task_name: "Machine Comprehension Using Commonsense Knowledge"
task_dir: "."

data_files:
  - sample-data.json

item_properties:
  id_key: "id"
  text_key: "text"

output_annotation_dir: "annotation_output/"
export_annotation_format: "jsonl"

port: 8000

annotation_schemes:
  - annotation_type: radio
    name: answer_choice
    description: "Which answer is correct based on the narrative and commonsense reasoning?"
    labels:
      - name: "A"
        tooltip: "Select if option A is the correct or most reasonable answer"
        key_value: "1"
      - name: "B"
        tooltip: "Select if option B is the correct or most reasonable answer"
        key_value: "2"

  - annotation_type: text
    name: reasoning
    description: "Briefly explain your reasoning for the chosen answer."

annotation_instructions: |
  You will be shown a short narrative followed by a question with two answer options.
  Your task is to:
  1. Read the narrative carefully.
  2. Select the answer (A or B) that is correct based on the narrative and commonsense knowledge.
  3. Provide a brief explanation of your reasoning.

user_config:
  allow_all_users: true
max_annotations_per_user: 50
num_annotators_per_item: 2

Sample Data

json
[
  {
    "id": "commonsense_001",
    "text": "Sarah woke up late and rushed out of the house without eating breakfast. By noon, her stomach was growling loudly during the meeting.",
    "question": "Why was Sarah's stomach growling?",
    "option_a": "Because she was nervous about the meeting",
    "option_b": "Because she had not eaten since the previous evening"
  },
  {
    "id": "commonsense_002",
    "text": "Tom put on his heavy coat, scarf, and gloves before heading outside. He could see his breath in the cold air as he walked to the bus stop.",
    "question": "What season is it most likely?",
    "option_a": "Winter",
    "option_b": "Summer"
  }
]

// ... and 8 more items

Dataset & paper

Ostermann et al., SemEval 2018

Citation (BibTeX)

bibtex
@inproceedings{ostermann-etal-2018-semeval,
    title = "{S}em{E}val-2018 Task 11: Machine Comprehension Using Commonsense Knowledge",
    author = "Ostermann, Simon and Roth, Michael and Modi, Ashutosh and Thater, Stefan and Pinkal, Manfred",
    booktitle = "Proceedings of the 12th International Workshop on Semantic Evaluation",
    month = jun,
    year = "2018",
    address = "New Orleans, Louisiana",
    publisher = "Association for Computational Linguistics",
    pages = "747--757",
    doi = "10.18653/v1/S18-1119",
    url = "https://aclanthology.org/S18-1119"
}

Details

Annotation Types

radiotext

Domain

SemEvalNLPReading ComprehensionCommonsense Reasoning

Use Cases

Reading ComprehensionCommonsense ReasoningQA

Tags

semevalsemeval-2018shared-taskcommonsensereading-comprehensionmultiple-choicereasoning

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)