Skip to content
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

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from
Draft

Yatter2 #1

wants to merge 35 commits into from

Conversation

bhorinrb
Copy link
Collaborator

No description provided.

@dachafra dachafra self-requested a review December 19, 2024 21:28
@dachafra dachafra marked this pull request as draft December 19, 2024 21:34
@dachafra
Copy link
Member

@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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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()
Copy link
Member

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]
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants