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

Does the server support searching/filtering by string literals' language tags? #175

Open
alexkreidler opened this issue Nov 21, 2022 · 1 comment

Comments

@alexkreidler
Copy link

The RDF spec describes that each literal may have a language tag. For large datasets that include RDF property values in many languages, such as Wikidata (example LDF query), it could be very useful to filter by language tag to reduce the result size. As far as I can tell, the LDF spec does not make any reference to language tags.

Would this be a useful addition to this software/the specification?

@rubensworks
Copy link
Member

The TPF spec already contains a piece on language tags on literals: https://linkeddatafragments.org/specification/triple-pattern-fragments/#controls
Using this, you can filter by literal+lang.

In another note, it looks like the Wikidata endpoint has a bug though, as it's not exposing language tags properly, and instead exposes literals through the rdf:langString datatype.

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

No branches or pull requests

2 participants