search_plays
Find plays in the DraCor database using filters for title, author, character, country, language, date range, and gender ratio. Refine searches by specific corpus for tailored results.
Instructions
Advanced search for plays in the DraCor database with multiple filter options.
Parameters:
- query: General text search across title, subtitle, and author
- corpus_name: Specific corpus to search within (e.g., "shake", "ger", "rus", "span", "dutch")
- character_name: Name of a character that should appear in the play
- country: Country of origin for the play
- language: Language of the play
- author: Name of the playwright
- year_from: Starting year for date range filter
- year_to: Ending year for date range filter
- gender_filter: Filter by plays with a certain gender ratio ("female_dominated", "male_dominated", "balanced")
Input Schema
Name | Required | Description | Default |
---|---|---|---|
author | No | ||
character_name | No | ||
corpus_name | No | ||
country | No | ||
gender_filter | No | ||
language | No | ||
query | No | ||
year_from | No | ||
year_to | No |
Input Schema (JSON Schema)
{
"properties": {
"author": {
"default": null,
"title": "Author",
"type": "string"
},
"character_name": {
"default": null,
"title": "Character Name",
"type": "string"
},
"corpus_name": {
"default": null,
"title": "Corpus Name",
"type": "string"
},
"country": {
"default": null,
"title": "Country",
"type": "string"
},
"gender_filter": {
"default": null,
"title": "Gender Filter",
"type": "string"
},
"language": {
"default": null,
"title": "Language",
"type": "string"
},
"query": {
"default": null,
"title": "Query",
"type": "string"
},
"year_from": {
"default": null,
"title": "Year From",
"type": "integer"
},
"year_to": {
"default": null,
"title": "Year To",
"type": "integer"
}
},
"title": "search_playsArguments",
"type": "object"
}