<docbook><section><title>VirtMOATSettings</title><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">MOAT Settings Management</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">What is MOAT?</bridgehead>
 MOAT (Meaning Of A Tag) provides a Semantic Web framework to publish semantically-annotated content from free-tagging.<para>While tags are widely used in Web 2.0 services, their lack of machine-understandable meaning can be a problem for information retrieval, especially when people use tags that can have different meanings depending on the context.</para>
<para>MOAT aims to solve this by providing a way for users to define meaning(s) of their tag(s) using URIs of Semantic Web resources (such as URIs from <ulink url="http://dbpedia.org/">DBpedia</ulink>, <ulink url="http://geonames.org/">GeoNames</ulink>, or any knowledge base), and then annotate content with those URIs rather than free-text tags, leveraging content into Semantic Web, by <ulink url="http://linkeddata.org/">linking</ulink> data together.
 Moreover, tag meanings can be shared between people, providing an architecture of participation to define and exchange potential meanings of tags within a community of users.</para>
<para>To achieve this goal, MOAT relies on an architecture that can be deployed for any organization or community and that involves a lightweight ontology, a MOAT server, and some third-party clients.</para>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">MOAT Server</bridgehead>
<para>MOAT Server is a application that serves tag meanings (in HTML, JSON or RDF/XML, using content negotiation for any Tag you request.
 The server is shipped without any data, which means that users have first to define meanings for their tags (thanks to the clients they use, that will then update the server information) to efficiently use it, using data available on the Semantic Web, especially from the Linked Data initiative.</para>
<para>A Virtuoso instance that has one or more MOAT meanings is a valid MOAT server.
 When accessed the following URL, returns as result a valid MOAT RDF: </para>
<programlisting>http://host:port/dataspace/tag/&lt;tag-name&gt;
</programlisting><para> For example <ulink url="http://myopenlink.net/dataspace/tag/test">http://myopenlink.net/dataspace/tag/test</ulink> returns the MOAT RDF file: </para>
<programlisting>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;rdf:RDF
      xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;
      xmlns:rdfs=&quot;http://www.w3.org/2000/01/rdf-schema#&quot;
      xmlns:moat=&quot;http://moat-project.org/ns#&quot;
      xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot;&gt;

&lt;moat:Tag rdf:about=&quot;http://myopenlink.net/dataspace/tag/test&quot;&gt;
  &lt;moat:name&gt;&lt;![CDATA[test]]&gt;&lt;/moat:name&gt;

&lt;/moat:Tag&gt;

&lt;/rdf:RDF&gt;
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Using the MOAT Ontology to Give Meaning to my Data Space Content Tags</bridgehead>
<orderedlist spacing="compact"><listitem>Log in to ODS as administrator </listitem>
<listitem>Go to Site Settings-&gt;Web Application Configuration </listitem>
<listitem>In the shown form enter &quot;MOAT server&quot; and &quot;MOAT server key&quot; fields.
 For ex: <orderedlist spacing="compact"><listitem>Enter for &quot;MOAT server&quot;: http://tags.moat-project.org/ </listitem>
<listitem>Enter for &quot;MOAT server key&quot;: tagging <figure><graphic fileref="VirtMOATSettings/mt1.png" /></figure> </listitem>
</orderedlist></listitem>
<listitem>Click the &quot;Set&quot; button.</listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">ODS Data Space Content Tag MOAT Ontology Usage</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Content Tagging Settings</bridgehead>
<orderedlist spacing="compact"><listitem>Login as regular user </listitem>
<listitem>Go to Settings-&gt;Content Tagging Settings <figure><graphic fileref="VirtMOATSettings/mt2.png" /></figure> </listitem>
<listitem>Click Add New Rule </listitem>
<listitem>Enter &quot;Ruleset Name&quot;.
 For example: paris </listitem>
<listitem>In the &quot;Tagging Rules&quot; section enter: <orderedlist spacing="compact"><listitem>For &quot;Query&quot; and &quot;Tag&quot; for example: paris <figure><graphic fileref="VirtMOATSettings/mt3.png" /></figure> </listitem>
<listitem>Click the Add button.
<figure><graphic fileref="VirtMOATSettings/mt4.png" /></figure> </listitem>
</orderedlist></listitem>
<listitem>As result in the &quot;Action&quot; column will be shown the &quot;MOAT&quot; button.
 Click it.
<figure><graphic fileref="VirtMOATSettings/mt5.png" /></figure> </listitem>
<listitem>Add for &quot;Meaning URL&quot; for example: http://google.com?q=paris and click the button &quot;Add&quot; or you can also click the &quot;Import meanings&quot; button.
 This will cause a request to the entered from above MOAT server and will return as result if found meaning URLs for the relevant tag such as for example: <programlisting>http://sws.geonames.org/2988507/
http://sws.geonames.org/4402
http://dbpedia.org/resource/Paris
</programlisting><figure><graphic fileref="VirtMOATSettings/mt6.png" /></figure> </listitem>
<listitem>Click the &quot;Save&quot; button.
</listitem>
<listitem>Now in the Ruleset form click the &quot;Save&quot; button.
<figure><graphic fileref="VirtMOATSettings/mt7.png" /></figure></listitem>
</orderedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4">Weblog post message</bridgehead>
<orderedlist spacing="compact"><listitem>Suppose you have entered as above MOAT server and have defined a rule set with name &quot;paris&quot;.
</listitem>
<listitem>Go to your Weblog instance <figure><graphic fileref="VirtMOATSettings/mt8.png" /></figure> </listitem>
<listitem>Click the link &quot;New post&quot; <figure><graphic fileref="VirtMOATSettings/mt9.png" /></figure> </listitem>
<listitem>Enter in the form: <orderedlist spacing="compact"><listitem>for Title: my blog test </listitem>
<listitem>for Message: this is my blog test for MOAT </listitem>
</orderedlist></listitem>
<listitem>Enter in the Tags section: paris <figure><graphic fileref="VirtMOATSettings/mt10.png" /></figure> </listitem>
<listitem>Click the MOAT tab </listitem>
<listitem>As result will be shown: <programlisting>Associate your tags, in the current context, with one or more of the following 
things or concepts:
-&gt;paris
</programlisting><figure><graphic fileref="VirtMOATSettings/mt11.png" /></figure> </listitem>
<listitem>Click the <emphasis>paris</emphasis> link </listitem>
<listitem>As result will be shown the meaning URLs with check-boxes.
 You can un-check them or add new one in the empty field below.
</listitem>
<listitem>Click the button &quot;Post&quot;.</listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Weblog Automatic links and Content Hyperlinking</bridgehead>
<orderedlist spacing="compact"><listitem>Suppose you have entered as above MOAT server and have defined a rule set with name &quot;paris&quot;.
</listitem>
<listitem>Go to Settings-&gt;Content Hyperlinking <figure><graphic fileref="VirtMOATSettings/mt12.png" /></figure> </listitem>
<listitem>Click the &quot;Import from MOAT&quot; button.
</listitem>
<listitem>Select a URI and phrase from the retrieved ones.
 Note that only one URI can be imported for each phrase, . <figure><graphic fileref="VirtMOATSettings/mt13.png" /></figure> </listitem>
<listitem>As result the phrase for hyperlink will be added <figure><graphic fileref="VirtMOATSettings/mt14.png" /></figure> </listitem>
<listitem>Now go to your Weblog instance <figure><graphic fileref="VirtMOATSettings/mt8.png" /></figure> </listitem>
<listitem>Click the link &quot;New post&quot; <figure><graphic fileref="VirtMOATSettings/mt9.png" /></figure> </listitem>
<listitem>Enter in the form: <orderedlist spacing="compact"><listitem>for Title: my second blog test </listitem>
<listitem>for Message: Where is paris? <figure><graphic fileref="VirtMOATSettings/mt15.png" /></figure> </listitem>
</orderedlist></listitem>
<listitem>Click the button &quot;Post&quot;.
</listitem>
<listitem>Go to Home.
</listitem>
<listitem>As result the phrase &quot;paris&quot; will be shown as a link in the new post body, and this link will lead to the URI you have selected when importing from MOAT from above.
<figure><graphic fileref="VirtMOATSettings/mt16.png" /></figure></listitem>
</orderedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">Hyperlinking Notes</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="ODSWeblogAutomaticHyperlinking">ODS Weblog Automatic Hyperlinking Notes</ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3">How to stop the Automatic Links for a relevant string?</bridgehead>
<para>At the moment, you cannot stop Automatic Links only for a chosen string.
 You can turn them off for an entire post, by including the following tag anywhere in the article -- </para>
<programlisting>&lt;no-auto-href /&gt;
</programlisting><para><ulink url="OpenLink">OpenLink</ulink> recommends that the author always place the &lt;no-auto-href /&gt; at the very end and/or the very beginning of a post, so it is easily visible to later editors.</para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Reference</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://moat-project.org/">MOAT project</ulink></listitem>
</itemizedlist><para><ulink url="CategoryODS">CategoryODS</ulink> <ulink url="CategoryVirtuoso">CategoryVirtuoso</ulink> <ulink url="CategoryMOAT">CategoryMOAT</ulink> <ulink url="CategoryDocumentation">CategoryDocumentation</ulink> <ulink url="CategoryWebSite">CategoryWebSite</ulink> </para>
</section></docbook>