Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-06-02 Thread Eric Prud'hommeaux
On Fri, May 31, 2019 at 08:02:03PM +0200, Thomas Tanon wrote: > Hi James, > > I'm not the best person to answer your questions (I've never actually used > ShEx or contributed to it) but I hope to be able to answer your questions. > > > I'm not clear whether there is an RDF representation of ShEx

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-31 Thread Thomas Tanon
Hi James, I'm not the best person to answer your questions (I've never actually used ShEx or contributed to it) but I hope to be able to answer your questions. > I'm not clear whether there is an RDF representation of ShEx that could be added to WDQS -- this is a point that would be useful to

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-31 Thread James Heald
On 30/05/2019 17:45, Benjamin Good wrote: I'd like to restate the initial question. Why did wikidata choose shex instead of other approaches? From this very detailed comparison http://book.validatingrdf.com/bookHtml013.html (thank you Andra!) I could see arguments in both directions. I'm

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-30 Thread Benjamin Good
I'd like to restate the initial question. Why did wikidata choose shex instead of other approaches? >From this very detailed comparison http://book.validatingrdf.com/bookHtml013.html (thank you Andra!) I could see arguments in both directions. I'm curious to know what swayed the wikidata

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-30 Thread Peter F. Patel-Schneider
The history of ShEx is quite complex. I don't think that one can say that there were complete and conforming implementations of ShEx in 2017 because the main ShEX specification, http://shex.io/shex-semantics-20170713/ was ill-founded. I pointed this out in

