summaryrefslogtreecommitdiff
path: root/issues
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-22 11:15:35 +0300
committerMunyoki Kilyungi2023-11-22 11:15:35 +0300
commit3d2013b83f866f8ad8d3a6776967966ee552cd2b (patch)
tree6a318c1f4805fad0da41da7062e38a28df1aa1b1 /issues
parenteaa24fdefdfa6b1f0422cb3bc869f355346a5198 (diff)
downloadgn-gemtext-3d2013b83f866f8ad8d3a6776967966ee552cd2b.tar.gz
Create new issue on handling resources
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'issues')
-rw-r--r--issues/handling-resource-links-in-probeset-page.gmi30
1 files changed, 30 insertions, 0 deletions
diff --git a/issues/handling-resource-links-in-probeset-page.gmi b/issues/handling-resource-links-in-probeset-page.gmi
new file mode 100644
index 0000000..5071a85
--- /dev/null
+++ b/issues/handling-resource-links-in-probeset-page.gmi
@@ -0,0 +1,30 @@
+# Handling Resource Links in ProbeSet Page
+
+## Tags
+
+* assigned: bonfacem
+* priority: high
+* type: ops
+* keywords: virtuoso
+
+## Description:
+
+During the finalization of the UI for endpoints, specifically the probeset page, modifications were made to streamline the ProbeSet RDF transform. Unnecessary metadata was removed to reduce the transformed data. Most of the metadata on the probeset page is utilized for constructing resources. An example of a probeset page is:
+
+=> https://genenetwork.org/show_trait?trait_id=1435395_s_at&dataset=HC_M2_0606_P
+Trait Data and Analysis for 1435395_s_at
+
+Under the "Resource Links" section on this page, there's a specific URL:
+
+=> https://genemania.org/search/mus-musculus/Atp5j2
+
+Attempting to prefix this resource link as "genemania:mus-musculus/Atp5j2" is not valid in Turtle format.
+
+To circumvent this issue, a workaround will be implemented:
+
+```turtle
+gn:probeset1435395_s_at gnt:hasGeneManiaResource <https://genemania.org/search/mus-musculus/Atp5j2> .
+<https://genemania.org/search/mus-musculus/Atp5j2> rdf:type gnc:ResourceLink .
+```
+
+The straightforward approach would be to construct this structure in the front-end. However, the problem lies in the fact that these resource links are inferred, making it challenging to discern their connection within GN without visiting the website. Therefore, it's preferable to store this information in RDF despite the ease of constructing it in the front-end.