Skip to content

Commit

Permalink
fixed value in TextualBody
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hanke committed Feb 23, 2023
1 parent ff73990 commit 78b8c3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion annotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ def describe_value(self, value_string):
return {
"@type": "oa:TextualBody",
"oa:purpose": "oa:tagging",
"@value": value_string.strip()
"oa:format": "text/plain",
"oa:value": value_string.strip()
}
#return {"@type": "qudt:QuantityValue",'qudt:value': {'@value': value_string, '@type': 'xsd:string'}}

Expand Down

0 comments on commit 78b8c3b

Please sign in to comment.