Difference between revisions of "Kino web"
From Knoesis wiki
(Created page with "== Coming soon ==") |
(→Example) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == Conceptual idea == |
+ | The idea behind Kino<sup>w</sup> is same as Kino<sup>E</sup> but applied to general Web resources with schema.org and LOD annotations. | ||
+ | |||
+ | == Example == | ||
+ | The following is a fragment from the page source of Yahoo flickr photo upload API description ([http://www.flickr.com/services/api/upload.api.html online], Retrieved 09/26/2011). | ||
+ | <pre> | ||
+ | <!-- ########################################################## --> | ||
+ | |||
+ | <h3>Arguments</h3> | ||
+ | |||
+ | <dl> | ||
+ | <dt><code>photo</code></dt> | ||
+ | <dd>The file to upload.</dd> | ||
+ | |||
+ | <dt><code>title</code> (optional)</dt> | ||
+ | <dd>The title of the photo.</dd> | ||
+ | |||
+ | <dt><code>description</code> (optional)</dt> | ||
+ | <dd>A description of the photo. May contain some limited HTML.</dd> | ||
+ | |||
+ | <dt><code>tags</code> (optional)</dt> | ||
+ | <dd>A space-seperated list of tags to apply to the photo.</dd> | ||
+ | |||
+ | <dt><code>is_public, is_friend, is_family</code> (optional)</dt> | ||
+ | <dd>Set to 0 for no, 1 for yes. Specifies who can view the photo.</dd> | ||
+ | |||
+ | <dt><code>safety_level</code> (optional)</dt> | ||
+ | <dd>Set to 1 for Safe, 2 for Moderate, or 3 for Restricted.</dd> | ||
+ | |||
+ | <dt><code>content_type</code> (optional)</dt> | ||
+ | <dd>Set to 1 for Photo, 2 for Screenshot, or 3 for Other.</dd> | ||
+ | |||
+ | <dt><code>hidden</code> (optional)</dt> | ||
+ | <dd>Set to 1 to keep the photo in global search results, 2 to hide from public searches.</dd> | ||
+ | </dl> | ||
+ | |||
+ | <!-- ########################################################## --> | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | |||
+ | The same fragment, with SA-REST annotations, is as follows. | ||
+ | |||
+ | <pre> | ||
+ | |||
+ | <!-- ########################################################## --> | ||
+ | <div class="domain-rel" title="sarest:InputMessage"> | ||
+ | <h3>Arguments</h3> | ||
+ | |||
+ | <dl> | ||
+ | <dt class="domain-rel" title="sarest:Parameter"><code class="domain-rel" class="http://schema.org/Photograph">photo</code></dt> | ||
+ | <dd>The file to upload.</dd> | ||
+ | |||
+ | <dt class="domain-rel" title="sarest:Parameter"><code>title</code> (optional)</dt> | ||
+ | <dd>The title of the photo.</dd> | ||
+ | |||
+ | <dt class="domain-rel" title="sarest:Parameter"><code>description</code> (optional)</dt> | ||
+ | <dd>A description of the photo. May contain some limited HTML.</dd> | ||
+ | |||
+ | <dt class="domain-rel" title="sarest:Parameter"><code>tags</code> (optional)</dt> | ||
+ | <dd>A space-seperated list of tags to apply to the photo.</dd> | ||
+ | |||
+ | <dt class="domain-rel" title="sarest:Parameter"><code>is_public, is_friend, is_family</code> (optional)</dt> | ||
+ | <dd>Set to 0 for no, 1 for yes. Specifies who can view the photo.</dd> | ||
+ | |||
+ | <dt class="domain-rel" title="sarest:Parameter"><code>safety_level</code> (optional)</dt> | ||
+ | <dd>Set to 1 for Safe, 2 for Moderate, or 3 for Restricted.</dd> | ||
+ | |||
+ | <dt class="domain-rel" title="sarest:Parameter"><code>content_type</code> (optional)</dt> | ||
+ | <dd>Set to 1 for Photo, 2 for Screenshot, or 3 for Other.</dd> | ||
+ | |||
+ | <dt class="domain-rel" title="sarest:Parameter"><code>hidden</code> (optional)</dt> | ||
+ | <dd>Set to 1 to keep the photo in global search results, 2 to hide from public searches.</dd> | ||
+ | </dl> | ||
+ | </div> | ||
+ | <!-- ########################################################## --> | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | The full documents are available [http://knoesis1.wright.edu/~w002ahr/SA-REST/resources/annotation_examples.zip here] |
Latest revision as of 16:31, 26 September 2011
Conceptual idea
The idea behind Kinow is same as KinoE but applied to general Web resources with schema.org and LOD annotations.
Example
The following is a fragment from the page source of Yahoo flickr photo upload API description (online, Retrieved 09/26/2011).
<!-- ########################################################## --> <h3>Arguments</h3> <dl> <dt><code>photo</code></dt> <dd>The file to upload.</dd> <dt><code>title</code> (optional)</dt> <dd>The title of the photo.</dd> <dt><code>description</code> (optional)</dt> <dd>A description of the photo. May contain some limited HTML.</dd> <dt><code>tags</code> (optional)</dt> <dd>A space-seperated list of tags to apply to the photo.</dd> <dt><code>is_public, is_friend, is_family</code> (optional)</dt> <dd>Set to 0 for no, 1 for yes. Specifies who can view the photo.</dd> <dt><code>safety_level</code> (optional)</dt> <dd>Set to 1 for Safe, 2 for Moderate, or 3 for Restricted.</dd> <dt><code>content_type</code> (optional)</dt> <dd>Set to 1 for Photo, 2 for Screenshot, or 3 for Other.</dd> <dt><code>hidden</code> (optional)</dt> <dd>Set to 1 to keep the photo in global search results, 2 to hide from public searches.</dd> </dl> <!-- ########################################################## -->
The same fragment, with SA-REST annotations, is as follows.
<!-- ########################################################## --> <div class="domain-rel" title="sarest:InputMessage"> <h3>Arguments</h3> <dl> <dt class="domain-rel" title="sarest:Parameter"><code class="domain-rel" class="http://schema.org/Photograph">photo</code></dt> <dd>The file to upload.</dd> <dt class="domain-rel" title="sarest:Parameter"><code>title</code> (optional)</dt> <dd>The title of the photo.</dd> <dt class="domain-rel" title="sarest:Parameter"><code>description</code> (optional)</dt> <dd>A description of the photo. May contain some limited HTML.</dd> <dt class="domain-rel" title="sarest:Parameter"><code>tags</code> (optional)</dt> <dd>A space-seperated list of tags to apply to the photo.</dd> <dt class="domain-rel" title="sarest:Parameter"><code>is_public, is_friend, is_family</code> (optional)</dt> <dd>Set to 0 for no, 1 for yes. Specifies who can view the photo.</dd> <dt class="domain-rel" title="sarest:Parameter"><code>safety_level</code> (optional)</dt> <dd>Set to 1 for Safe, 2 for Moderate, or 3 for Restricted.</dd> <dt class="domain-rel" title="sarest:Parameter"><code>content_type</code> (optional)</dt> <dd>Set to 1 for Photo, 2 for Screenshot, or 3 for Other.</dd> <dt class="domain-rel" title="sarest:Parameter"><code>hidden</code> (optional)</dt> <dd>Set to 1 to keep the photo in global search results, 2 to hide from public searches.</dd> </dl> </div> <!-- ########################################################## -->
The full documents are available here