Mercurial > repos > sem4j > sparql_tools
diff tab2rdf.py @ 10:360ae4d3d06c draft
Uploaded
author | sem4j |
---|---|
date | Mon, 30 Sep 2013 23:21:24 -0400 |
parents | 75c072490c2d |
children |
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()