SMW sandbox: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
Line 23: Line 23:
== Forms extensions ==
== Forms extensions ==


.....
See http://www.mediawiki.org/wiki/Extension:Semantic_Forms
 
{{{for template|Item}}}
{| class="formtable"
! Author:
| {{{field|author|mandatory}}}
|-
! Source:
| {{{field|source|mandatory}}}
|-
! Date:
| {{{field|date}}}
|-
! URL:
| {{{field|url}}}
|-
! Quote:
| {{{field|quote|input type=textarea}}}
|}
{{{end template}}}
 
{{{for template|Opinion|label=Opinions for this item|multiple}}}
'''Topic:''' {{{field|1}}}
 
'''Position:''' {{{field|2|size=55}}}
 
'''Stance:''' {{{field|3|size=10}}}
{{{end template}}}
 
{{{for template|Reference|label=Previous opinion items this item refers to|multiple}}}
'''Item name:''' {{{field|1|values from category=Items}}}
{{{end template}}}
 
'''Free text:'''
 
{{{standard input|free text}}}
 
 
{{{standard input|summary}}}
 
{{{standard input|minor edit}}} {{{standard input|watch}}}
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}





Revision as of 11:47, 26 August 2011

Introduction

This page is for Semantic MediaWiki testing. So far I don't use it for real yet - Daniel K. Schneider 18:40, 24 August 2011 (CEST)

Simple tests

The example from the Installation Manual

Property test:  [[testproperty::Dummypage]]

gives:

Property test: Dummypage

Same but using an existing page:

Property test: [[Part-of Mediawiki::Semantic MediaWiki]]

gives

Property test: Semantic MediaWiki

InfoBox

An infobox about facts in page can be automatically generated at the end of the page by setting a parameter in LocalSettings.php .....

Forms extensions

See http://www.mediawiki.org/wiki/Extension:Semantic_Forms

Item

Author: author
Source: source
Date: date
URL: url
Quote: quote

{{{end template}}}

Opinion Topic: 1

Position: 2

Stance: 3 {{{end template}}}

Reference Item name: 1 {{{end template}}}

Free text:

free text


summary

minor edit watch

save preview changes cancel


Templates

Let's see if the tools template from W3C works

... it doesn't, i.e. external URL's become internal

Jena, a Java RDF API and toolkit

Name of the tool: Jena, a Java RDF API and toolkit
Home page: http://openjena.org
Programming Language(s) that can be used with the tool: Java
Relevant Semantic Web technologies: RDF, RDFS, SPARQL, OWL, GRDDL
Categories: Triple Store, Programming Environment, Reasoner, Rule Reasoner, OWL Reasoner, RDFS Reasoner
See Also: http://semanticweb.org/wiki/Jena
Public mailing list: http://groups.yahoo.com/group/jena-dev
Preferred project URI:
DOAP Reference:
Company or Institution:

(Tool description last modified on 2011-08-26.)

Description