Add draft for QA
authorscor <scorlosquet@gmail.com>
Wed, 11 Dec 2013 23:32:59 -0500
changeset 166 7befd20efb66
parent 165 8ba04e875dc5
child 167 6910d4e4591a
Add draft for QA
schema.org/ext/QA.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema.org/ext/QA.html	Wed Dec 11 23:32:59 2013 -0500
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>RDFa Lite Reflection</title>
+    <style type="text/css">
+      span.h {
+        padding-left: 0px;
+        font-weight: bold;
+      }
+      span {
+        display: block;
+        padding-left: 10px;
+      }
+    </style>
+  </head>
+  <body>
+    <h1>Questions and answers extension for schema.org</h1>
+    <p>Enrichment of Schema.org to enable annotation of questions and answers type of content.</p>
+    <p>See <a href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">wiki</a> for details.</p>
+
+    <!--  New Question class. -->
+    <div typeof="rdfs:Class" resource="http://schema.org/Question">
+      <span class="h" property="rdfs:label">Question</span>
+      <span property="rdfs:comment">A detailled question that a user is seeking an answer from a community of experts.</span>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+    <!--  New properties for the new Question class. -->
+    <div typeof="rdf:Property" resource="http://schema.org/upvoteCount">
+      <span class="h" property="rdfs:label">upvoteCount</span>
+      <span property="rdfs:comment">The number of upvotes this questions has received from the community.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Question">Question</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Answer">Answer</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Comment">Comment</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Integer</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/downvoteCount">
+      <span class="h" property="rdfs:label">downvoteCount</span>
+      <span property="rdfs:comment">The number of downvotes this questions has received from the community.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Question">Question</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Answer">Answer</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Comment">Comment</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Integer</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/viewCount">
+      <span class="h" property="rdfs:label">viewCount</span>
+      <span property="rdfs:comment">The number of times this questions has viewed.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Question">Question</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Integer</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/lastEditor">
+      <span class="h" property="rdfs:label">lastEditor</span>
+      <span property="rdfs:comment">The user who last edited this question or answer.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Question">Question</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Answer">Answer</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Person">Person</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/answerCount">
+      <span class="h" property="rdfs:label">answerCount</span>
+      <span property="rdfs:comment">The number of answers this question has received.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Question">Question</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Integer</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/commentCount">
+      <span class="h" property="rdfs:label">commentCount</span>
+      <span property="rdfs:comment">The number of comments this question or answer has received.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Question">Question</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Answer">Answer</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Integer</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/acceptedAnswer">
+      <span class="h" property="rdfs:label">acceptedAnswer</span>
+      <span property="rdfs:comment">The answer the owner of the original question has accepted as best answer.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Question">Question</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Answer">Answer</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+
+    <!--  New Answer class. -->
+    <div typeof="rdfs:Class" resource="http://schema.org/Answer">
+      <span class="h" property="rdfs:label">Answer</span>
+      <span property="rdfs:comment">An answer to a question.</span>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+    <!--  New properties for the new Answer class. -->
+    <div typeof="rdf:Property" resource="http://schema.org/parentItem">
+      <span class="h" property="rdfs:label">parentItem</span>
+      <span property="rdfs:comment">The parent of a question, answer or item in general.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Answer">Answer</a></span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Comment">Comment</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Question">Question</a></span>
+      <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/QASchemaResearch">QASchemaResearch</a></span>
+    </div>
+
+    <hr />
+
+
+  </body>
+</html>