[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-11-14 Thread abian
abian added a comment.
Senses aren't in source/ontology-1.0.owl yet, but the current version of the description mentions them.TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ladsgroup, abianCc: JeroenDeDauw, Ladsgroup, gerritbot, Addshore, Aklapper, WMDE-leszek, Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, ET4Eva, CucyNoiD, Nandana, NebulousIris, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, Avner, Lewizho99, Maathavan, Gehel, D3r1ck01, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-11-05 Thread gerritbot
gerritbot added a comment.
Change 470663 merged by jenkins-bot:
[wikibase/wikiba.se@master] Add WikibaseLexeme to ontology-1.0.owl

https://gerrit.wikimedia.org/r/470663TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ladsgroup, gerritbotCc: Ladsgroup, gerritbot, Addshore, Aklapper, WMDE-leszek, Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, CucyNoiD, Nandana, NebulousIris, Mringgaard, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, Avner, Lewizho99, Maathavan, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-10-30 Thread gerritbot
gerritbot added a comment.
Change 470663 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[wikibase/wikiba.se@master] Add WikibaseLexeme to ontology-1.0.owl

https://gerrit.wikimedia.org/r/470663TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Addshore, Aklapper, WMDE-leszek, Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, Nandana, Mringgaard, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-24 Thread Tpt
Tpt added a comment.
I have updated the draft of RDF implementation change: https://gerrit.wikimedia.org/r/c/433953 
It uses the existing namespace for Lexemes specific terms but provides a new ontology file which URI is http://wikiba.se/lexeme/ontology#  (but it could be easily changed)TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: TptCc: Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-24 Thread Tpt
Tpt added a comment.
Not sure if you are proposing prefix as http://wikiba.se/lexeme/ontology/ or as http://wikiba.se/lexeme/ontology#.

Sorry, I was also thinking of http://wikiba.se/lexeme/ontology# but forgot the #.

Well, since wikiba.se site is not related to any specific Wikidata install, there we can have the file that has both ontologies together.

Indeed. But I believe that it will increase the maintainance work of wikiba.se (a copy won't be enough to syynchronize the two versions of the file anymore).TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: TptCc: Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-24 Thread Smalyshev
Smalyshev added a comment.
using http://wikiba.se/lexeme/ontology instead of http://wikiba.se/lexeme#

I think making all redirects etc. work might be slightly easier with http://wikiba.se/lexeme but otherwise may be ok. Not sure if you are proposing prefix as http://wikiba.se/lexeme/ontology/ or as http://wikiba.se/lexeme/ontology#. I am for the latter option, unless there's a good reason to do the former (which I currently don't see).

we should probably redirect the  http://wikiba.se/ontology# to something like the union of the base and lexeme ontologies

Well, since wikiba.se site is not related to any specific Wikidata install, there we can have the file that has both ontologies together. From what I understand, these files are different from ones in Wikibase repos?TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-24 Thread Tpt
Tpt added a comment.
The full list of terms we have to define is:

Classes:


wikibase:Lexeme
wikibase:Form
wikibase:Sense


These 3 classes are direct mapping of the entity types so they should not cause name clash with other Wikibase extensions.

Properties:


wikibase:lexicalCategory
wikibase:lemma
wikibase:grammaticalFeature


I believe that we all agree of having a specific OWL file for lexemes, importing the base ontology.

About having the termed defined with a different base URI it seems that 1 pro and 1 con have been raised.

The pro: no risk of name clashes between different Wikibase extensions
The con: yet another prefix.

I agree with @Smalyshev about having just one prefix for Wikibase and all its "official" extensions because the number of them is probably going to be quite low and it would definitely improve the usability of the query service. If we have different namespaces the fact that lexemes have a wikibase-lexeme:lexicalCategory but use statements which rank could be wikibase:preferred looks quite confusing to me.

Two specific points:


what about using http://wikiba.se/lexeme/ontology instead of http://wikiba.se/lexeme#? It seems a bit more consistent to me and it still allows wikiba.se to have an HTML page describing the lexeme extension at http://wikiba.se/lexeme and allows to do an easy redirection to the OWL definition page without content negotiation.
If we use just one prefix for Wikibase and its Lexeme extension, we should probably redirect the http://wikiba.se/ontology# to something like the union of the base and lexeme ontologies in order to have all terms in this namespace defined. A simple way to implement it maybe to have a simple OWL file that just imports the base and lexeme ontologies.
TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: TptCc: Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-23 Thread Smalyshev
Smalyshev added a comment.
I agree that having separate OWL file would make sense. I am not sure why we would need http://wikiba.se/lexeme# - what will be using it? Predicates probably should still use same wikibase namespace - to avoid confusing people with too many prefixes, of which we have about 9000 anyway. Looking at https://www.mediawiki.org/wiki/Extension:WikibaseLexeme/RDF_mapping - we have to define:


wikibase:Lexeme
wikibase:lexicalCategory
wikibase:lemma


The only thing we may want to use http://wikiba.se/lexeme# for is to refer to ontology itself - since owl:Ontology requires some target to attach to. We may also want to declare owl:imports to base Wikibase ontology, since we probably want to declare the above in terms of Wikibase base types.TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-23 Thread daniel
daniel added a comment.
why not just http://wikiba.se/ontology# ?

Sorry, I created confusion by making a silly copy mistake. I meant to say:

why not just http://wikiba.se/lexeme#?TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: danielCc: Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-23 Thread daniel
daniel added a comment.
why not just http://wikiba.se/ontology# ?

In any case, whatever we use, it should resolve to the actual file.

As to the BETA tag... I think we can remove that from the wikibase core ontology now (should make a ticket).
It'S probably good to have it for Lexeme for now.TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: danielCc: Smalyshev, Jonas, Denny, daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-23 Thread Tpt
Tpt added a comment.
Ok for the file. For the canonical namespace URI should we use something like "http://wikiba.se/ontology-lexeme#" to have something similar to "http://wikiba.se/ontology-beta#"? Or maybe "http://wikiba.se/lexeme/ontology#"? Should we also use the beta tag (that looks a lot like the FOAF version trap)?TASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: TptCc: daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T195368: Add Lexeme to Wikibase's ontology.owl

2018-05-23 Thread daniel
daniel added a comment.
I think they should not live in the same file, for practical reasons. It's much easier to deploy one static file per extension. This also makes it easier to use the ontology URL as the vocabulary URI. Note that the ontology URL / vocabulary URI will *not* vary between Wikibase instances. But some of these instances will have WikibaseLexeme installed, while others do not. That would be confusing, if at all workable.

I think they should use separate namespaces, for conceptual reasons: in time, there may be several extensions on top of Wikibase, some of which may have similar models, and may use overlapping vocabulary. To avoid name clashes, each such extension should use their own RDF namespace, as a matter of general hygiene - just like we use separate PHP namespaces.

In summary: each extension declares a new vocabulary, using its own namespace, hosted in at a canonical URL it controls. For the lexeme extension, I porpose http://wikiba.se/lexeme-1.0.owlTASK DETAILhttps://phabricator.wikimedia.org/T195368EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: danielCc: daniel, Tpt, Lydia_Pintscher, abian, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs