Skip to content

Comment, Question, Answer and parentItem #851

Open
tilgovi opened this Issue Oct 26, 2015 · 1 comment

2 participants

@tilgovi
tilgovi commented Oct 26, 2015

It seems that #112 was resolved by 9e83707 with the upvoteCount and downvoteCount properties having their comment clarified.

However, parentItem, also mentioned in #112, seems to not be clear. It is currently a property of Answer, although its description contains language similar to upvoteCount and downvoteCount.

I see a couple ways to resolve this:

  • Clarify the comment on parentItem to state that it refers to the parent question.
  • Make Question a sub-class of Comment and move parentItem to Comment.
  • Create a common super-class for Comment and Question.
  • Move parentItem to CreativeWork.

The first of these I dislike because the property is called parentItem.

The second of these makes some sense to me.

The third of these also makes sense. It could be Communication, which could also be the object of some property of CommunicateAction.

The last would be fine, too.

In any case, the parentItem name is a little iffy, but not a big deal.

@danbri
danbri commented Oct 28, 2015

Thanks, yeah that property does seem a bit awkward.

Copying my forgotten comment from #112:

Also maybe "The parent of a question, answer or item in general."
 -> "The parent of a question, answer or comment item in general."? 
(http://schema.org/parentItem)

I'm not sure what is best to do here. Thanks for raising for options for discussion :)

/cc @scor who contributed on the Question/Answer work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.