Skip to content

Commit

Permalink
Merge pull request #536 from KnowledgeCaptureAndDiscovery/dev
Browse files Browse the repository at this point in the history
Fix TTL export with RML mapping
  • Loading branch information
dgarijo authored Dec 31, 2022
2 parents d85637e + 2122838 commit c4c3fde
Show file tree
Hide file tree
Showing 20 changed files with 483 additions and 846 deletions.
1 change: 1 addition & 0 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ The table below summarizes all types and their corresponding properties:
| **name** | License, Release, User, Publication, Programming_language | String | Title or name used to designate the release, license user, programming language or publication. |
| **original_header** | Text_excerpt | String | If the result value is extracted from a markdown file like a README, the original header of that section is also returned. |
| **parent_header** | Text_excerpt | [String] | If the result value is extracted from a markdown file like a README, the parent header(s) of the current section are also returned (in case they exist). |
| **release_id** | Release | String | Id of a software release. |
| **size** | Programming_language | Number | File size content (bytes) of a code repository using a given programming language |
| **spdx_id** | License | String | Spdx id corresponding to this license |
| **tag** | Release | String | named version of a release |
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"nltk==3.6.6",
"numpy==1.22.0",
"pandas==1.3.4",
"rdflib==6.0.2",
"rdflib>=6.0.2",
"rdflib-jsonld==0.6.2",
"requests>=2.22.0",
"scikit-learn==1.0",
Expand All @@ -25,7 +25,8 @@
"contractions>=0.1.66",
"chardet==5.0.0",
"imbalanced-learn>=0.8.1",
"pytest"
"pytest",
"morph-kgc>=2.3.1"
]


Expand Down
255 changes: 0 additions & 255 deletions src/somef/export/data_to_graph.py

This file was deleted.

2 changes: 0 additions & 2 deletions src/somef/export/json_export.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import json
from dateutil import parser as date_parser
from ..utils import constants
from .data_to_graph import DataGraph
from ..process_results import Result


def save_json_output(repo_data, out_path, missing, pretty=False):
Expand Down
Loading

0 comments on commit c4c3fde

Please sign in to comment.