From a167c4b6112f97f0352488712c58eeb0679219b2 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 17 Jun 2024 17:17:14 +0300 Subject: Fetch distinct comments. Signed-off-by: Munyoki Kilyungi --- scripts/index-genenetwork | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/index-genenetwork') 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: PREFIX gnt: PREFIX gnc: -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 ; -- cgit v1.2.3