Introduction

From Redazione
Jump to navigation Jump to search
Line 7: Line 7:
 
The project has been initially implemented within the frame of a [https://eacea.ec.europa.eu/sites/european-solidarity-corps_en European Solidarity Corps] project (funded by European Union), is supported at the moment by the center of Italian culture and language in charge of the project which ensures its continuity over time (as well as that the requirements of the project are met) and foresees the inclusion of other institutions and organizations interested in taking part to the initiative.
 
The project has been initially implemented within the frame of a [https://eacea.ec.europa.eu/sites/european-solidarity-corps_en European Solidarity Corps] project (funded by European Union), is supported at the moment by the center of Italian culture and language in charge of the project which ensures its continuity over time (as well as that the requirements of the project are met) and foresees the inclusion of other institutions and organizations interested in taking part to the initiative.
 
<section end="preamble" /><section begin="body" />
 
<section end="preamble" /><section begin="body" />
 +
 
With reference of the "back-end" part, we oriented ourselves to a Mediawiki system, because is open-source, it offers the most or one of the most reliable systems world-wide for creation and publishing of collaborative contents (thanks to the challenge posed by a critical application like Wikipedia) with a leading [https://en.wikipedia.org/wiki/Version_control version control system] (it allows simultaneous editing of the same content by different users, keeping track of the history of changes of each of them, and allowing the comparisons between any version's article with whatever other), and because it can be actually used as a collaborative CMS ([https://en.wikipedia.org/wiki/Content_management_system content management system]) with no hidden information and, once again, completely open source, including the functionalities to represent and to handle structured data, like [https://www.mediawiki.org/wiki/Help:Templates templates], [https://www.mediawiki.org/wiki/Extension:Page_Forms forms] and [https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic Mediawiki].
 
With reference of the "back-end" part, we oriented ourselves to a Mediawiki system, because is open-source, it offers the most or one of the most reliable systems world-wide for creation and publishing of collaborative contents (thanks to the challenge posed by a critical application like Wikipedia) with a leading [https://en.wikipedia.org/wiki/Version_control version control system] (it allows simultaneous editing of the same content by different users, keeping track of the history of changes of each of them, and allowing the comparisons between any version's article with whatever other), and because it can be actually used as a collaborative CMS ([https://en.wikipedia.org/wiki/Content_management_system content management system]) with no hidden information and, once again, completely open source, including the functionalities to represent and to handle structured data, like [https://www.mediawiki.org/wiki/Help:Templates templates], [https://www.mediawiki.org/wiki/Extension:Page_Forms forms] and [https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic Mediawiki].
  
The key-feature of the project is its ability to easily create [https://en.wikipedia.org/wiki/Semantic_Web semantic data] out of simple forms, representing specific set of data (like articles, organizations themselves, meetings, scholarships and other opportunities, reading suggestions, and so forth) with the aim to let them easily accessed from the outside (specifically by the front-end part of the project, as well as by any other third-party, like the websites belonging to centers of Italian language and culture themselves) through either the standard [https://www.mediawiki.org/wiki/API:Main_page Mediawiki APIs], callable notably by any Wordpress website, or by a specific extended APIs [[How it works/Advanced use/APIs|described here]], so that on the one hand the creation of contents can be centralized and kept separate by their presentation, and on the other they can be served among several platforms (including search engines, which explicitly encourage the use of [https://developers.google.com/search/docs/guides/intro-structured-data structured data]) thanks to the interoperability ensured by semantic data, and specifically of [https://www.semantic-mediawiki.org/wiki/Help:API:ask semantic “ask” queries].
+
The key-feature of the project is its ability to easily create [https://en.wikipedia.org/wiki/Semantic_Web semantic data] out of simple forms, representing specific set of data (like articles, organizations themselves, meetings, scholarships and other opportunities, reading suggestions, and so forth) with the aim to let them easily accessed from the outside (specifically by the front-end part of the project, as well as by any other third-party, like the websites belonging to centers of Italian language and culture themselves) through either the standard [https://www.mediawiki.org/wiki/API:Main_page Mediawiki APIs], callable notably by any Wordpress website through dedicated [https://wordpress.org/plugins/tags/mediawiki/ plugins], or by an [[How it works/Advanced use/APIs|extended APIs]], which is even more effective, so that on the one hand the creation of contents can be centralized and kept separate by their presentation, and on the other they can be served among several platforms (including search engines, which explicitly encourage the use of [https://developers.google.com/search/docs/guides/intro-structured-data structured data]) thanks to the interoperability ensured by semantic data, and specifically of [https://www.semantic-mediawiki.org/wiki/Help:API:ask semantic “ask” queries].
  
Basically once that you have added a page representing your organization on this site, you can query for any data that you have inserted from the outside (for instance your Wordpress site) through a query like:  
+
Basically once that you have added a page representing your organization on this site, you can query for any data that you have inserted from the outside (using the standard Mediawiki's [https://culturaitaliana.org/w/api.php api endpoint]) through a query like:  
  
 
<pre class="language-json">
 
<pre class="language-json">
Line 20: Line 21:
 
}
 
}
 
</pre>
 
</pre>
(to the standard Mediawiki's [https://culturaitaliana.org/w/api.php api endpoint])
 
 
 
which basically will return all teachers of Italian language in charge at the Italian center of Barcelona. (here is the [[Special:ApiSandbox|api sandbox]] where you can play on your own).
 
which basically will return all teachers of Italian language in charge at the Italian center of Barcelona. (here is the [[Special:ApiSandbox|api sandbox]] where you can play on your own).
  
Usually you do that with a concealed database, with an arbitrary data-structure in which the aspects of interoperability, accessibility, and cooperativeness are reduced to zero, and therefore which limit the use of your data to the original platform, which is typically "isolated" on the web: furthermore, information stored therein are not readable, as such, from third party systems, through an universal vocabulary which is indeed the aim of [https://www.wikidata.org/wiki/Wikidata:Main_Page wikidata], a project to which our is strictly related and where a [https://www.mediawiki.org/wiki/Wikibase wikibase repository] is already installed and ready to use at [https://data.culturaitaliana.org/wiki/Culturaitaliana-data:Main_Page this address], thus we are currently relying on [https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki semantic mediawiki], because the [https://www.wikidata.org/wiki/Wikidata:Federation_input federation] feature of wikidata/wikibase at the year (2020) is not yet ready, and nonetheless we can do the steps in that direction all together. [*** update: in January 2021, Semantic Mediawiki's authors have done some steps in this direction, [https://professional.wiki/en/news/semantic-wikibase-released presented here]]
+
Usually you do that with a concealed database, with an arbitrary data-structure in which the aspects of interoperability, accessibility, and cooperativeness are reduced to zero, and therefore which limit the use of your data to the original platform, which is typically "isolated" on the web: furthermore, information stored therein are not readable, as such, from third party systems, through an universal vocabulary which is indeed the aim of [https://www.wikidata.org/wiki/Wikidata:Main_Page Wikidata], a project to which our is strictly related inasmuch as a [https://www.mediawiki.org/wiki/Wikibase wikibase repository] is already installed and ready to use at [https://data.culturaitaliana.org/wiki/Culturaitaliana-data:Main_Page this address], although we are currently relying on [https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic Mediawiki], because the [https://www.wikidata.org/wiki/Wikidata:Federation_input federation] feature of Wikidata/Wikibase at the year 2020 is not yet ready, and nonetheless we can do the steps in that direction all together. [*** update: in January 2021, Semantic Mediawiki's authors have done some steps in this direction, [https://professional.wiki/en/news/semantic-wikibase-released presented here], although a stable solution will not be usable before the 2nd quarter of 2021]
  
By contrast to the typical design of ordinary web sites and web applications, where the data structure is concealed, and not accessible or improvable from their users, in a semantic Mediawiki it is expressed in terms of sets of properties (of which here is [https://culturaitaliana.org/w/index.php?title=Special:Properties&limit=250&offset=0 the complete list]]) which are recorded among the contents themselves of the wiki! This is a breakthrough approach, because it makes possible for users themselves of the platform to modelize and to shape their own information based on their experience and their needs, of which can take advantage all other organizations of the wiki as well, instead than just passively adopting models imposed by others which are necessarily aimed to conflicting or incompatible interests.
+
By contrast to the typical design of ordinary web sites and web applications, where the data structure is concealed, and not accessible or improvable from their users, in a semantic Mediawiki it is expressed in terms of sets of properties (of which here is [https://culturaitaliana.org/w/index.php?title=Special:Properties&limit=250&offset=0 the complete list]]) which are stored among the contents themselves of the wiki! This is a breakthrough approach, because it makes possible for users themselves of the platform to modelize and to shape their own information based on their experience and their needs, and to contribute actively with it, instead than just passively adopting models imposed by others (or: "actively filling with contents models imposed by others") which are necessarily aimed to conflicting or incompatible interests.
  
 
Here is for instance a set of properties representing an organization:
 
Here is for instance a set of properties representing an organization:
Line 66: Line 65:
  
 
and a "Factbox", with the same semantic information displayed by Semantic Mediawiki itself (installed on our wiki as an extension).
 
and a "Factbox", with the same semantic information displayed by Semantic Mediawiki itself (installed on our wiki as an extension).
[[File:Main Page/Organization - Factbox.png|center|frameless|alt=|Factbox]|600px]]
+
[[File:Main Page/Organization - Factbox.png|center|frameless|alt=|<nowiki>Factbox]</nowiki>|600px]]
 +
 
 +
All of them, besides than filled-in with data, can be fully accessed (with regard of their "source code", more precisely a set of pages containing [https://en.wikipedia.org/wiki/Help:Wikitext wiki-text]) by users and even the related data-structure arbitrarily enriched to represent realities not fitting in a given model: a completely new model could be created to just fit one item, this is completely acceptable.
  
As already mentioned, thus they produce a clear summary of data, in the view of our project, they have not a merely aesthetic purpose – or rather: they are not merely intended to visitors, but rather to external APIs that as mentioned can query the platform, and display and use this information as they deem most appropriate: indeed, although the present site can of course be accessed and consulted by visitors in an autonomous way as whatever other wiki, is to be considered, as above, a sophisticated CMS and at the same time a laboratory for centers of Italian culture and language in order to shape their information in innovative ways, to enhance their cooperation at this regard (in our opinion of utmost importance, since <!--adopted data models-->adopted data structures and behavioral patterns are related) and to showcase such information on diverse and even separated front-ends.  
+
Furthermore, while the components above produce a clear summary of data, in the view of our project, they have not a merely aesthetic purpose – or rather: they are not merely intended to visitors, but rather to external platforms (namely all those focusing on linked data, starting with Wikidata) which as mentioned can query the APIs, and to use and display the information according to their design: indeed, although the present site can of course be accessed and consulted by visitors in an autonomous way as whatever other wiki, is to be considered, as above, a sophisticated CMS and at the same time a laboratory for centers of Italian culture and language in order to shape their information in innovative ways, to enhance their cooperation at this regard (in our opinion of utmost importance, since <!--adopted data models-->adopted data structures and behavioral patterns are related) and to showcase such information on diverse and even separated front-ends.  
  
 
<section end="body" />
 
<section end="body" />

Revision as of 16:45, 6 February 2021

Cultura italiana is a project aiming to create a network and to enhance cooperation among centers of Italian culture and language at abroad.

It is meant to be composed of at least 2 components: a back-end platform, represented by this Mediawiki site where authorized staff of centers of Italian culture and language can add or structure their organization information in a collaborative way and with attention for semantic data, and by a front-end platform, currently represented by this site, where the created contents can be viewed, searched and enjoyed by visitors in an attractive and modern way, including from mobile devices. (depending on what side you are reading this content, one of the links will point to itself)

The project has been initially implemented within the frame of a European Solidarity Corps project (funded by European Union), is supported at the moment by the center of Italian culture and language in charge of the project which ensures its continuity over time (as well as that the requirements of the project are met) and foresees the inclusion of other institutions and organizations interested in taking part to the initiative.

With reference of the "back-end" part, we oriented ourselves to a Mediawiki system, because is open-source, it offers the most or one of the most reliable systems world-wide for creation and publishing of collaborative contents (thanks to the challenge posed by a critical application like Wikipedia) with a leading version control system (it allows simultaneous editing of the same content by different users, keeping track of the history of changes of each of them, and allowing the comparisons between any version's article with whatever other), and because it can be actually used as a collaborative CMS (content management system) with no hidden information and, once again, completely open source, including the functionalities to represent and to handle structured data, like templates, forms and Semantic Mediawiki.

The key-feature of the project is its ability to easily create semantic data out of simple forms, representing specific set of data (like articles, organizations themselves, meetings, scholarships and other opportunities, reading suggestions, and so forth) with the aim to let them easily accessed from the outside (specifically by the front-end part of the project, as well as by any other third-party, like the websites belonging to centers of Italian language and culture themselves) through either the standard Mediawiki APIs, callable notably by any Wordpress website through dedicated plugins, or by an extended APIs, which is even more effective, so that on the one hand the creation of contents can be centralized and kept separate by their presentation, and on the other they can be served among several platforms (including search engines, which explicitly encourage the use of structured data) thanks to the interoperability ensured by semantic data, and specifically of semantic “ask” queries.

Basically once that you have added a page representing your organization on this site, you can query for any data that you have inserted from the outside (using the standard Mediawiki's api endpoint) through a query like:

{
	"action": "ask",
	"format": "json",
	"query": "[[~Centro italiano Barcellona*]] [[Category:Teachers]] [[Teacher taught languages::Italian]]"
}

which basically will return all teachers of Italian language in charge at the Italian center of Barcelona. (here is the api sandbox where you can play on your own).

Usually you do that with a concealed database, with an arbitrary data-structure in which the aspects of interoperability, accessibility, and cooperativeness are reduced to zero, and therefore which limit the use of your data to the original platform, which is typically "isolated" on the web: furthermore, information stored therein are not readable, as such, from third party systems, through an universal vocabulary which is indeed the aim of Wikidata, a project to which our is strictly related inasmuch as a wikibase repository is already installed and ready to use at this address, although we are currently relying on Semantic Mediawiki, because the federation feature of Wikidata/Wikibase at the year 2020 is not yet ready, and nonetheless we can do the steps in that direction all together. [*** update: in January 2021, Semantic Mediawiki's authors have done some steps in this direction, presented here, although a stable solution will not be usable before the 2nd quarter of 2021]

By contrast to the typical design of ordinary web sites and web applications, where the data structure is concealed, and not accessible or improvable from their users, in a semantic Mediawiki it is expressed in terms of sets of properties (of which here is the complete list]) which are stored among the contents themselves of the wiki! This is a breakthrough approach, because it makes possible for users themselves of the platform to modelize and to shape their own information based on their experience and their needs, and to contribute actively with it, instead than just passively adopting models imposed by others (or: "actively filling with contents models imposed by others") which are necessarily aimed to conflicting or incompatible interests.

Here is for instance a set of properties representing an organization:

  1. Organization address of type Text (1 use)
  2. Organization city of type Text (16 uses)
  3. Organization coordinates of type Geographic coordinates (1 use)
  4. Organization country of type Text (2 uses)
  5. Organization foundation year of type Number (1 use)
  6. Organization logo + of type URL (0 uses)
  7. Organization name of type Text (9 uses)
  8. Organization type of type Text (9 uses)
  9. Organization website of type URL (2 uses)

here is the corresponding form:


Form organization


here is the template filled in by the form above

{{Form organization
|Name=
|Type=
|Logo=
|Country=
|Address=
|Coordinates=
|Foundation year=
|Email=
|Website=
}}

and here are two elements produced using such data, that is an "Infobox", a summary of the semantic data (corresponding to the field names of an ordinary relational database) of the item (the organization)

and a "Factbox", with the same semantic information displayed by Semantic Mediawiki itself (installed on our wiki as an extension).

All of them, besides than filled-in with data, can be fully accessed (with regard of their "source code", more precisely a set of pages containing wiki-text) by users and even the related data-structure arbitrarily enriched to represent realities not fitting in a given model: a completely new model could be created to just fit one item, this is completely acceptable.

Furthermore, while the components above produce a clear summary of data, in the view of our project, they have not a merely aesthetic purpose – or rather: they are not merely intended to visitors, but rather to external platforms (namely all those focusing on linked data, starting with Wikidata) which as mentioned can query the APIs, and to use and display the information according to their design: indeed, although the present site can of course be accessed and consulted by visitors in an autonomous way as whatever other wiki, is to be considered, as above, a sophisticated CMS and at the same time a laboratory for centers of Italian culture and language in order to shape their information in innovative ways, to enhance their cooperation at this regard (in our opinion of utmost importance, since adopted data structures and behavioral patterns are related) and to showcase such information on diverse and even separated front-ends.