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 DBpedia, GeoNames, or any knowledge base), and then annotate content with those URIs rather than free-text tags, leveraging content into Semantic Web, by 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/<tag-name>

For example http://myopenlink.net/dataspace/tag/test returns the MOAT RDF file:


<?xml version="1.0" encoding="utf-8"?>

<rdf:RDF
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:moat="http://moat-project.org/ns#"
      xmlns:foaf="http://xmlns.com/foaf/0.1/">

<moat:Tag rdf:about="http://myopenlink.net/dataspace/tag/test">
  <moat:name><![CDATA[test]]></moat:name>

</moat:Tag>

</rdf:RDF>

Using the MOAT Ontology to Give Meaning to my Data Space Content Tags

  1. Log in to ODS as administrator
  2. Go to Site Settings->Web Application Configuration
  3. In the shown form enter "MOAT server" and "MOAT server key" fields. For ex:
    1. Enter for "MOAT server": http://tags.moat-project.org/
    2. Enter for "MOAT server key": tagging



  4. Click the "Set" button.

ODS Data Space Content Tag MOAT Ontology Usage

Content Tagging Settings

  1. Login as regular user
  2. Go to Settings->Content Tagging Settings



  3. Click Add New Rule
  4. Enter "Ruleset Name". For example: paris
  5. In the "Tagging Rules" section enter:
    1. For "Query" and "Tag" for example: paris



    2. Click the Add button.



  6. As result in the "Action" column will be shown the "MOAT" button. Click it.



  7. 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





  8. Click the "Save" button.
  9. Now in the Ruleset form click the "Save" button.



Weblog post message

  1. Suppose you have entered as above MOAT server and have defined a rule set with name "paris".
  2. Go to your Weblog instance



  3. Click the link "New post"



  4. Enter in the form:
    1. for Title: my blog test
    2. for Message: this is my blog test for MOAT
  5. Enter in the Tags section: paris



  6. Click the MOAT tab
  7. As result will be shown:

    Associate your tags, in the current context, with one or more of the following things or concepts: ->paris





  8. Click the paris link
  9. 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.
  10. 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".
  2. Go to Settings->Content Hyperlinking



  3. Click the "Import from MOAT" button.
  4. Select a URI and phrase from the retrieved ones. Note that only one URI can be imported for each phrase, .



  5. As result the phrase for hyperlink will be added



  6. Now go to your Weblog instance



  7. Click the link "New post"



  8. Enter in the form:
    1. for Title: my second blog test
    2. for Message: Where is paris?



  9. Click the button "Post".
  10. Go to Home.
  11. 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.



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 --


<no-auto-href />

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

CategoryODS CategoryVirtuoso CategoryMOAT CategoryDocumentation CategoryWebSite