Skip to content

Commit

Permalink
NSpM v2 initial project structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
mommi84 committed May 22, 2021
1 parent 1c3678e commit 2b8c35b
Show file tree
Hide file tree
Showing 18 changed files with 515 additions and 359 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2017 AKSW Research Group @ University of Leipzig
Copyright (c) 2020 Liber AI Research

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ This command will create a model checkpoints in `data/art_30`.
Predict the SPARQL query for a given question it will store the detailed output in output_query.

```bash
python interpreter.py --input data/art_30 --output data/art_30 --inputstr "yuncken freeman has architected in how many cities?"
python interpreter.py --input data/art_30 --output data/art_30 --query "yuncken freeman has architected in how many cities?"
```

## Use cases & integrations
Expand Down
80 changes: 0 additions & 80 deletions data_gen.py

This file was deleted.

115 changes: 0 additions & 115 deletions interpreter.py

This file was deleted.

83 changes: 0 additions & 83 deletions learner.py

This file was deleted.

1 change: 1 addition & 0 deletions nspm/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!/usr/bin/env python
4 changes: 2 additions & 2 deletions analyse.py → nspm/analyse.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env python
"""
Neural SPARQL Machines - Analysis and validation of translated questions into queries.
Neural SPARQL Machines - Script for analysis and validation of question-to-query translations.
'SPARQL as a Foreign Language' by Tommaso Soru and Edgard Marx et al., SEMANTiCS 2017
https://arxiv.org/abs/1708.07624
Version 1.0.0
Version 2.0.0
"""
import argparse
Expand Down
Loading

0 comments on commit 2b8c35b

Please sign in to comment.