summaryrefslogtreecommitdiff
path: root/report
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-01-20 11:33:07 +0100
committermguetlein <martin.guetlein@gmail.com>2011-01-20 11:33:07 +0100
commitc4d553732ff4cfa3a4de4d439c5e174ca0e57b53 (patch)
tree60cbb03a27cdcc834a18098d7229b2df248fce1c /report
parent7b06ce45180a5b2c0dd0095cd1a60ec974b46aa5 (diff)
adjust to rdf method name, add new error handling support
Diffstat (limited to 'report')
-rwxr-xr-xreport/report_persistance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/report/report_persistance.rb b/report/report_persistance.rb
index 613e652..808547d 100755
--- a/report/report_persistance.rb
+++ b/report/report_persistance.rb
@@ -232,7 +232,7 @@ module Reports
def to_rdf
s = OpenTox::Serializer::Owl.new
- s.add_val(report_uri,OT.Report,get_content_as_hash.keys_to_rdf_format.keys_to_owl_uris)
+ s.add_resource(report_uri,OT.Report,get_content_as_hash.keys_to_rdf_format.keys_to_owl_uris)
s.to_rdfxml
end
end