Mercurial > repos > sem4j > sparql_tools
changeset 9:2c9827b61b71 draft
Uploaded
author | sem4j |
---|---|
date | Fri, 27 Sep 2013 03:00:22 -0400 |
parents | bf6b5640e0a8 |
children | 360ae4d3d06c |
files | sparql.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sparql.py Fri Sep 27 02:59:16 2013 -0400 +++ b/sparql.py Fri Sep 27 03:00:22 2013 -0400 @@ -13,7 +13,7 @@ out.close() os.system('mv ' + argvs[2] + ' ' + argvs[2] + '.nt') -stdout = commands.getoutput('/Users/Ryota/Softwares/jena/apache-jena-2.11.0/bin/sparql --query=query.tmp --data=' + argvs[2] + '.nt -results=TSV') +stdout = commands.getoutput('sparql --query=query.tmp --data=' + argvs[2] + '.nt -results=TSV') os.system('mv ' + argvs[2] + '.nt ' + argvs[2]) out = open(argvs[3], 'w')