- Идентификатор действия
-
actions.intent.GET_QUOTATION
- Описание
- Получите цитату конкретного автора или творческой работы.
- Примеры запросов
- Образец JSON-LD
[ { "exampleValues": [ { "@context": "https://pending.schema.org", "@type": "Quotation", "inLanguage": { "identifier": "jpn" }, "isPartOf": { "name": "Long Walk to Freedom" }, "keywords": "inspirational", "spokenByCharacter": { "name": "Nelson Mandela" }, "temporalCoverage": "2000-01-01T03:00:00/2099-12-12T23:59:59" } ], "name": "quotation", "schemaType": [ "https://pending.schema.org/Quotation" ] } ]
Получить предложение
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eactions.intent.GET_QUOTATION\u003c/code\u003e Action ID is used to request quotations from a specific author or work.\u003c/p\u003e\n"],["\u003cp\u003eUsers can trigger this action with simple queries like "Get a quote" or "Hear a quote from [author's name]".\u003c/p\u003e\n"],["\u003cp\u003eThis action utilizes JSON-LD to provide structured data about the requested quotation, including author, work, language, and keywords.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON-LD sample demonstrates how properties like \u003ccode\u003espokenByCharacter\u003c/code\u003e, \u003ccode\u003eisPartOf\u003c/code\u003e, and \u003ccode\u003etemporalCoverage\u003c/code\u003e can be used to specify details about the desired quotation.\u003c/p\u003e\n"]]],["The core content describes the `actions.intent.GET_QUOTATION` action, which retrieves a quote from an author or creative work. Users can request quotes generally or from specific individuals like Abraham Lincoln. The JSON-LD sample illustrates a quotation's structure, including author (e.g., Nelson Mandela), source work (e.g., \"Long Walk to Freedom\"), language, keywords, and time period. The structure also include the name and schema type of the action, and an example.\n"],null,["# Get a quotation\n\nAction ID\n: `actions.intent.GET_QUOTATION`\n\nDescription\n: Get a quotation from a particular author or creative work.\n\nExample queries\n:\n\n #### en-US\n\n - Get a quote.\n - Hear a quote from Abraham Lincoln.\n\nJSON-LD sample\n:\n\n ```carbon\n [\n {\n \"exampleValues\": [\n {\n \"@context\": \"https://pending.schema.org\",\n \"@type\": \"Quotation\",\n \"inLanguage\": {\n \"identifier\": \"jpn\"\n },\n \"isPartOf\": {\n \"name\": \"Long Walk to Freedom\"\n },\n \"keywords\": \"inspirational\",\n \"spokenByCharacter\": {\n \"name\": \"Nelson Mandela\"\n },\n \"temporalCoverage\": \"2000-01-01T03:00:00/2099-12-12T23:59:59\"\n }\n ],\n \"name\": \"quotation\",\n \"schemaType\": [\n \"https://pending.schema.org/Quotation\"\n ]\n }\n ]\n ```"]]