Semantic Demo: Difference between revisions

From KBwiki
Jump to navigation Jump to search
No edit summary
(Replace QNET with KB Wiki)
 
(5 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://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 34: Line 35:




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


  <nowiki>
  <nowiki>
Line 41: Line 42:
| mainlabel=Application Challenge
| mainlabel=Application Challenge
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
| ?hasContributorOrg#hasContributorOrg = Organisation
| ?hasContributorPerson#hasContributorPerson = Contributor
| ?hasContributorPerson#hasContributorPerson = Contributor
}}
| ?hasContributorOrg#hasContributorOrg = Organisation}}
  </nowiki>
  </nowiki>


Resulting in:
{{#ask:  
{{#ask:  
[[Category:Combustion]]  
[[Category:Combustion]]  
| mainlabel=Application Challenge
| mainlabel=Application Challenge
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
| ?hasQualityAccessLevel#hasQualityAccessLevel = Quality
| ?hasContributorPerson#hasContributorPerson = Contributor
| ?hasContributorOrg#hasContributorOrg = Organisation
| ?hasContributorOrg#hasContributorOrg = Organisation
| ?hasContributorPerson#hasContributorPerson = Contributor
}}
}}
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]]
[[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}}