Semantic Demo: Difference between revisions

From KBwiki
Jump to navigation Jump to search
No edit summary
No edit summary
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
This has been extended with [http://semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic MediaWiki]
This has been extended with [http://semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic MediaWiki]


Semantic MediaWiki allows for searching for specific semantic annotations and use these to dynamically built relevant information. The followng example show a table build following static data:
Semantic MediaWiki allows for searching for specific semantic annotations and use these to dynamically built relevant information.  
 
The followng example show a table build following static data:


  <nowiki>
  <nowiki>
Line 15: Line 17:
|- style="background-color:gold;"
|- style="background-color:gold;"
! 2-07
! 2-07
| [[Confined double annular jet]] || Charles Hirsch || Vrije Universiteit Brussel
| [[Confined double annular jet]] || Charles Hirsch || Vrije Universiteit Brussel|}
|}
  </nowiki>
  </nowiki>


Line 33: Line 34:
|}
|}


Identical information can be contructed using  
 
Identical information can be contructed using the followingsemantic query


  <nowiki>
  <nowiki>
Line 40: Line 42:
| mainlabel=Application Challenge
| mainlabel=Application Challenge
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
| ?hasContributorOrg#hasContributorOrg = Contributor
| ?hasContributorPerson#hasContributorPerson = Contributor
| ?hasContributorOrg#hasContributorOrg = Organisation}}
</nowiki>
 
Resulting in:
{{#ask:
[[Category:Combustion]]
| mainlabel=Application Challenge
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
| ?hasContributorPerson#hasContributorPerson = Contributor
| ?hasContributorOrg#hasContributorOrg = Organisation
}}
}}
This does require that the page source of the Combustion Application Challenges contain semantic annotations e.g. in [[Confined double annular jet]]:
<nowiki>
[[Category:Combustion]]
{{#set:hasContributorOrg=Vrije Universiteit Brussel}}
{{#set:hasContributorPerson=Charles Hirsch}}
{{#set:hasContributorPerson=Francois G. Schmitt}}
{{#set:hasReviewerOrg=Technical University of Czestochowa}}
{{#set:hasQualityAccessLevel=Gold}}
  </nowiki>
  </nowiki>




[[Category:Extension Demo]]
[[Category:Extension Demo]]

Revision as of 13:42, 28 August 2009

The QNET-CFD is powered by MediaWiki. This has been extended with Semantic MediaWiki

Semantic MediaWiki allows for searching for specific semantic annotations and use these to dynamically built relevant information.

The followng example show a table build following static data:

{| border="1"
! AC !! Application Challenges !! Contributor !! Organisation
|- style="background-color:gold;"
! 2-01
| [[Bluff body burner for CH4-HE turbulent combustion]] || Elisabetta Belardini ||Universita di Firenze
|- style="background-color:silver;"
! 2-06
| [[The confined TECFLAM swirling natural gas burner]] || Stefan Hohmann || MTU Aero Engines
|- style="background-color:gold;"
! 2-07
| [[Confined double annular jet]] || Charles Hirsch || Vrije Universiteit Brussel|}
 

Resulting in:

AC Application Challenges Contributor Organisation
2-01 Bluff body burner for CH4-HE turbulent combustion Elisabetta Belardini Universita di Firenze
2-06 The confined TECFLAM swirling natural gas burner Stefan Hohmann MTU Aero Engines
2-07 Confined double annular jet Charles Hirsch Vrije Universiteit Brussel


Identical information can be contructed using the followingsemantic query

{{#ask: 
[[Category:Combustion]] 
| mainlabel=Application Challenge
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
| ?hasContributorPerson#hasContributorPerson = Contributor
| ?hasContributorOrg#hasContributorOrg = Organisation}}
 

Resulting in: {{#ask: | mainlabel=Application Challenge | ?hasQualityAccessLevel#hasQualityAccessLevel = Quality | ?hasContributorPerson#hasContributorPerson = Contributor | ?hasContributorOrg#hasContributorOrg = Organisation }}

This does require that the page source of the Combustion Application Challenges contain semantic annotations e.g. in Confined double annular jet:

[[Category:Combustion]]
{{#set:hasContributorOrg=Vrije Universiteit Brussel}}
{{#set:hasContributorPerson=Charles Hirsch}}
{{#set:hasContributorPerson=Francois G. Schmitt}}
{{#set:hasReviewerOrg=Technical University of Czestochowa}}
{{#set:hasQualityAccessLevel=Gold}}