aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-06-17 17:17:14 +0300
committerBonfaceKilz2024-06-17 17:32:05 +0300
commita167c4b6112f97f0352488712c58eeb0679219b2 (patch)
tree4eac4ea2c09c3d76ba6a814893a28b455bf16feb
parent35358c2bc09959cefce30865557298bbeaab0fa4 (diff)
downloadgenenetwork3-a167c4b6112f97f0352488712c58eeb0679219b2.tar.gz
Fetch distinct comments.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xscripts/index-genenetwork2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/index-genenetwork b/scripts/index-genenetwork
index ebf04e7..4d9a5f8 100755
--- a/scripts/index-genenetwork
+++ b/scripts/index-genenetwork
@@ -180,7 +180,7 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX gnt: <http://genenetwork.org/term/>
PREFIX gnc: <http://genenetwork.org/category/>
-SELECT ?symbolName ?speciesName GROUP_CONCAT(?comment ; separator=\"\\n\") AS ?comment WHERE {
+SELECT ?symbolName ?speciesName GROUP_CONCAT(DISTINCT ?comment ; separator=\"\\n\") AS ?comment WHERE {
?symbol rdfs:comment _:node ;
rdfs:label ?symbolName .
_:node rdf:type gnc:GNWikiEntry ;