Thursday, November 10, 2011

Making a semantic property without linking

In Semantic mediawiki I wanted to add semantic functionality to a description in order to retrieve it in a semantic search but I dind't want a link on that description (far too long and meaningless as a title page).
  • In making a property without linking (Alex Brown) said: "sure thing - add the property has type:String or has type:Number to the property page."
  • I found on Help:Type String that "Values cannot be longer than 255 characters (if you use non-Latin characters, this number might be smaller). For longer strings, use datatype Text instead."

 To add a property to a page simply edit that page (for example the page "Property:Description") and enter "This property is a [[has type::text]]." It's magic, the links don't appear anymore!

No comments: