Skip to content

Commit

Permalink
virtuoso-opensource in gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
arcangelo7 committed May 30, 2024
1 parent afe7690 commit fbbb1c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ zip_tasks.tmp
figshare.yaml
zenodo.yaml
internet_archive.yaml
storage
storage
virtuoso-opensource
5 changes: 1 addition & 4 deletions test/ResourceFinder_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,7 @@ def add_data_ts(server, data_path, batch_size:int=100, default_graph_uri=URIRef(
triples_str += f"{subj.n3()} {pred.n3()} {obj.n3()} . "

query = f"INSERT DATA {{ {triples_str} }}"

with open('query.txt', 'w') as f:
f.write(query)


ts = SPARQLWrapper(server)
ts.setQuery(query)
ts.setMethod(POST)
Expand Down
5 changes: 1 addition & 4 deletions test/curator_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ def add_data_ts(server:str=SERVER, data_path:str=os.path.abspath(os.path.join('t
triples_str += f"{subj.n3()} {pred.n3()} {obj.n3()} . "

query = f"INSERT DATA {{ {triples_str} }}"

with open('query.txt', 'w') as f:
f.write(query)


ts = SPARQLWrapper(server)
ts.setQuery(query)
ts.setMethod(POST)
Expand Down

0 comments on commit fbbb1c7

Please sign in to comment.