We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to create my own RDF module based on dbpedia in Chinese.
In my dsl.py, we created something like:
HasKeyword.relation = "rdfs:label" HasKeyword.language = "zh"
However, when I created two RDF modules simultaneously in the constructor of main class:
self.dbpedia = quepy.install("dbpedia") self.zhwiki = quepy.install("zhwiki") # Chinese version of dbpedia
I found that the latter module that I created will always override the first one.
In particular, the dsl.py for dbpedia look likes:
HasKeyword.language = "en"
And the variable "HasKeyword.language" will be overrided as "zh"
Is there any good way to resolve it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to create my own RDF module based on dbpedia in Chinese.
In my dsl.py, we created something like:
HasKeyword.relation = "rdfs:label"
HasKeyword.language = "zh"
However, when I created two RDF modules simultaneously in the constructor of main class:
self.dbpedia = quepy.install("dbpedia")
self.zhwiki = quepy.install("zhwiki") # Chinese version of dbpedia
I found that the latter module that I created will always override the first one.
In particular, the dsl.py for dbpedia look likes:
HasKeyword.language = "en"
And the variable "HasKeyword.language" will be overrided as "zh"
Is there any good way to resolve it?
The text was updated successfully, but these errors were encountered: