Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
removed Gene Synonym Pair SIO and related properties
authorpreecej <preecej@localhost>
Wed, 17 Aug 2011 17:48:52 +0000 (17:48 +0000)
committerpreecej <preecej@localhost>
Wed, 17 Aug 2011 17:48:52 +0000 (17:48 +0000)
svn path=/; revision=156

preecej/semantic_wiki/forms/Gene_Synonyms.wiki

index b179b052236443875a1781bffe86407c71c0054c..16add14ed0b8ba357ef374c337807390bc30921b 100644 (file)
@@ -26,62 +26,32 @@ Annotation Page: {{#show:{{PAGENAME}}|?Is Associated With Annotation}}
 
 Provenance Page Test: {{#ask: [[Is Provenance::~Annotation:1/Provenance* ]] }}
 
-Specific Gene-Synonym Pair test:
-{{#ask: [[Is Gene Synonym Pair::{{PAGENAME}}]]
-  [[Is Gene Synonym::Gene Synonym 1]]
-  [[Is Associated With Gene Name::Gene Name 1]]
-  |link=none
-}}
-
-Provenance for Specific Synonym (Test): {{#ask: [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation|link=none}}/Provenance*]][[Is Associated With Field::Annotation:1/Gene Synonyms#1 ]] }}
-
-Gene Synonym Page Request: {{#ask: [[Is Gene Synonym Pair::{{PAGENAME}} ]] }}
-
-Gene Synonym Pair:
-{{#ask: [[Is Gene Synonym Pair::{{PAGENAME}}]]
-  [[Is Gene Synonym::Gene Synonym 1]]
-  [[Is Associated With Gene Name::Gene Name 1]]|link=none
-}}
-
-Provenance for Specific Synonym (subquery):
-{{#ask:
-  [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation|link=none}}/Provenance*]]
-  [[Is Associated With Field::{{#ask:
-                               [[Is Gene Synonym Pair::{{PAGENAME}}]]
-                               [[Is Gene Synonym::Gene Synonym 2]]
-                               [[Is Associated With Gene Name::Gene Name 1]]
-                               |link=none
-                             }}
-   ]]
-}}
-
-Synonym: {{#show: {{PAGENAME}}#2 | ?Is Gene Synonym Pair}}
+{{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
+            [[Is Associated With Field::Gene Type]]
+            [[Is Associated With Template::Annotation]]
+            |?is_Provenance
+         }}
+    | {{{field|Gene Type|restricted}}}
+    | {{{field|Gene Type}}}
+  }}
 
-Specific Gene-Synonym Pair test:
-{{#ask: [[Is Gene Synonym Pair::{{PAGENAME}}]]
-  [[Is Gene Synonym::Gene Synonym 2]]
-  [[Is Associated With Gene Name::Gene Name 1]]
-  |link=none
+Provenance for Specific Synonym (Test): {{#ask:
+  [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation}}/Provenance*]]
+            [[Is Associated With Field::~Gene Synonym:*]]
+            [[Is Associated With Template::Gene Synonym Repeater]]
+            |link=none
 }}
 
------------------------------
-
 {{#if:
   {{#ask:
-    [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation|link=none}}/Provenance*]]
-    [[Is Associated With Field::{{#ask:
-                                 [[Is Gene Synonym Pair::{{PAGENAME}}]]
-                                 [[Is Gene Synonym::Gene Synonym 1]]
-                                 [[Is Associated With Gene Name::Gene Name 1]]
-                                 |link=none
-                               }}
-     ]]
+  [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation}}/Provenance*]]
+            [[Is Associated With Field::~Gene Synonym:*]]
+            [[Is Associated With Template::Gene Synonym Repeater]]
+            |?is_Provenance
+        }}
+    |'''Gene Synonym:''' {{{field|Gene Synonym|restricted}}}
+    |'''Gene Synonym:''' {{{field|Gene Synonym}}}
   }}
-  |'''Gene Name:''' {{{field|Gene Name|autocomplete on property=has_Gene_Name|restricted}}}
-'''Gene Synonym:''' {{{field|Gene Synonym|restricted}}}
-  |'''Gene Name:''' {{{field|Gene Name|autocomplete on property=has_Gene_Name}}}
-'''Gene Synonym:''' {{{field|Gene Synonym}}}
-}}
 
 ----------------------------->