diff --git a/annotator.py b/annotator.py index 95065dc..031ab50 100644 --- a/annotator.py +++ b/annotator.py @@ -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'}}