- Identyfikator działania
actions.intent.GET_QUOTATION
- Opis
- Uzyskać cytat z danego autora lub pracy twórczej.
- Przykładowe zapytania
-
en-US
- Uzyskaj wycenę.
- Posłuchaj cytatu z artykułu Abrahama Lincolna.
- Przykładowy kod 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"
]
}
]
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-29 UTC."],[[["The `actions.intent.GET_QUOTATION` Action ID is used to request quotations from a specific author or work."],["Users can trigger this action with simple queries like \"Get a quote\" or \"Hear a quote from [author's name]\"."],["This action utilizes JSON-LD to provide structured data about the requested quotation, including author, work, language, and keywords."],["The JSON-LD sample demonstrates how properties like `spokenByCharacter`, `isPartOf`, and `temporalCoverage` can be used to specify details about the desired quotation."]]],["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"]]