Is it possible to list multiple questions in the question markup and link them to one QAPage
?
When I try the following JSON-LD, the Google test tool responds with the error that there is only one question allowed:
Exactly one
Question
expected on page forQAPage
.
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "QAPage",
"@id": "QAPage1",
"description":"Blabla Blabla Blabla Blabla Blabla Blabla.",
"image":"https://www.example.com/images/blabla.jpg",
"name":"Blabla Blabla.",
"url":"https://www.example.com"
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "Question",
"@id": "Question1",
"name": "Is this question 1?",
"upvoteCount": "196",
"text": "Is this question 1?",
"dateCreated": "2010-11-04T20:07Z",
"author": {
"@type": "Person",
"name": "someuser"
},
"answerCount": "4",
"acceptedAnswer": {
"@type": "Answer",
"upvoteCount": "1337",
"url": "https://www.example.com",
"text": "(The text of the accepted answer goes here...).",
"dateCreated": "2010-12-01T22:01Z",
"author": {
"@type": "Person",
"name": "someuser"
}
},
"suggestedAnswer": {
"@type": "Answer",
"upvoteCount": "39",
"url": "https://www.example.com",
"text": "(The text of the accepted answer goes here...).",
"dateCreated": "2010-12-06T21:11Z",
"author": {
"@type": "Person",
"name": "lonelyuser1234"
}
},
"mainEntityOfPage": "QAPage1"
},
{
"@type": "Question",
"@id": "Question2",
"name": "Is this question 2?",
"upvoteCount": "196",
"text": "Is this question 2?",
"dateCreated": "2010-11-04T20:07Z",
"author": {
"@type": "Person",
"name": "someuser"
},
"answerCount": "4",
"acceptedAnswer": {
"@type": "Answer",
"upvoteCount": "1337",
"url": "https://www.example.com",
"text": "(The text of the accepted answer goes here...).",
"dateCreated": "2010-12-01T22:01Z",
"author": {
"@type": "Person",
"name": "someuser"
}
},
"suggestedAnswer": {
"@type": "Answer",
"upvoteCount": "39",
"url": "https://www.example.com",
"text": "(The text of the accepted answer goes here...).",
"dateCreated": "2010-12-06T21:11Z",
"author": {
"@type": "Person",
"name": "lonelyuser1234"
}
},
"mainEntityOfPage": "QAPage1"
}
]
}
</script>
I think it makes sense to allow more than one question per page. In my case it is a FAQ page where are several questions an answers. Is there anyone who has solved that problem?