changeset 10:360ae4d3d06c draft

Uploaded
author sem4j
date Mon, 30 Sep 2013 23:21:24 -0400
parents 2c9827b61b71
children 6d2424f16a83
files tab2rdf.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tab2rdf.py	Fri Sep 27 03:00:22 2013 -0400
+++ b/tab2rdf.py	Mon Sep 30 23:21:24 2013 -0400
@@ -32,9 +32,9 @@
             p_val = argvs[4 * i + 6]
             o_val = values[int(argvs[4 * i + 7]) - 1]
             if int(argvs[4 * i + 8]) :
-                out.write('<' + ns + s_val + '> <' + ns + p_val + '> <' + ns + o_val + '> .\n')
+                out.write('<' + ns + s_val + '> <' + ns + p_val + '> "' + o_val + '" .\n')
             else :
-                out.write('<' + ns + s_val + '> <' + ns + p_val + '> "' + o_val + '" .\n')
+                out.write('<' + ns + s_val + '> <' + ns + p_val + '> <' + ns + o_val + '> .\n')
 
 out.close()