Difference between revisions of "Semantic Demo"

From KBwiki
Jump to navigation Jump to search
m (SemanticDemo Demo moved to Semantic Demo: improved title)
(Replace QNET with KB Wiki)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
The QNET-CFD is powered by [http://www.mediawiki.org/wiki/MediaWiki MediaWiki].
+
The KB Wiki is powered by [http://www.mediawiki.org/wiki/MediaWiki MediaWiki].
This has been extended with [http://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party) DynamicPageList] and [http://semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic MediaWiki]
+
This has been extended with [http://semantic-mediawiki.org/wiki/Semantic_MediaWiki Semantic MediaWiki]
  
DynamicsPageList is used to dynamically extend the navigation tree.
+
Semantic MediaWiki allows for searching for specific semantic annotations and use these to dynamically built relevant information.  
Its effect can be seen by moving the mouse pointer on the navigation tree sub branches of 'Application Areas' or sub branches of 'Underlying Flow Regimes'.
 
  
[[Image:SemaDemoNavtree.png|centre|thumb|430px|Figure 1: Navigation tree with dynamic page list extension]]
+
The followng example show a table build following static data:
 +
 
 +
<nowiki>
 +
{| 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|}
 +
</nowiki>
 +
 
 +
Resulting in:
 +
{| 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
 +
|}
 +
 
 +
 
 +
Identical information can be contructed using the followingsemantic query
 +
 
 +
<nowiki>
 +
{{#ask:
 +
[[Category:Combustion]]
 +
| mainlabel=Application Challenge
 +
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
 +
| ?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>
 +
 
 +
 
 +
 
 +
[[Category:Extension Demo]]

Latest revision as of 10:53, 17 January 2021

The KB Wiki 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}}