The id of this template is id='tripletable'
<#assign triples=tripleStore.getTriples()/>
== Triple table ==
{|class="wikitable sortable"
!subject!!predicate!!object
|-
<#list triples as triple>
| ${triple.subject} || ${triple.predicate} || ${triple.object}
|-
</#list>
|}
{{wikitask|cmd=runtemplate|input=temperature|template=tripletable|targetpage=WikiTask Tutorial/temperatureTable}}
{|class="wikitable sortable" !subject!!predicate!!object |- | Temperature || today || cool |- | Temperature || yesterday || modest |- | Temperature || tomorrow || warm |- | Cloud || today || cloudy |- | Cloud || yesterday || partly |- | Cloud || tommorrow || sunny |- |}
subject | predicate | object |
---|---|---|
Temperature | today | cool |
Temperature | yesterday | modest |
Temperature | tomorrow | warm |
Cloud | today | cloudy |
Cloud | yesterday | partly |
Cloud | tommorrow | sunny |
This is some SiDIF input. It has the id='temperature'
Temperature today cool
Temperature yesterday modest
Temperature tomorrow warm
Cloud today cloudy
Cloud yesterday partly
Cloud tommorrow sunny