-
Notifications
You must be signed in to change notification settings - Fork 0
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
Not able to query lots of strings in RDF(TheSession) #9
Comments
I don't quite agree on this rendering because: @fujinaga Hi, Ich, do you agree? |
There should always be a language tag in every string. We can always instruct ChatGPT to append the language tags in SPARQL queries. |
Ok. Does this mean that I have to automatically detect the language of every string in my script? |
No. For each database we import, we should know which language it's in. |
There are several codes that you can use for non-coded languages:
https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry Note: "und should not be used unless a language tag is required and language information is not available or cannot be determined. Omitting the language tag (where permitted) is preferred. This subtag may also be useful when matching language tags in certain situations. Where xml:lang="" is allowed by the markup, it is better to use that rather than und" From a search for "und" here: https://r12a.github.io/app-subtags/ See: https://www.w3.org/International/questions/qa-no-language#undetermined |
Thank you @ahankinson . Could you please give me some vivid examples plus explanation, which incorporate some tag in RDF |
No, because you can use Google as well as I can. :-) |
For example, you can not query the session named "Hurley’s Irish Pub" by:
But you can make it by adding "@en":
?session wdt:P2561 "Hurley’s Irish Pub"@en .
The reason is due to the modification:
The text was updated successfully, but these errors were encountered: