From: preecej Date: Wed, 17 Aug 2011 17:48:52 +0000 (+0000) Subject: removed Gene Synonym Pair SIO and related properties X-Git-Url: http://gitweb.planteome.org/?a=commitdiff_plain;h=c9a89134d25a1d1633e02b2eb3d4268aeb47a756;p=old-jaiswallab-svn%2F.git removed Gene Synonym Pair SIO and related properties svn path=/; revision=156 --- diff --git a/preecej/semantic_wiki/forms/Gene_Synonyms.wiki b/preecej/semantic_wiki/forms/Gene_Synonyms.wiki index b179b05..16add14 100644 --- a/preecej/semantic_wiki/forms/Gene_Synonyms.wiki +++ b/preecej/semantic_wiki/forms/Gene_Synonyms.wiki @@ -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}}} -}} ----------------------------->