Topic on Extension talk:Semantic Glossary

How do I enter terms?

10
65.122.249.196 (talkcontribs)

Sorry for the Noob question but I've installed the extension as well as Lingo on my SMW site. I've created the properties and now I'm stuck to figure out how to start creating Pages/terms for the Glossary? I'm new to SMW and just figuring out the structure of properties, types, categories, forms, templates and all. Glossary was my go-button and I LOVE the idea of it, but where the heck do I find some step-by-step instructs on how to start using it? Thanks, Dave L

F.trott (talkcontribs)

Ok, lets build a simple structure of pages:

  • Create a page 'Hypertext Markup Language' and insert the following text (taken from wikipedia):
HTML is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages.
Web browsers can refer to CSS to define the appearance and layout of text and other material. The W3C, maintainer
of both the HTML and the CSS standards, encourages the use of CSS over explicitly presentational HTML markup. In
1980, physicist Tim Berners-Lee, who was a contractor at CERN, proposed and prototyped ENQUIRE, a system for CERN
researchers to use and share documents. Berners-Lee considered HTML to be an application of SGML. It was formally
defined as such by the IETF with the mid-1993 publication of the first proposal for an HTML specification.
  • Create a page 'Cascading Style Sheet' and insert the following text:
* Abbreviation: [[Glossary-Term::CSS]]
* Definition: [[Glossary-Definition::Cascading Style Sheet]]
  • Create similar pages for 'CERN', 'ENQUIRE', 'SGML', 'IETF'
  • Go back to the page 'Hypertext Markup Language'. The abbreviations should be underlined and when you hover over them the Definition should appear.
  • To provide links with the tooltips, define the Glossary-Link property for the pages, e.g. go to 'Cascading Style Sheet' and modify it so it looks like this:
* Abbreviation: [[Glossary-Term::CSS]]
* Definition: [[Glossary-Definition::Cascading Style Sheet]]
* Link: [[Glossary-Link::Cascading Style Sheet]]
  • Go back to the page 'Hypertext Markup Language' to see the effect
  • You can also provide interwiki links, e.g. on the 'Cascading Style Sheet' try replacing the line with the link by
* Link: [[Glossary-Link::wikipedia:Cascading Style Sheet]]
  • If you want, create a page 'Glossary' and put the following query in it:
{{#ask:[[Glossary-Term::+]]
|?Glossary-Term
|?Glossary-Definition
|?Glossary-Link
|mainlabel=-
|format=table
}}

Cheers,

Dave88008 (talkcontribs)

Beautiful - Thank You so much! (and I posted the example)

F.trott (talkcontribs)

Thanks! :)

MWJames (talkcontribs)

I looked at your Extension:Semantic Glossary/Example and made a general overhaul. Please also note that you should use <nowiki></nowiki> for any documentation purpose where you reference to internal declarations such as [[Glossary:: ... ]] otherwise the documentation will contain red links.

F.trott (talkcontribs)

Hi James,

thanks for that. The screenshots especially are awesome, I am always to lazy to do them. One thing though - the original example was meant for somebody completely new to SMW (and maybe not too experienced with MW, either), hence the detailed step-by-step instructions. Should we get back into that direction? I like the idea of the Semantic Glossary as a starting point for an SMW experience, because it gives useful results almost immediately.

Cheers,

MWJames (talkcontribs)

Hi Stephan, anything works for me as long as the user can work with it. Cheers,

Dave88008 (talkcontribs)

I've been using Semantic Glossary and thanks to User:F.trott's simple explanation I was able to get up-and-running with Semantic Mediawiki.

I had been completely confused about properties, datatypes, templates and forms and how they all worked together.

But Mr. User:F.trott made it all come together after I posted the original question. Thank You!!!

Sorry to say that User:MWJames' "improvement" is in fact, very confusing. It may be technically accurate but is/was NOT the simple explanation as laid out in the original response.

I referred a friend here who is just beginning to learn SMW as I was a couple years ago, but when I saw the original answer had been removed I had to tell my friend to ignore this thread and we would find other ways to break down the learning process.

As an educator, I know it is all-to easy for experts in a particular field to forget how to break down the basics of a subject and sail right over the top of the heads of novice students...so I don't want this to come across as a criticism of User:MWJames. Just a reminder for us all to pay attention to the steps involved in the learning process.

I would suggest the original post response of User:F.trott be reverted to so others can gain the benefit of his tutorial.

Kmlancaster (talkcontribs)

When I follow this tutorial, my glossary shows the term, but my pages do not have any mouseover/markup effect. I'm very new to MW, so please forgive my fundamental question.

F.trott (talkcontribs)

Might be as easy as purging the page. On your page actions choose "Refresh".

Reply to "How do I enter terms?"