Difference between revisions of "App/ontology"

From mx Help Wiki
Jump to: navigation, search
Line 1: Line 1:
== Overview ==
+
The mx database infrastructure includes an ontology building module that is easy to use and quite powerful. We're using mx as the backend of our [http://hymglossary.tamu.edu Hymenoptera Glossary]. Information on how to use it is included below.
  
Ontologies in mx consist of user definable terms, relationship types, and relationships among terms.  Terms can be tagged.  References can be tied directly to terms through definitions, or through tags.  Images can be attached to terms using figures.
+
----
  
== Welcome Screen ==
+
<table>
[[Image:welcome.png]]
+
<tr>
<br />
+
<td width="400">
<p>
+
[[App/ontology]] - Welcome Screen<br />
When you see this screen you are ready to begin! There are five '''tabs''' across the top:
+
The first screen you see when you log in and select the Hymenoptera Ontology project link.
<ul>
+
</td>
<li>Ontology - this is the default screen (the one you see here)</li>
+
<td>
<li>OTUs - the taxa to which morphological concepts apply</li>
+
[[ Image:welcomeSmall.png]]
<li>Refs - where are references, keywords, tags, and serials are added and edited</li>
+
</td>
<li>Images - images are uploaded here and can be tied to terms. We may be using Morphbank for this function, though we can discuss it further.</li>
+
</tr>
<li>Tags - the master list of tags for your perusal.</li>
+
</table>
</ul>
+
There are also links on the right for '''adding a term''', '''listing all the terms''' and '''viewing the latest edits''' (check under "more options," where you will also find options to dump the ontology as an OBO flat file).<br />
+
<br />
+
<br />
+
== Search for Term ==
+
  
[[Image:search.png]]
+
----
<br />
+
<br />
+
Before you enter a term you should see if it is already in the database. As you type into the search box the terms will automatically appear. If you see what you are looking for click that term and the press 'Show.' The results in the drop down include: name of term, 2. internal mx id, 2. xref (if applied), 3. term curator and year.
+
<br />
+
<br />
+
  
== Add a Term ==
+
<table>
[[Image:AddTermv2.png]]
+
<tr>
 +
<td width="400">
 +
