-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yatter2 #1
base: main
Are you sure you want to change the base?
Conversation
@bhorinrb As the library management is now made with poetry, I think requirements.txt and setup can be removed. Additionally, coverage library needs to be installed with poetry for its workflow |
.pytest_cache | ||
tempReadme.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be removed, just add src/yatter/pycache
src/yatter/__pycache__/__init__.cpython-311.pyc | ||
src/yatter/__init__.py | ||
test/normalize/NORMKEYS-01/mapping_normalized.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this ignored?
|
||
YARRRML_PREDICATEOBJECT = 'predicateobjects' | ||
YARRRML_PREDICATEOBJECT_SHORTCUT = 'po' | ||
YARRRML_PREDICATEOBJECT_SHORTCUT = 'po' #eliminar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eliminar?
@@ -140,8 +140,14 @@ def generate_extended_join(yarrrml_data): | |||
for value in equals: | |||
parameters = [] | |||
conditions = value.replace("(","",1).rsplit(")",1)[0].split(",") | |||
parameters.append(['str1',conditions[0]]) | |||
parameters.append(['str2', conditions[1]]) | |||
expanded_param = dict() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this can be done in one or two lines?
@@ -282,7 +230,8 @@ def get_logical_source(logical_source_id, rdf_mapping): | |||
raise Exception() | |||
|
|||
if source and reference_formulation and iterator: | |||
yarrrml_source = [source.value + '~' + reference_formulation.toPython().replace(QL_URI, '').lower(), iterator.value] | |||
yarrrml_source = [source.value + '~' + reference_formulation.toPython().replace(QL_URI, '').lower(), | |||
iterator.value] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this in a new line?
No description provided.