%VOSWARNING%
---++MOAT Settings Management
---+++What is MOAT?
MOAT (Meaning Of A Tag) provides a Semantic Web framework to publish semantically-annotated
content from free-tagging.
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.
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 [[http://dbpedia.org/][DBpedia]],
[[http://geonames.org/][GeoNames]], or any knowledge base), and then annotate content with
those URIs rather than free-text tags, leveraging content into Semantic Web, by
[[http://linkeddata.org/][linking]] 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.
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.
---+++MOAT Server
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.
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:
http://host:port/dataspace/tag/
For example http://myopenlink.net/dataspace/tag/test returns the MOAT RDF file:
---+++Using the MOAT Ontology to Give Meaning to my Data Space Content Tags
1. Log in to ODS as administrator
1. Go to Site Settings->Web Application Configuration
1. In the shown form enter "MOAT server" and "MOAT server key" fields. For ex:
1. Enter for "MOAT server": http://tags.moat-project.org/
1. Enter for "MOAT server key": tagging
%BR%%BR%%BR%%BR%
1. Click the "Set" button.
---+++ODS Data Space Content Tag MOAT Ontology Usage
---++++Content Tagging Settings
1. Login as regular user
1. Go to Settings->Content Tagging Settings
%BR%%BR%%BR%%BR%
1. Click Add New Rule
1. Enter "Ruleset Name". For example: paris
1. In the "Tagging Rules" section enter:
1. For "Query" and "Tag" for example: paris
%BR%%BR%%BR%%BR%
1. Click the Add button.
%BR%%BR%%BR%%BR%
1. As result in the "Action" column will be shown the "MOAT" button. Click it.
%BR%%BR%%BR%%BR%
1. Add for "Meaning URL" for example: http://google.com?q=paris
and click the button "Add" or
you can also click the "Import meanings" 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:
http://sws.geonames.org/2988507/
http://sws.geonames.org/4402
http://dbpedia.org/resource/Paris
%BR%%BR%%BR%%BR%
1. Click the "Save" button.
1. Now in the Ruleset form click the "Save" button.
%BR%%BR%%BR%%BR%
---++++Weblog post message
1. Suppose you have entered as above MOAT server and have defined a rule set with name
"paris
".
1. Go to your Weblog instance
%BR%%BR%%BR%%BR%
1. Click the link "New post"
%BR%%BR%%BR%%BR%
1. Enter in the form:
1. for Title: my blog test
1. for Message: this is my blog test for MOAT
1. Enter in the Tags section: paris
%BR%%BR%%BR%%BR%
1. Click the MOAT tab
1. As result will be shown:
Associate your tags, in the current context, with one or more of the following
things or concepts:
->paris
%BR%%BR%%BR%%BR%
1. Click the *paris* link
1. 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.
1. Click the button "Post".
---+++Weblog Automatic links and Content Hyperlinking
1. Suppose you have entered as above MOAT server and have defined a rule set with name
"paris
".
1. Go to Settings->Content Hyperlinking
%BR%%BR%%BR%%BR%
1. Click the "Import from MOAT" button.
1. Select a URI and phrase from the retrieved ones. Note that only one URI can be
imported for each phrase, .
%BR%%BR%%BR%%BR%
1. As result the phrase for hyperlink will be added
%BR%%BR%%BR%%BR%
1. Now go to your Weblog instance
%BR%%BR%%BR%%BR%
1. Click the link "New post"
%BR%%BR%%BR%%BR%
1. Enter in the form:
1. for Title: my second blog test
1. for Message: Where is paris?
%BR%%BR%%BR%%BR%
1. Click the button "Post".
1. Go to Home.
1. As result the phrase "paris" 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.
%BR%%BR%%BR%%BR%
---+++Hyperlinking Notes
* [[ODSWeblogAutomaticHyperlinking][ODS Weblog Automatic Hyperlinking Notes]]
---+++How to stop the Automatic Links for a relevant string?
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 --
OpenLink recommends that the author always place the
<no-auto-href />
at the very end and/or the very
beginning of a post, so it is easily visible to later editors.
---++Reference
* [[http://moat-project.org/][MOAT project]]
CategoryODS CategoryVirtuoso CategoryMOAT CategoryDocumentation CategoryWebSite