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

ZZCS-33 Fix a problem where incorrect language results would be returned for dbpedia fetches #743

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

mworrell
Copy link
Contributor

@mworrell mworrell commented Nov 6, 2024

When fetching a resource from dbpedia, and If a predicate is present in multiple languages, then these languages are mixed in all rows of the search results.

It looks like a kind of combinatorial explosion of all language values.

Ideally the spqarql query should group by language of the returned predicates.
As that doesn't seem to be trivial, we now group the returned predicates by language and try to find the best matching triple value for the requested language.

@mworrell mworrell self-assigned this Nov 6, 2024
modules/mod_ginger_rdf/models/m_dbpedia.erl Outdated Show resolved Hide resolved
@mworrell mworrell merged commit c38b91c into master Nov 6, 2024
1 check passed
@mworrell mworrell deleted the zzcs-33-dbpedia-language branch November 6, 2024 11:01
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