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... https://github.com/shexSpec/shex.js/issues/58
Thad https://www.linkedin.com/in/thadguidry/
On Tue, May 28, 2019 at 3:48 PM Andra Waagmeester andra@micel.io wrote:
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 deployed instances?
On Tue, May 28, 2019 at 10:13 PM Peter F. Patel-Schneider < pfpschneider@gmail.com> wrote:
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 be the point of having ShEx in Wikidata.
It is also unclear what is means to be the shape for human. The shape E10- does not have any information on which items are to be considered against the shape. Are all items in Wikidata to be considered (as in the definition of ShEx)? That doesn't seem right. Are all direct instances of human? That seems to limiting. Are all indirect instances of human? This seems the most natural, but where is this behaviour given?
Peter F. Patel-Schneider Samsung Research America
On 5/28/19 12:04 PM, Léa Lacroix wrote:
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 https://www.wikidata.org/wiki/EntitySchema:E10, or create a new
EntitySchema
https://www.wikidata.org/wiki/Special:NewEntitySchema.
A few useful links:
- WikiProject ShEx <
https://www.wikidata.org/wiki/Wikidata:WikiProject_ShEx%3E
- introduction to ShEx http://shex.io/shex-primer/
- more details about the language http://shex.io/shex-semantics/
- More information about how to create a Schema <
https://www.wikidata.org/wiki/Wikidata:WikiProject_ShEx/How_to_get_started%3...
- Phabricator tag: shape-expressions https://phabricator.wikimedia.org/tag/shape_expressions/
- User script <
https://www.wikidata.org/wiki/User:Zvpunry/EntitySchemaHighlighter.js%3E to
highlight items and properties in the schema code and turn the IDs
into links
If you have any question or encounter issues, feel free to ping me.
Cheers,
Léa
On Sun, 19 May 2019 at 15:32, Léa Lacroix <lea.lacroix@wikimedia.de mailto:lea.lacroix@wikimedia.de> wrote:
Hello all, After several months of development and testing together with the WikiProject ShEx <https://www.wikidata.org/wiki/Wikidata:WikiProject_ShEx>, Shape Expressions are about to be enabled on Wikidata. *First of all, what are Shape Expressions?* ShEx (Q29377880) <https://www.wikidata.org/wiki/Q29377880> is a
concise,
formal modeling and validation language for RDF structures. Shape Expressions can be used to define shapes within the RDF graph. In
the case
of Wikidata, this would be sets of properties, qualifiers and
references
that describe the domain being modeled. See also: * a short video about ShEx <
https://www.youtube.com/watch?v=AR75KhEoRKg%3E
made by community members during the Wikimedia hackathon 2019 * introduction to ShEx <http://shex.io/shex-primer/> * more details about the language <http://shex.io/shex-semantics/ *What can it be used for?* On Wikidata, the main goal of Shape Expressions would be to
describe what
the basic structure of an item would be. For example, for a human,
we
probably want to have a date of birth, a place of birth, and many
other
important statements. But we would also like to make sure that if a statement with the property “children” exists, the value(s) of this property should be humans as well. Schemas will describe in detail
what is
expected in the structure of items, statements and values of these statements. Once Schemas are created for various types of items, it is possible
to
test some existing items against the Schema, and highlight possible
errors
or lack of information. Subsets of the Wikidata graph can be tested
to see
whether or not they conform to a specific shape through the use of validation tools. Therefore, Schemas will be very useful to help the editors improving the data quality. We imagine this to be especially useful for wiki projects to more easily discuss and ensure the
modeling of
items in their domain. In the spirit of Wikidata not restricting the world, Shape Expressions are a tool to highlight, not prevent,
errors.
On top of this, one could imagine other uses of Schemas in the
future, for
example building a tool that would suggest, when creating a new
item, what
would be the basic structure for this item, and helping adding
statements
or values. A bit like this existing tool, Cradle <https://tools.wmflabs.org/wikidata-todo/cradle/#/>, that is
currently not
based on ShEx. *What is going to change on Wikidata?* * A new extension will be added to Wikidata: EntitySchema <https://www.mediawiki.org/wiki/Extension:EntitySchema>,
defining the
Schema namespace and its behavior as well as special pages
related to it.
* A new entity type, EntitySchema, will be enabled to store Shape Expressions. Schemas will be identified with the letter E. * The Schemas will have multilingual labels, descriptions and
aliases
(quite similar to the termbox on Items), and the schema text
one can
fill with a syntax called ShEx Compact Syntax (ShExC) <http://shex.io/shex-semantics/#shexc>. You can see an example
here
<https://wikidata-shex.wmflabs.org/wiki/EntitySchema:E2>. * The external tool shex-simple <
https://tools.wmflabs.org/shex-simple/wikidata/packages/shex-webapp/doc/shex...
is directly linked from the Schema pages in order to check
entities of
your choice against the schema. *When is this happening?* Schemas will be enabled on on test.wikidata.org <
on May 21st and on wikidata.org <http://wikidata.org> on May 28th.
After
this release, they will be integrated to the regular maintenance
just like
the rest of Wikidata’s features. *How can you help?* * Before the release, you can try to edit or create Shape
Expressions on
our test system <
https://wikidata-shex.wmflabs.org/wiki/Main_Page%3E
* If you find any issue or feature you’d like to have, feel free
to
create a new task on Phabricator with the tag
|shape-expressions|
* Once Schemas are enabled, you can discuss about it on your
favorite
wikiprojects: for example, what types of items would you like
to model?
* You can also get more information about how to create a Schema <
https://www.wikidata.org/wiki/Wikidata:WikiProject_ShEx/How_to_get_started%3...
*See also: * * Main Phabricator board <https://phabricator.wikimedia.org/tag/shape_expressions/> * Technical documentation of the extension <https://meta.wikimedia.org/wiki/Extension:EntitySchema> * To enhance the interface, you can use this user script <
https://www.wikidata.org/wiki/User:Zvpunry/EntitySchemaHighlighter.js%3E to
highlight items and properties in the schema code and turn the
IDs
into links If you have any questions, feel free to reach me. Cheers, -- Léa Lacroix Project Manager Community Communication for Wikidata Wikimedia Deutschland e.V. Tempelhofer Ufer 23-24 10963 Berlin www.wikimedia.de <http://www.wikimedia.de> Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens
e. V.
Eingetragen im Vereinsregister des Amtsgerichts
Berlin-Charlottenburg
unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
Finanzamt
für Körperschaften I Berlin, Steuernummer 27/029/42207.
-- Léa Lacroix Project Manager Community Communication for Wikidata
Wikimedia Deutschland e.V. Tempelhofer Ufer 23-24 10963 Berlin www.wikimedia.de http://www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter
der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207.
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata