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

Build a reverseStatement index only centered on a subset of well defined (transitive?) properties #113

Open
oterrier opened this issue Oct 21, 2020 · 0 comments

Comments

@oterrier
Copy link

Building such an index for all the statements is not manageable due to the explosion of the wikidata recently (more than 90M items) but it could be interesting to restrict its scope to a subset of properties that are used for transitive relations in WD like:

  • P279 (subclass of)

Most of the time we would like to express things like in SPARQL
?item wdt:P31/wdt:P279* ?class. This means that there’s one “instance of” and then any number of “subclass of” statements between the item and the class.
My intuition is also that most of the time we want to express something like that:

  1. an initial property seed (P31 or P106)
  2. then follow the "subclass of" hierarchy (P279*)

For that a reverseP279Statement db could do the job

Best regards
Olivier

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

1 participant