[[App/ontology#Search for Term]] - Search for Term<br />
 +
Search for the term you want to enter to see if it is already there.
 +
</td>
 +
<td>
 +
[[Image:searchSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
  
Adding terms is also fairly easy:
+
----
# Click on the 'new' link to add a term.
+
# Keystroke the word(s) (all lowercase unless a capital is warranted, e.g., for proper names like Waterston's organ).
+
# Add a definition in [[How we construct definitions|genus-differentia]] format that starts with a capital letter and ends with a period.
+
# Add OBO dbxref if from another ontology at OBO Foundary.
+
# Tie the term to the reference from which the definition was copied verbatim or from which the concept was derived. Curators are added to the references so they appear in the search (see example image).
+
# Tie it to the highest taxon for which this term applies.
+
# Choose the language if not English.
+
<br />
+
<br />
+
  
== Add a Relationship ==
+
<table>
[[Image:RelateTerms.png]]
+
<tr>
<br />
+
<td width="400">
Once the term is added you'll need to add its relationship(s) to other terms. Previously added relationships will appear at the bottom of the page.
+
[[App/ref#Searching]] - Search for Reference]]<br />
<br />
+
If you have a list of terms from a reference you'll want to make sure your reference is already in the database.
<br />
+
</td>
 +
<td>
 +
[[Image:litSearchSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
  
== Add Tags ==
+
----
[[Image:tag.png]]
+
<br>
+
Adding a tag ([[App/tag]]) is an easy way to comment on a particular term or to add alternative definitions and spellings (e.g., the plural spelling). There are a number of keywords already in the database: e.g., 'alternative definition' (for different verbal descriptions of the same concept - NOT entirely different definitions, which should have their own entries), 'plural' for plural spellings that are obvious, 'remove' (terms you think should go into other ontologies), 'comment.' Simply click the 'Tag' link under 'functions' on the left. The light red overlay will appear and you can tie a keyword, a reference, page numbers, and your comments to this term.
+
<br />
+
A list and explanation of [[ontology specific keywords]].
+
<br />
+
<br />
+
  
== Mark Up Your Definitions ==
+
<table>
[[Image:mark.png]]
+
<tr>
<br />
+
<td width="400">
The 'markup definition' link highlights and links to terms in the definition that are already in the ontology
+
[[App/ref#Adding_References]] - Add a Reference<br />
<br />
+
If your reference is not in the database already you'll want to add it before adding your term(s).
<br />
+
</td>
 +
<td>
 +
[[Image:AddLitSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
  
== Other Options ==
+
----
  
=== Batch Upload ===
+
<table>
[[Image:batch.png]]
+
<tr>
<br />
+
<td width="400">
You can also batch load a list of terms you have in simple text.<br />
+
[[App/ontology#Add_a_Term]] - Add a Term<br />
<br />
+
If your term isn't in the database you can add it using this form.
<br />
+
</td>
 +
<td>
 +
[[Image:addTermSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
  
=== Manage the Ontology ===
+
----
[[Image:Manage ontology.png]]
+
<br />
+
<br />
+
  
=== Navigate and Create within a Tree ===
+
<table>
[[Image:Tree ontology.png]]
+
<tr>
<br />
+
<td width="400">
<br />
+
[[ App/ontology#Batch_Upload]] - Add Multiple Terms (Batch Mode)<br />
 +
If your terms aren't in the database you can add them using this form.
 +
</td>
 +
<td>
 +
[[Image:batchSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
  
=== Filter by Tags ===
+
----
[[Image:Tag filter.png]]
+
 
<br />
+
<table>
 +
<tr>
 +
<td width="400">
 +
[[App/ontology#show_term]] - Add a Relationship<br />
 +
After your term is added you'll want to enter its relationships (e.g., your term is "part of" or a "type of" something).
 +
</td>
 +
<td>
 +
[[Image:addrelSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
 +
 
 +
----
 +
 
 +
<table>
 +
<tr>
 +
<td width="400">
 +
[[App/ontology#Add_Tags]] - Add Tags<br />
 +
You can "tag" your term with alternative spellings, alternative definitions (different wording for the same concept - NOT entirely different definitions, which should have their own entries), your own comments etc. using the tag function.
 +
</td>
 +
<td>
 +
[[Image:TagSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
 +
 
 +
----
 +
 
 +
<table>
 +
<tr>
 +
<td width="400">
 +
[[App/tag]] - View/Edit Tags <br />
 +
If you made an error in your tag (e.g., wrong reference, page numbers, etc.) you can edit it.
 +
</td>
 +
<td>
 +
[[Image:tagsBrowseSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
 +
 
 +
----
 +
 
 +
 
 +
<table>
 +
<tr>
 +
<td width="400">
 +
[[App/keyword]] - View/Edit Keywords<br />
 +
Keywords are used in tags.
 
A list and explanation of [[ontology specific keywords]].
 
A list and explanation of [[ontology specific keywords]].
<br />
+
</td>
<br />
+
<td>
 +
[[Image:Keywords small.png]]
 +
</td>
 +
</tr>
 +
</table>
 +
 
 +
----
  
=== Filter by Personally Edited ===
+
<table>
[[Image:Filter personally edited.png]]
+
<tr>
<br />
+
<td width="400">
<br />
+
[[App/ontology#Mark_Up_Your_Definitions]] - Mark-up your definitions<br />
 +
Click the 'markup definitions' link to highlight and link to terms in your definition that are already in the ontology.
 +
</td>
 +
<td>
 +
[[Image:markSmall.png]]
 +
</td>
 +
</tr>
 +
</table>
  
=== Extract Terms from a Block of Text ===
+
----
[[Image:Proffer not public.png]]
+
<br />
+
<br />
+
  
=== Other Options ===
+
<table>
There are many other options including:
+
<tr>
* List by first letter of term (by first letter).
+
<td width="400">
* List of terms without any relationships (without relationships).
+
[[App/ontology#Manage_the_Ontology]] - Manage the ontology (Admin)<br />
* List of terms without a definition (without definitions).
+
Click the 'more-options' link then "manage".
* List of terms without xrefs (without xrefs).
+
</td>
* List of the latest edits (latest edits).
+
<td>
* List of terms that will be excluded and included if an obo file is exported (exclusion/inclusion list)
+
[[Image:Manage small.png]]
* List of references tied to the ontology, including if they are tagged to parts, tagged to parts with xrefs, used directly with parts or parts with xrefs (tied references). References can be tied to terms in two ways: either directly entered in the form when adding a new term or tagged to a term.
+
</td>
* Search definitions using a text string (search definitions).  Returns all the terms that contain that string in its definition.
+
</tr>
* Dump an OBO formatted file (dump OBO).
+
</table>
* A few non-traditional methods to visualize the ontology (visualize).
+
* See up to date statistics on the ontology (stats). Including: total terms, terms changed, without relationships or definitions, figures on terms, number of tags on terms and number of relationships.
+
  
== General information ==
 
  
 +
----
  
=== Use ===
+
<table>
 +
<tr>
 +
<td width="400">
 +
[[App/ontology#Navigate_and_Create_within_a_Tree]] - Navigate and create relationships within a tree view <br />
 +
Click the 'more-options' link then "tree".
 +
</td>
 +
<td>
 +
[[Image:Tree small.png]]
 +
</td>
 +
</tr>
 +
</table>
  
There is some information on how the ontology is being used [http://ontology.insectmuseum.org/ here at the Hymenoptera Anatomical Ontology] wiki.  A public example of the ontology in use [http://hymglossary.tamu.edu can be found here]. Since
+
----
  
=== Configuration ===
+
<table>
 +
<tr>
 +
<td width="400">
 +
[[App/ontology#Filter_by_Tags]] - Filter by tags <br />
 +
Click the 'more-options' link then "tag filter".
 +
</td>
 +
<td>
 +
[[Image:Filter by tags small.png]]
 +
</td>
 +
</tr>
 +
</table>
  
You can use an ontology created in your own project, or one created in another project that you (the creator) are a member of.  If you want to use another project's click on 'settings' for your project, then 'edit'. At the bottom choose the project under 'Default Public Ontology'. This portion of the mx software is rapidly developing since Summer 2009 due to support in part, by the National Science Foundation under grant DBI 0850223.
+
----
  
=== In App usage ===
+
<table>
 +
<tr>
 +
<td width="400">
 +
[[App/ontology#Filter_by_Personally_Edited]] - Filter by personally edited <br />
 +
Click the 'more-options' link then "personally edited".
 +
</td>
 +
<td>
 +
[[Image:Filter personally edited small.png]]
 +
</td>
 +
</tr>
 +
</table>
  
Aside from the ontology tab there are various places the ontology can be applied or used in your project. Character descriptions can be marked-up after doing character->show, and clicking on the 'markup description'. 
 
  
=== API ===
+
----
  
A undocumented API exists for remote queries against the database (see the search action in the public controller in the source code), we're hoping to improve this and make it public soon.
+
<table>
 +
<tr>
 +
<td width="400">
 +
[[App/ontology#Extract_Terms_from_a_Block_of_Text]] - Extract terms from a block of text<br />
 +
Click the 'more-options' link then "proof".
 +
</td>
 +
<td>
 +
[[Image:Extract terms small.png]]
 +
</td>
 +
</tr>
 +
</table>

Revision as of 14:44, 13 October 2009

The mx database infrastructure includes an ontology building module that is easy to use and quite powerful. We're using mx as the backend of our Hymenoptera Glossary. Information on how to use it is included below.


App/ontology - Welcome Screen
The first screen you see when you log in and select the Hymenoptera Ontology project link.

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#Search for Term - Search for Term
Search for the term you want to enter to see if it is already there.

Error creating thumbnail: Unable to save thumbnail to destination

App/ref#Searching - Search for Reference]]
If you have a list of terms from a reference you'll want to make sure your reference is already in the database.

Error creating thumbnail: Unable to save thumbnail to destination

App/ref#Adding_References - Add a Reference
If your reference is not in the database already you'll want to add it before adding your term(s).

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#Add_a_Term - Add a Term
If your term isn't in the database you can add it using this form.

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#Batch_Upload - Add Multiple Terms (Batch Mode)
If your terms aren't in the database you can add them using this form.

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#show_term - Add a Relationship
After your term is added you'll want to enter its relationships (e.g., your term is "part of" or a "type of" something).

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#Add_Tags - Add Tags
You can "tag" your term with alternative spellings, alternative definitions (different wording for the same concept - NOT entirely different definitions, which should have their own entries), your own comments etc. using the tag function.

Error creating thumbnail: Unable to save thumbnail to destination

App/tag - View/Edit Tags
If you made an error in your tag (e.g., wrong reference, page numbers, etc.) you can edit it.

Error creating thumbnail: Unable to save thumbnail to destination


App/keyword - View/Edit Keywords
Keywords are used in tags. A list and explanation of ontology specific keywords.

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#Mark_Up_Your_Definitions - Mark-up your definitions
Click the 'markup definitions' link to highlight and link to terms in your definition that are already in the ontology.

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#Manage_the_Ontology - Manage the ontology (Admin)
Click the 'more-options' link then "manage".

Error creating thumbnail: Unable to save thumbnail to destination



App/ontology#Navigate_and_Create_within_a_Tree - Navigate and create relationships within a tree view
Click the 'more-options' link then "tree".

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#Filter_by_Tags - Filter by tags
Click the 'more-options' link then "tag filter".

Error creating thumbnail: Unable to save thumbnail to destination

App/ontology#Filter_by_Personally_Edited - Filter by personally edited
Click the 'more-options' link then "personally edited".

Error creating thumbnail: Unable to save thumbnail to destination



App/ontology#Extract_Terms_from_a_Block_of_Text - Extract terms from a block of text
Click the 'more-options' link then "proof".

Error creating thumbnail: Unable to save thumbnail to destination
Personal tools