Yes - this should definitely be possible. It isn't a complex design. However, you
might want to rework the conceptual data structures to be a little less
"database-like", and more "semantic-web-like".
From your design, I'd do the following:
Category: Material
Property: Density (range: floating-point number)
Property: Boiling Point (range: integer)
Property: Melting Point (range: integer)
Property: Specific Heat (range: integer)
Property: Tensile Strength (range: integer)
Property: Material Type (range: enumerated type [metal, non-metal, fluid])
Then you could create a Material template that put the different properties into an
InfoBox, and assigned the values to the properties. Then to create the Material table,
you'd have another page - a concept page - with something like the following query:
{{#ask:[[Category:Material]]
|?density
|?Boiling Point
...
}}
To list all the current Boiling Point values, you'd simply go to the Property:Boiling
Point page. That should list all the Material - value pairs.
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Albert Coder
Sent: Wednesday, June 25, 2014 12:59 PM
To: MediaWiki announcements and site admin list
Subject: Re: [MediaWiki-l] Need help regarding MediaWiki-extension
On Wed, Jun 25, 2014 at 8:00 PM, Ed Swing <Ed.Swing(a)sas.com> wrote:
Then you can query a particular property, property
value, or list all materials and properties in a tabular format using the Semantic Results
Format extension.
@ Krabina Bernhard and Ed Swing
Thanks a lot for the suggestion, I read about Semantic MediaWiki. It's a marvellous
extension but I have one query which I couldn't figure out. I have some compulsion to
store the data in the database design [1]. Is it possible to store data in this database
design using Semantic MediaWiki?
[1]
http://202.164.53.122/~albertcoder/images/fdb.JPG
--
Thanks
Albert
www.coderalbert.wordpress.com
" Eat Sleep Conquer Repeat "
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l