356 lines
9.2 KiB
JSON
356 lines
9.2 KiB
JSON
{
|
|
"model": null,
|
|
"signature": {
|
|
"description": "Classify the Wikipedia article excerpt into all three levels of the DBpedia ontology hierarchy: L1 (9 classes), L2 (70 classes), and L3 (219 classes).\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.",
|
|
"properties": {
|
|
"text": {
|
|
"__dspy_field_type": "input",
|
|
"desc": "Wikipedia article excerpt to classify.",
|
|
"prefix": "Text:",
|
|
"title": "Text",
|
|
"type": "string"
|
|
},
|
|
"reasoning": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant.",
|
|
"prefix": "Reasoning:",
|
|
"title": "Reasoning",
|
|
"type": "string"
|
|
},
|
|
"l1_class": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "Top-level DBpedia ontology category. One of: Agent, Device, Event, Place, Species, SportsSeason, TopicalConcept, UnitOfWork, Work.",
|
|
"enum": [
|
|
"Agent",
|
|
"Device",
|
|
"Event",
|
|
"Place",
|
|
"Species",
|
|
"SportsSeason",
|
|
"TopicalConcept",
|
|
"UnitOfWork",
|
|
"Work"
|
|
],
|
|
"prefix": "L 1 Class:",
|
|
"title": "L1 Class",
|
|
"type": "string"
|
|
},
|
|
"l2_class": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "Second-level DBpedia ontology subcategory (must be a valid subcategory of the chosen L1).",
|
|
"enum": [
|
|
"Actor",
|
|
"AmusementParkAttraction",
|
|
"Animal",
|
|
"Artist",
|
|
"Athlete",
|
|
"BodyOfWater",
|
|
"Boxer",
|
|
"BritishRoyalty",
|
|
"Broadcaster",
|
|
"Building",
|
|
"Cartoon",
|
|
"CelestialBody",
|
|
"Cleric",
|
|
"ClericalAdministrativeRegion",
|
|
"Coach",
|
|
"Comic",
|
|
"ComicsCharacter",
|
|
"Company",
|
|
"Database",
|
|
"EducationalInstitution",
|
|
"Engine",
|
|
"Eukaryote",
|
|
"FictionalCharacter",
|
|
"FloweringPlant",
|
|
"FootballLeagueSeason",
|
|
"Genre",
|
|
"GridironFootballPlayer",
|
|
"Group",
|
|
"Horse",
|
|
"Infrastructure",
|
|
"LegalCase",
|
|
"MotorcycleRider",
|
|
"MusicalArtist",
|
|
"MusicalWork",
|
|
"NaturalEvent",
|
|
"NaturalPlace",
|
|
"Olympics",
|
|
"Organisation",
|
|
"OrganisationMember",
|
|
"PeriodicalLiterature",
|
|
"Person",
|
|
"Plant",
|
|
"Politician",
|
|
"Presenter",
|
|
"Race",
|
|
"RaceTrack",
|
|
"RacingDriver",
|
|
"RouteOfTransportation",
|
|
"Satellite",
|
|
"Scientist",
|
|
"Settlement",
|
|
"SocietalEvent",
|
|
"Software",
|
|
"Song",
|
|
"SportFacility",
|
|
"SportsEvent",
|
|
"SportsLeague",
|
|
"SportsManager",
|
|
"SportsTeam",
|
|
"SportsTeamSeason",
|
|
"Station",
|
|
"Stream",
|
|
"Tournament",
|
|
"Tower",
|
|
"Venue",
|
|
"VolleyballPlayer",
|
|
"WinterSportPlayer",
|
|
"Wrestler",
|
|
"Writer",
|
|
"WrittenWork"
|
|
],
|
|
"prefix": "L 2 Class:",
|
|
"title": "L2 Class",
|
|
"type": "string"
|
|
},
|
|
"l3_class": {
|
|
"__dspy_field_type": "output",
|
|
"desc": "Third-level DBpedia ontology subcategory (must be a valid subcategory of the chosen L2).",
|
|
"enum": [
|
|
"AcademicJournal",
|
|
"AdultActor",
|
|
"Airline",
|
|
"Airport",
|
|
"Album",
|
|
"AmateurBoxer",
|
|
"Ambassador",
|
|
"AmericanFootballPlayer",
|
|
"Amphibian",
|
|
"AnimangaCharacter",
|
|
"Anime",
|
|
"Arachnid",
|
|
"Architect",
|
|
"ArtificialSatellite",
|
|
"ArtistDiscography",
|
|
"Astronaut",
|
|
"AustralianFootballTeam",
|
|
"AustralianRulesFootballPlayer",
|
|
"AutomobileEngine",
|
|
"BadmintonPlayer",
|
|
"Band",
|
|
"Bank",
|
|
"Baronet",
|
|
"BaseballLeague",
|
|
"BaseballPlayer",
|
|
"BaseballSeason",
|
|
"BasketballLeague",
|
|
"BasketballPlayer",
|
|
"BasketballTeam",
|
|
"BeachVolleyballPlayer",
|
|
"BeautyQueen",
|
|
"BiologicalDatabase",
|
|
"Bird",
|
|
"Bodybuilder",
|
|
"Brewery",
|
|
"Bridge",
|
|
"BroadcastNetwork",
|
|
"BusCompany",
|
|
"BusinessPerson",
|
|
"CanadianFootballTeam",
|
|
"Canal",
|
|
"Canoeist",
|
|
"Cardinal",
|
|
"Castle",
|
|
"Cave",
|
|
"Chef",
|
|
"ChessPlayer",
|
|
"ChristianBishop",
|
|
"ClassicalMusicArtist",
|
|
"ClassicalMusicComposition",
|
|
"CollegeCoach",
|
|
"Comedian",
|
|
"ComicStrip",
|
|
"ComicsCreator",
|
|
"Congressman",
|
|
"Conifer",
|
|
"Convention",
|
|
"CricketGround",
|
|
"CricketTeam",
|
|
"Cricketer",
|
|
"Crustacean",
|
|
"CultivatedVariety",
|
|
"Curler",
|
|
"Cycad",
|
|
"CyclingRace",
|
|
"CyclingTeam",
|
|
"Cyclist",
|
|
"Dam",
|
|
"DartsPlayer",
|
|
"Diocese",
|
|
"Earthquake",
|
|
"Economist",
|
|
"Election",
|
|
"Engineer",
|
|
"Entomologist",
|
|
"EurovisionSongContestEntry",
|
|
"FashionDesigner",
|
|
"Fern",
|
|
"FigureSkater",
|
|
"FilmFestival",
|
|
"Fish",
|
|
"FootballMatch",
|
|
"FormulaOneRacer",
|
|
"Fungus",
|
|
"GaelicGamesPlayer",
|
|
"Galaxy",
|
|
"Glacier",
|
|
"GolfCourse",
|
|
"GolfPlayer",
|
|
"GolfTournament",
|
|
"Governor",
|
|
"GrandPrix",
|
|
"Grape",
|
|
"GreenAlga",
|
|
"Gymnast",
|
|
"HandballPlayer",
|
|
"HandballTeam",
|
|
"Historian",
|
|
"HistoricBuilding",
|
|
"HockeyTeam",
|
|
"HollywoodCartoon",
|
|
"HorseRace",
|
|
"HorseRider",
|
|
"HorseTrainer",
|
|
"Hospital",
|
|
"Hotel",
|
|
"IceHockeyLeague",
|
|
"IceHockeyPlayer",
|
|
"Insect",
|
|
"Jockey",
|
|
"Journalist",
|
|
"Judge",
|
|
"LacrossePlayer",
|
|
"Lake",
|
|
"LawFirm",
|
|
"Legislature",
|
|
"Library",
|
|
"Lighthouse",
|
|
"Magazine",
|
|
"Manga",
|
|
"MartialArtist",
|
|
"Mayor",
|
|
"Medician",
|
|
"MemberOfParliament",
|
|
"MilitaryConflict",
|
|
"MilitaryPerson",
|
|
"MilitaryUnit",
|
|
"MixedMartialArtsEvent",
|
|
"Model",
|
|
"Mollusca",
|
|
"Monarch",
|
|
"Moss",
|
|
"Mountain",
|
|
"MountainPass",
|
|
"MountainRange",
|
|
"Museum",
|
|
"MusicFestival",
|
|
"MusicGenre",
|
|
"Musical",
|
|
"MythologicalFigure",
|
|
"NCAATeamSeason",
|
|
"NascarDriver",
|
|
"NationalFootballLeagueSeason",
|
|
"NetballPlayer",
|
|
"Newspaper",
|
|
"Noble",
|
|
"OfficeHolder",
|
|
"OlympicEvent",
|
|
"Painter",
|
|
"Philosopher",
|
|
"Photographer",
|
|
"Planet",
|
|
"Play",
|
|
"PlayboyPlaymate",
|
|
"Poem",
|
|
"Poet",
|
|
"PokerPlayer",
|
|
"PoliticalParty",
|
|
"Pope",
|
|
"President",
|
|
"PrimeMinister",
|
|
"Prison",
|
|
"PublicTransitSystem",
|
|
"Publisher",
|
|
"RaceHorse",
|
|
"Racecourse",
|
|
"RadioHost",
|
|
"RadioStation",
|
|
"RailwayLine",
|
|
"RailwayStation",
|
|
"RecordLabel",
|
|
"Religious",
|
|
"Reptile",
|
|
"Restaurant",
|
|
"River",
|
|
"Road",
|
|
"RoadTunnel",
|
|
"RollerCoaster",
|
|
"Rower",
|
|
"RugbyClub",
|
|
"RugbyLeague",
|
|
"RugbyPlayer",
|
|
"Saint",
|
|
"School",
|
|
"ScreenWriter",
|
|
"Senator",
|
|
"ShoppingMall",
|
|
"Single",
|
|
"Skater",
|
|
"Skier",
|
|
"SoapCharacter",
|
|
"SoccerClubSeason",
|
|
"SoccerLeague",
|
|
"SoccerManager",
|
|
"SoccerPlayer",
|
|
"SoccerTournament",
|
|
"SolarEclipse",
|
|
"SpeedwayRider",
|
|
"SportsTeamMember",
|
|
"SquashPlayer",
|
|
"Stadium",
|
|
"SumoWrestler",
|
|
"SupremeCourtOfTheUnitedStatesCase",
|
|
"Swimmer",
|
|
"TableTennisPlayer",
|
|
"TelevisionStation",
|
|
"TennisPlayer",
|
|
"TennisTournament",
|
|
"Theatre",
|
|
"Town",
|
|
"TradeUnion",
|
|
"University",
|
|
"VideoGame",
|
|
"Village",
|
|
"VoiceActor",
|
|
"Volcano",
|
|
"Winery",
|
|
"WomensTennisAssociationTournament",
|
|
"WrestlingEvent"
|
|
],
|
|
"prefix": "L 3 Class:",
|
|
"title": "L3 Class",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"text",
|
|
"reasoning",
|
|
"l1_class",
|
|
"l2_class",
|
|
"l3_class"
|
|
],
|
|
"title": "DBPediaHardJudgeSig",
|
|
"type": "object"
|
|
}
|
|
} |