![]() If that happens just click on “edit” and save the page again, after which the page content will be updated properly. There is one thing you need to observe: You will probably find that your information is missing in some of the page’s paragraphs. ![]() In combination with the data you entered, this will generate the actual wiki page. This helps to avoid multiple wiki pages for a single entity.īefore you submit the form, copy this line and paste it into the “free text” box – it’s the line that calls up the appropriate template, in this case for a person: When you fill in the fields “Works for”, “Friends” and “Topics” you will notice that an autocomplete feature assists you by suggesting pages that are already in the wiki. Log in with testuser and testuserpw, go to the page Form:Person and enter a name (e.g. This means a regular user doesn’t have to edit any wiki text to be able to contribute content. This feature is one of the essential advantages that SMW holds over a regular MediaWiki: Most of the content of our wiki is automatically generated from data which have comfortably been entered by filling in forms. Here is the query page for people living in Vienna or Graz: Concept:Persons_working_in_Vienna_or_Graz, What is also very useful is that you can save any query on its own page, so users don’t have to know or remember the syntax. Now go a step further and ask for the name and email address of all persons that work for a organisation located in Vienna or Graz and print their e-mail addresses. Into the left hand box (“Hat Sitz in” = “is based in”). To display all organisations located in Vienna or Graz just copy paste More sophisticated queries can be made on the Special:Ask page. view a list of everyone’s blog URLs on this page: Property:Weblog. You can add another topic (which makes the set of results larger) or additionally specify an author (which further narrows it down).Ī straightforward approach to exploring the values of a semantic property is to just look at the property’s wiki page. Take at look at the list of articles page… it uses Semantic Drilldown, so you can narrow the displayed articles down by author (“geschrieben von” = “written by”) or by topic (“Schlagwort”): For instance, select a topic from the tagcloud style list and you’ll be presented with a list of articles covering the subject in question. If the data on an article’s page has changed, it will also be updated in that list – while in regular MediaWikis one has to manually update the data in both places (the article, and the list), which, apart from the extra work, also makes errors and inconsistencies much more likely. View its source to see the inline queries used to generate the page ( click to enlarge or view the source on the wiki):Īs a result, the list is generated afresh any time the table of contents page is called up. This page for the book’s table of contents is an example. In SMW it is easy to create all kinds of lists with queries. It’s an equally laborious and error-prone activity to keep such lists up to date as a result, there are a lot of useful Wikipedia lists we can imagine that don’t exist at all, like a list of the world’s largest corporations with a CEO younger than 35. So let’s see what these features hold for us.Ī common problem in wikis like Wikipedia is the (amount of) effort it requires to create and maintain various lists like the list of the EU’s largest cities. This tutorial is going to take you through the following SMW features: For the following examples, we have created a mirror of our productive wiki, so don’t hesitate to edit and play with this mirror wiki (we might refresh it occasionally, so don’t write any data into the wiki that you don’t also have stored elsewhere). This short tutorial is based on my SMW demonstration at the Web of Data Practitioners’ Days in Vienna two weeks ago.Īs the book is in German, the wiki is set up in German, too, but that shouldn’t be a problem for understanding the demonstrated features. In this blog post we’ll take a look at the handy features you get with these. We opted for Semantic MediaWiki (SMW) and the extensions Semantic Forms and Semantic Drilldown. Staying true to the motto “Eat your own dog food”, the Semantic Web Company has used a semantic wiki for that purpose. On the occasion of the recent publication of our book, Social Semantic Web, we have created an accompanying wiki for you to explore the contents of the book and obtain information about its authors.
0 Comments
Leave a Reply. |