Question
Type name: Question
Extends CreativeWork
Name |
Type |
Description |
acceptedAnswer |
Answer |
The answer that has been accepted as best, typically on a Question/Answer site. Sites vary in their selection mechanisms, e.g. drawing on community opinion and/or the view of the Question author. |
answerCount |
Integer |
The number of answers this question has received. |
downvoteCount |
Integer |
The number of downvotes this question has received from the community. |
suggestedAnswer |
Answer |
An answer (possibly one of several, possibly incorrect) to a Question, e.g. on a Question/Answer site. |
upvoteCount |
Integer |
The number of upvotes this question has received from the community. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["The `Question` type, which extends `CreativeWork`, is used to represent a question within a system."],["It includes properties like `acceptedAnswer`, `answerCount`, `downvoteCount`, `suggestedAnswer`, and `upvoteCount` to capture various aspects of a question and its answers."],["These properties store information like the accepted answer, total answers, downvotes, suggested answers, and upvotes associated with the question."]]],["The \"Question\" type, extending \"CreativeWork,\" includes properties for managing question-and-answer interactions. Key data points are: `acceptedAnswer` (the best answer), `answerCount` (total answers), `suggestedAnswer` (possible answers), `downvoteCount` (negative votes), and `upvoteCount` (positive votes). These attributes track community feedback and solution acceptance, relevant to Question/Answer sites. The content also defines data types of the aforementioned attributes, such as `Integer` and `Answer`.\n"]]