Re: [Wikidata-tech] [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-30 Thread James Heald
Hi Léa, Thanks to all the team for this. I've proposed a property, https://www.wikidata.org/wiki/Wikidata:Property_proposal/Shape_Expression_for_class To make this work, is it possible to have a Shape Expression as the value of a statement on Wikidata (and the RDF dump, and WDQS) ? Is

Re: [Wikidata-tech] [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-30 Thread Antoine Zimmermann
Hello, Could you explain why the non-standard ShEx has been chosen rather than the W3C Recommendation SHACL? I would assume that if one has several options for bringing a functionality to something that largely promotes interoperability (like Wikidata), the default choice should be a

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-29 Thread Andra Waagmeester
I really don't see the issue here. SHACL, like ShEx is a language to express data shapes. I adopted using ShEx in a wikidata context 2016 when ShEx was demonstrated at a tutorial at the SWAT4HCLS conference [1] in Amsterdam, where it was discussed in both a tutorial and a hackathon topic. At that

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-29 Thread Antoine Zimmermann
Hello, Could you explain why the non-standard ShEx has been chosen rather than the W3C Recommendation SHACL? I would assume that if one has several options for bringing a functionality to something that largely promotes interoperability (like Wikidata), the default choice should be a

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-29 Thread Peter F. Patel-Schneider
It is not really possible to determine what a reasonable shape is before determining which Wikidata items are considered to be instances of human. For example, bog body (Q199414) is a subclass of human (Q5) but its instances are quite different from other instances human. In any case, shouldn't

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-29 Thread Magnus Sälgö
Very interesting as Wikidata starts beeing part of more external data “flows” I would also like to see that we easy can tell * this is the schema we use inside Wikidata * this is external related schemas other organisations has created for this type of data * how this WD schema relate to an

Re: [Wikidata-tech] [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-29 Thread Magnus Sälgö
Very interesting as Wikidata starts beeing part of more external data “flows” I would also like to see that we easy can tell * this is the schema we use inside Wikidata * this is external related schemas other organisations has created for this type of data * how this WD schema relate to an

Re: [Wikidata-tech] [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-29 Thread Léa Lacroix
Thanks for your feedback! There is already a ticket about adding a new data type allowing to link EntitySchemas from statements: https://phabricator.wikimedia.org/T214884 If we don't encounter any major technical issue, this could be done in the incoming weeks. On Tue, 28 May 2019 at 19:18, James

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-29 Thread Léa Lacroix
Thanks for your feedback! There is already a ticket about adding a new data type allowing to link EntitySchemas from statements: https://phabricator.wikimedia.org/T214884 If we don't encounter any major technical issue, this could be done in the incoming weeks. On Tue, 28 May 2019 at 19:18, James

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-28 Thread Thad Guidry
Anyone know of a Language Server & Client for ShEx in Javascript ? It would be great to have one so all IDE's can take advantage of it. https://code.visualstudio.com/api/language-extensions/overview I've opened an issue on github:shexSpec/shex.js to inquire as well...

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-28 Thread Andra Waagmeester
The schemas can strike a practical balance between capturing current practice and describing a todo list of things to fix on current practice. It's possible we will want to separate those roles. In the meantime, can you survey existing instances and propose a shape which is not too far from the

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-28 Thread Peter F. Patel-Schneider
I sure hope that E10 is *not* the shape for human. It certainly isn't a correct shape for humans that belong to subclasses of human (such as Old Croghan Man (Q166790) or Delina Filkins (Q1408186)). E10 is also currently silent on what information should be present for humans, which I take it to

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-28 Thread James Heald
Hi Léa, Thanks to all the team for this. I've proposed a property, https://www.wikidata.org/wiki/Wikidata:Property_proposal/Shape_Expression_for_class To make this work, is it possible to have a Shape Expression as the value of a statement on Wikidata (and the RDF dump, and WDQS) ? Is

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-28 Thread Léa Lacroix
Hello all, As previously announced, we just released shape expressions on Wikidata. You can for example have a look at E10, the shape for human , or create a new EntitySchema . A few useful

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-22 Thread Luca Martinelli
Il giorno mar 21 mag 2019 alle ore 15:07 Léa Lacroix ha scritto: > For now, we didn't build any specific Lua support for shape expressions, but > that's something we could consider if there is the need for it. i'd be glad > to discuss about your ideas and needs when you have a bit more time :)

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-21 Thread Léa Lacroix
Hey Luca, For now, we didn't build any specific Lua support for shape expressions, but that's something we could consider if there is the need for it. i'd be glad to discuss about your ideas and needs when you have a bit more time :) On Mon, 20 May 2019 at 10:53, Luca Martinelli wrote: > This

Re: [Wikidata-tech] [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-21 Thread James Hare
In other words: the benefits of standardized schemata but with less gatekeeping and exclusivity. Cheers! On Sun, May 19, 2019 at 3:32 PM Léa Lacroix wrote: > Hello all, > > After several months of development and testing together with the WikiProject > ShEx

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-20 Thread Iván Hernández Cazorla
Wonderful! Awesome! Thank you very much, Léa, to announce us this arrival. And, of course, thank you to everyone who is working in this project. I think ShEx is going to help to make the data of Wikidata more consistent and trustworthy. I am wishing to learn how to create and use this ShEx

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-20 Thread Luca Martinelli
This is fantastic news, as always. :) I've got a question: can/will those entities also be recalled from Lua templates to help build infoboxes? (Sorry for being cryptic, I'm busy and cannot further explain at the moment, but I cannot help my imagination run wild!) :))) L. Il dom 19 mag 2019,

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-19 Thread James Hare
In other words: the benefits of standardized schemata but with less gatekeeping and exclusivity. Cheers! On Sun, May 19, 2019 at 3:32 PM Léa Lacroix wrote: > Hello all, > > After several months of development and testing together with the WikiProject > ShEx

Re: [Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-19 Thread David Abián
I definitely think this is a big step forward that will reduce maintenance effort, will boost consensus processes on how to represent knowledge on Wikidata and will ensure that the data is consistently represented so that it can be processed unambiguously and automagically to an extent previously

[Wikidata] Shape Expressions arrive on Wikidata on May 28th

2019-05-19 Thread Léa Lacroix
Hello all, After several months of development and testing together with the WikiProject ShEx , Shape Expressions are about to be enabled on Wikidata. *First of all, what are Shape Expressions?* ShEx (Q29377880)