SMW sandbox: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
gives
gives
:Property test: [[Part-of Mediawiki::Semantic MediaWiki]]
:Property test: [[Part-of Mediawiki::Semantic MediaWiki]]
== RunQuery ==
[[Special:RunQuery]]


== InfoBox ==
== InfoBox ==
Line 23: Line 27:
== Forms extensions ==
== Forms extensions ==


See http://www.mediawiki.org/wiki/Extension:Semantic_Forms
Forms are created within their own namespace
 
{{{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}}}
See
* http://www.mediawiki.org/wiki/Extension:Semantic_Forms


'''Example:'''
* [[Form:Opinion item]]
* [[Template: Opinion item]]


== Templates ==
== Templates ==

Latest revision as of 14:32, 6 June 2013

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

RunQuery

Special:RunQuery

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

Forms are created within their own namespace

See

Example:

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 2013-06-6.)

Description