New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General chaos around questions/answers in ReplyAction, AskAction vs Question, Answer, question property vs lack of answer property. #300

Closed
vholland opened this Issue Jan 28, 2015 · 14 comments

Comments

@vholland
Contributor

vholland commented Jan 28, 2015

http://schema.org/ReplyAction
http://schema.org/Answer

Original issue: I was looking at the lint errors outlined in issue #53. At some point in the proposal process, ReplyAction had an "answer" property, which was removed prior to official adoption. It would be useful to link ReplyAction to schema.org/Answer in some way, so the body of the reply can be modeled.

Consider also #183 re RsvpAction

Notes:

when the Question + Answer vocab was modeled we originally made an 'answer' property to point to answer. Later it became 'http://schema.org/suggestedAnswer' which was a superproperty of the more specific http://schema.org/acceptedAnswer. Meanwhile the q/a-related action types AskAction, ReplyAction have an example (which uses AskAction but is catalogued against the ReplyAction type in data/examples.txt) which uses simple textual values (rather than e.g. 'text' property of an Answer or Question). This all needs some cleaning.

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Jan 29, 2015

Contributor

Related vocabulary (see UserComments cleanup issue #170 ):

If we are modeling replies, we might pause briefly at least to consider possibility of modeling more of http://schema.org/EmailMessage (although modeling all of email headers is a big task).

Contributor

danbri commented Jan 29, 2015

Related vocabulary (see UserComments cleanup issue #170 ):

If we are modeling replies, we might pause briefly at least to consider possibility of modeling more of http://schema.org/EmailMessage (although modeling all of email headers is a big task).

@danbri danbri added this to the 2015 Q1 milestone Jan 30, 2015

@danbri danbri assigned danbri and vholland and unassigned danbri Jan 30, 2015

@danbri danbri referenced this issue Apr 9, 2015

Closed

Meta bug for sdo-gozer release - vocab issues #418

19 of 36 tasks complete

@danbri danbri modified the milestones: sdo-gozer release, 2015 Q1 Apr 17, 2015

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Apr 17, 2015

Contributor

@vholland

Vicki, I've filed this under Gozer for now. Any thoughts on whether that is feasible? Feels like a worthy thing to clean up alongside UserComments?

Contributor

danbri commented Apr 17, 2015

@vholland

Vicki, I've filed this under Gozer for now. Any thoughts on whether that is feasible? Feels like a worthy thing to clean up alongside UserComments?

@vholland

This comment has been minimized.

Show comment
Hide comment
@vholland

vholland Apr 17, 2015

Contributor

It seems like we should be able to add the "comment" property to RsvpAction, so someone can provide something of type Comment.

The only question in my mind is whether "comment" will be renamed as part of issue #417.

Contributor

vholland commented Apr 17, 2015

It seems like we should be able to add the "comment" property to RsvpAction, so someone can provide something of type Comment.

The only question in my mind is whether "comment" will be renamed as part of issue #417.

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Apr 17, 2015

Contributor

(I vote for leaving 'comment' as-is)

Contributor

danbri commented Apr 17, 2015

(I vote for leaving 'comment' as-is)

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Apr 22, 2015

Contributor

@vholland so sdo-gozer already has 'comment' on RsvpAction, see http://sdo-gozer.appspot.com/docs/releases.html#sdo-gozer "F*x to #183: comment property now applicable to an RsvpAction, and can have Comment as values.".

Can you elaborate on how this relates to the ReplyAction and Answer situation?

Perhaps every Question, and every Answer, is a Comment? we don't have that type structure currently. And we do do say that a Comment is a comment on something, whereas Question is more free-floating. Answer at least seems to be a candidate for being a Comment subtype. In which case setting domainIncludes on 'comment' to cover ReplyAction could work: some ReplyAction would have a 'comment' whose value would be some Answer (which is also a Comment via type hierarchy).

Contributor

danbri commented Apr 22, 2015

@vholland so sdo-gozer already has 'comment' on RsvpAction, see http://sdo-gozer.appspot.com/docs/releases.html#sdo-gozer "F*x to #183: comment property now applicable to an RsvpAction, and can have Comment as values.".

Can you elaborate on how this relates to the ReplyAction and Answer situation?

Perhaps every Question, and every Answer, is a Comment? we don't have that type structure currently. And we do do say that a Comment is a comment on something, whereas Question is more free-floating. Answer at least seems to be a candidate for being a Comment subtype. In which case setting domainIncludes on 'comment' to cover ReplyAction could work: some ReplyAction would have a 'comment' whose value would be some Answer (which is also a Comment via type hierarchy).

@vholland

This comment has been minimized.

Show comment
Hide comment
@vholland

vholland Apr 22, 2015

Contributor

I think I was confusing this with issue #183. Otherwise, my reply doesn't make sense, even to me. ;-)

Contributor

vholland commented Apr 22, 2015

I think I was confusing this with issue #183. Otherwise, my reply doesn't make sense, even to me. ;-)

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Apr 22, 2015

Contributor

I started a proposal - draft here https://gist.github.com/danbri/18febeb5334515460be4 - but had 2nd thoughts. Firstly the example tagged as ReplyAction is actually using AskAction. The example has both a question and an answer. Secondly I realise we have a 'question' property whose value is purely text (i.e. unrelated to Question or Answer), whereas 'answer' as a property does not exist. I will retitle this issue to indicate the broader unacceptable mess.

Contributor

danbri commented Apr 22, 2015

I started a proposal - draft here https://gist.github.com/danbri/18febeb5334515460be4 - but had 2nd thoughts. Firstly the example tagged as ReplyAction is actually using AskAction. The example has both a question and an answer. Secondly I realise we have a 'question' property whose value is purely text (i.e. unrelated to Question or Answer), whereas 'answer' as a property does not exist. I will retitle this issue to indicate the broader unacceptable mess.

@danbri danbri changed the title from There is no way to specify an answer in ReplyAction to General chaos around questions/answers in ReplyAction, AskAction vs Question, Answer, question property vs lack of answer property. Apr 22, 2015

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Apr 29, 2015

Contributor

I've closed #444 which noted specifically that "http://schema.org/ReplyAction has an example demonstrating AskAction, and using a bogus 'answer' property. " - seems best dealt with here.

Contributor

danbri commented Apr 29, 2015

I've closed #444 which noted specifically that "http://schema.org/ReplyAction has an example demonstrating AskAction, and using a bogus 'answer' property. " - seems best dealt with here.

@elf-pavlik

This comment has been minimized.

Show comment
Hide comment
@elf-pavlik

elf-pavlik May 1, 2015

Contributor

I see some similarities between

  • Question/Answer vs. AskAction/ReplyAction
  • Demand/Offer vs. TakeAction/GiveAction (as future PotentialAction not past Activity)

Also it makes sense to me that just as people can reply to some Question with many different Answer, people can reply to some Demand with many different Offers. @mfhepp

I started lately experimenting with illustrating relations between Action/Activity and Reification/QualifiedRelation/N-aryRelation in those early/free experiments https://github.com/w3c-social/social-vocab e.g.

Follow

Soon I'll try to follow up with more details on #220

Contributor

elf-pavlik commented May 1, 2015

I see some similarities between

  • Question/Answer vs. AskAction/ReplyAction
  • Demand/Offer vs. TakeAction/GiveAction (as future PotentialAction not past Activity)

Also it makes sense to me that just as people can reply to some Question with many different Answer, people can reply to some Demand with many different Offers. @mfhepp

I started lately experimenting with illustrating relations between Action/Activity and Reification/QualifiedRelation/N-aryRelation in those early/free experiments https://github.com/w3c-social/social-vocab e.g.

Follow

Soon I'll try to follow up with more details on #220

vholland added a commit to vholland/schemaorg that referenced this issue May 1, 2015

Issue #300: Cleaned up AskAction and ReplyAction by tying them to Que…
…stion and Answer respectively. Also cleaned up examples.
@vholland

This comment has been minimized.

Show comment
Hide comment
@vholland

vholland May 1, 2015

Contributor

I'm trying to move this forward. In pull request #467, I

  1. Went with @danbri's suggestion of making http://schema.org/Answer a subtype of http://schema.org/Comment.
  2. Changed http://schema.org/question to expect http://schema.org/Question instead of Text.
  3. Added http://schema.org/resultComment as a property of http://schema.org/ReplyAction.
  4. Cleaned up examples on http://schema.org/AskAction, http://schema.org/ReplyAction, and http://schema.org/QAPage.
Contributor

vholland commented May 1, 2015

I'm trying to move this forward. In pull request #467, I

  1. Went with @danbri's suggestion of making http://schema.org/Answer a subtype of http://schema.org/Comment.
  2. Changed http://schema.org/question to expect http://schema.org/Question instead of Text.
  3. Added http://schema.org/resultComment as a property of http://schema.org/ReplyAction.
  4. Cleaned up examples on http://schema.org/AskAction, http://schema.org/ReplyAction, and http://schema.org/QAPage.
@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri May 1, 2015

Contributor

Thanks, @vholland . Odd: "We can’t automatically merge this pull request.", wonder what clashed. I'll do it manually...

Contributor

danbri commented May 1, 2015

Thanks, @vholland . Odd: "We can’t automatically merge this pull request.", wonder what clashed. I'll do it manually...

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri May 1, 2015

Contributor

This is it. Can you confirm what the domain/range ought to be?

<div typeof="rdf:Property" resource="http://schema.org/resultComment">
  <span class="h" property="rdfs:label">resultComment</span>
  <span property="rdfs:comment">A sub property of result. The Comment created or sent as a result of this action.</span>
  <link property="rdfs:subPropertyOf" href="http://schema.org/result" />
  <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CommentAction">CommentAction</a></span>
<<<<<<< HEAD
=======
  <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ReplyAction">ReplyAction</a></span>
>>>>>>> d92b4ee0b6d08c324a8f561b5f2a9f0be8841b1b
  <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Comment">Comment</a></span>
</div>

Assuming for now that we want both CommentAction, ReplyAction in domain, and Comment as range.

Contributor

danbri commented May 1, 2015

This is it. Can you confirm what the domain/range ought to be?

<div typeof="rdf:Property" resource="http://schema.org/resultComment">
  <span class="h" property="rdfs:label">resultComment</span>
  <span property="rdfs:comment">A sub property of result. The Comment created or sent as a result of this action.</span>
  <link property="rdfs:subPropertyOf" href="http://schema.org/result" />
  <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CommentAction">CommentAction</a></span>
<<<<<<< HEAD
=======
  <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ReplyAction">ReplyAction</a></span>
>>>>>>> d92b4ee0b6d08c324a8f561b5f2a9f0be8841b1b
  <span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Comment">Comment</a></span>
</div>

Assuming for now that we want both CommentAction, ReplyAction in domain, and Comment as range.

danbri added a commit that referenced this issue May 1, 2015

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri May 1, 2015

Contributor

Changes + docs/releases.html update are in and pushed:

Please take a look - http://sdo-gozer.appspot.com/docs/releases.html#sdo-gozer and nearby.

Contributor

danbri commented May 1, 2015

Changes + docs/releases.html update are in and pushed:

Please take a look - http://sdo-gozer.appspot.com/docs/releases.html#sdo-gozer and nearby.

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri May 6, 2015

Contributor

I believe this was fixed in #300 ... closing.

Contributor

danbri commented May 6, 2015

I believe this was fixed in #300 ... closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment