diff options
author | Munyoki Kilyungi | 2024-09-19 18:08:38 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-09-23 12:32:51 +0300 |
commit | 0fd98748b325860f1e91fabf4b1e8c924508946e (patch) | |
tree | 8da59f8821de7decc9ef58726c69f13a5a094656 | |
parent | 1c1f2945fae39731b7094a090193de92fc3ebe43 (diff) | |
download | genenetwork3-0fd98748b325860f1e91fabf4b1e8c924508946e.tar.gz |
Use correct object modifier for a label when inserting a comment.
* gn3/db/rdf/wiki.py (update_wiki_comment) [query]: Replace
"rdf:label" with "rdfs:label".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn3/db/rdf/wiki.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/rdf/wiki.py b/gn3/db/rdf/wiki.py index f81d695..4464eed 100644 --- a/gn3/db/rdf/wiki.py +++ b/gn3/db/rdf/wiki.py @@ -196,7 +196,7 @@ def update_wiki_comment( identifier but an updated version id. """ name = f"gn:wiki-{insert_dict['Id']}-{insert_dict['versionId']}" - comment_triple = Template("""$name rdf:label '''$comment'''@en ; + comment_triple = Template("""$name rdfs:label '''$comment'''@en ; rdf:type gnc:GNWikiEntry ; gnt:symbol "$symbol" ; dct:identifier "$comment_id"^^xsd:integer ; |