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

Option to grab the Wikidata lexemes for queried words #101

Closed
2 tasks done
wkyoshida opened this issue Mar 11, 2024 · 8 comments · Fixed by #110
Closed
2 tasks done

Option to grab the Wikidata lexemes for queried words #101

wkyoshida opened this issue Mar 11, 2024 · 8 comments · Fixed by #110
Assignees
Labels
data Relates to data or Wikidata feature New feature or request good first issue Good for newcomers

Comments

@wkyoshida
Copy link
Member

Terms

Languages

ALL

Description

This issue is for the implementation of one of the ideas brought up in #59, in particular:

  • For nouns, verbs, and prepositions, this is likely the Wikidata lexemes.
@wkyoshida wkyoshida added feature New feature or request good first issue Good for newcomers data Relates to data or Wikidata labels Mar 11, 2024
@andrewtavis
Copy link
Member

For someone with interest in working on this, this should be as simple as adding ?lexeme as the first element in the select statement for all .sparql files :)

@oreotamish
Copy link

@andrewtavis Can I work on this?

@wkyoshida
Copy link
Member Author

Hey @oreotamish 👋
@mhmohona actually DM'ed earlier today expressing interest in this issue as well.. sorry about this, but is there another issue that you might interested in picking up?

@oreotamish
Copy link

Sure

@wkyoshida
Copy link
Member Author

Thank you for understanding, @oreotamish! 🙏😁
I did later realize though that I did simply assume that your interest was due to our participation in GSoC. Apologies if that was an incorrect assumption! 🥺
If however GSoC is indeed how you found us, I do also realize that we're running low on available issues as well, given the amount of traffic that we're getting. I'll try to create some more issues soon. If you're interested, feel free to take a look at good first issues we have throughout the organization.

@mhmohona add a comment here when you can as well please, as we can only assign once someone's active in the issue

@mhmohona
Copy link
Member

mhmohona commented Mar 12, 2024

@wkyoshida, I would like to work on this issue.

@andrewtavis
Copy link
Member

@mhmohona, just a quick note here that came from a discussion with @henrikth93: the way we'd like to get the lexeme IDs for this would be the following:

SELECT 
  (REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") as ?lexemeID)
  OTHER_COLUMS_LIKE_NOUN_OR_VERB_ETC

The ?lexemeID line gets us just the LID, not wd:LID as comes from just returning ?lexeme :)

@andrewtavis
Copy link
Member

Adding this to all the current queries would close this issue 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Relates to data or Wikidata feature New feature or request good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants