SlideShare a Scribd company logo
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
SEMANTIC FORMS
& FAMILY
a story with a happy ending
SMWCon Fall 2016
Tutorial Day
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
A SEMANTIC FORM
The Hero of the Story
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
SEMANTIC FORMS
• use with Semantic MediaWiki,
Cargo or independently
• add data via forms
• style outputs with templates
• documentation on mediawiki.org
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
SEMANTIC FORMS
üeasy data input and editing – no
wikitext needed
üidentical styling of printout
üautomatic storage of properties
üarraymap (& arraymaptemplate)
Help: arraymap
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
SEMANTIC FORMS
Let‘s standardize display and
creation of book pages!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A NEW FORM
Get to know the classy family
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
A FORM‘S FAMILY (= CLASS)
template
property
form category
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A NEW FORM
• create with Special:CreateClass
• create individually
1. properties & their data types
2. templates
3. forms
4. categories
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A CLASS
• create with Special:CreateClass
• add field names, property names,
data types, allowed values
• job queue!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATECLASS
• create with Special:CreateClass
• add field names, property names,
data types, allowed values
• job queue!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
DATA STRUCTURE
FIELD	
  
NAME
INPUT
VALUE
PROPERTY DATA	
  TYPE ALLOWED	
  
VALUES
Author Hermann	
  
Hesse
Has	
  author Page
Publishing
year
1974 Was	
  
published
in
Year/Date YYYY
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE INDIVIDUALLY
• create individually
1. properties > Special:CreateProperty
2. templates > Special:CreateTemplate
3. forms > Special:CreateForm
4. categories > Special:CreateCategory
Help: special pages
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE INDIVIDUALLY
• create individually
1. properties > Special:CreateProperty
2. templates > Special:CreateTemplate
3. forms > Special:CreateForm
4. categories > Special:CreateCategory
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
• create individually
1. properties > Special:CreateProperty
2. templates > Special:CreateTemplate
3. forms > Special:CreateForm
4. categories > Special:CreateCategory
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
Special:CreateTemplate
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
• table, side infobox, plain text,
sections
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A TEMPLATE
semantic storage & styling
<noinclude>[[Category:Book
form]]</noinclude>
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
USE THE TEMPLATE
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
USE THE TEMPLATE
but that‘s tedious to write!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A FORM
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
A SIMPLE FORM
{{{for template|Book}}}
{| class="formtable“
! Author:
| {{{field|Author|mandatory}}}
|-
! Publisher:
| {{{field|Publisher}}}
|}
{{{end template}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
CREATE A NEW FORM
• create individually
1. properties > Special:CreateProperty
2. templates > Special:CreateTemplate
3. forms > Special:CreateForm
4. categories > Special:CreateCategory
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
1 form can fill 1 or more templates
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
properties are taken from template
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
extra parameters according to input type
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
PARAMETERS
• mandatory– *
• restricted – only for
admins
• class
• default value
• preload content
• size, rows/columns,
maxlength, autogrow
• placeholder
• uploadable, default
filename
• values – set ofvalues:
values from property,
from category, from
namespace, from concept,
from url
• list, delimiter
• show on select (input type
dropdown)
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
missing the ”Edit with form” tab?
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
Don’t forget the category:
{{#default_form:Book}}
• based on category, namespace or
single page
Help: the "edit with form" tab
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
FORM:BOOK
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
FORM:BOOK
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
FORM:BOOK
OK, but I want:
• text area instead of text!
• date instead of year!
• a country dropdown field!
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
FORM:BOOK
So I make those changes:
• {{{field|Title|mandatory|input
type=text}}}
• {{{field|Publishing year|input
type=year}}}
• {{{field|Publishing country|values
from property=Has publishing
country}}}
• {{{field|Author|input
type=combobox}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
THE FORM IN DETAIL
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
A SIMPLE FORM
{{{for template|Book}}}
{| class="formtable“
! Author:
| {{{field|Author|mandatory}}}
|-
! Publisher:
| {{{field|Publisher}}}
|}
{{{end template}}}
Help: defining forms
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
„For TEMPLATE“ Tag
{{{for template|Book}}}
multiple
label= for multiple instances
display= table/spreadsheet
add button text
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
„Info“ Tag
{{{info}}}
{{{for template|Book}}}
{| class="formtable“
! Author:
| {{{field|Author|mandatory}}}
|-
! Publisher:
| {{{field|Publisher}}}
|}
{{{end template}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
„Info“ Tag
{{{info}}}
partial form
create title
edit title
query title
page name= formula 1-step-process!
onlyinclude free text
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
„field“ Tag
{{{field|Author}}}
input type=
hidden
mandatory
restricted
default
class
property
cargo table, cargo field
list, delimiter
holds template
unique, unique for
category/for
namespace/for concept
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
STANDARD INPUTS
• {{{standard input|free text|rows=10}}}
• {{{standard input|summary}}}
• {{{standard input|minor edit}}}
• {{{standard input|watch}}}
• {{{standard input|save}}}
• {{{standard input|preview}}}
• {{{standard input|changes}}}
• {{{standard input|cancel}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
INPUT TYPES
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
INPUT TYPES
text (with autocomplete)
textarea (with
autocomplete)
combobox
tokens
radiobutton
dropdown
checkboxes
listbox
tree
checkbox
date
datetime
year
datepicker
openlayers, googlemaps
regexp
Help: input types
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
TEXT & TEXTAREA
with autocomplete
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
COMBOBOX
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
LISTBOX
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
TOKENS
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
DROPDOWN, CHECKBOXES,
RADIOBUTTON
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
DATEPICKER
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
LINK TO THE NEW FORM
• add links to forms (on startpage, in
templates)
– categories have default forms
– links in sidebar and on pages
– #formredlink
Help: #formredlink
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
BEST PRACTICES
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
data structure
DISPLAY
TITLE
FIELD INPUT	
  
VALUE
PROPERTY DATA	
  TYPE INPUT	
  
TYPE
Author Author Hermann	
  
Hesse
Has	
  author Page Text	
  with	
  
autocompl
ete
Publishing	
  
year
Year 1974 Was	
  
published
in
Year/Date Datetime/Y
ear/Datepi
cker
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
name properties wisely
• generic vs specific
• thinking in sentences to make the
direction clear
• Capital vs. Is capital of / Has capital
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
2-step vs. 1-step process
page name is
created during
input, related to
input or not
important.
page name is created by user
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
2-step vs. 1-step process
{{#formlink:form=Book
|link text=Create a new book
|link type=button
|namespace=Books
|new window}}
{{{info|page name=B<unique
number start=000001>}}}
Special:FormEdit/Book
{{#forminput:form=Book}}
Help: one-step process
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
care for your dropdowns
(and users)
{{{field|Country|input
type=dropdown|values from
property=takes place in the
country}}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
care for your dropdowns
{{Countrylist}}
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
care for your users
• add placeholder text & tooltips
• use meaningful input type
• group long forms into sections
Help: tooltips
Help: input types
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
keep it all together
keep all corresponding pages (pages, forms,
templates, properties, categories in one
category for easy administraion
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
use #if to style your tables and
sideboxes
Help: #if parser function
SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki
WikiAhoi
www.wikiahoi.at
@WikiAhoi
Volles Wissen voraus!

More Related Content

Recently uploaded

AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
Google
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Nidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, TipsNidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, Tips
vrstrong314
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Game Development with Unity3D (Game Development lecture 3)
Game Development  with Unity3D (Game Development lecture 3)Game Development  with Unity3D (Game Development lecture 3)
Game Development with Unity3D (Game Development lecture 3)
abdulrafaychaudhry
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 

Recently uploaded (20)

AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Nidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, TipsNidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, Tips
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Game Development with Unity3D (Game Development lecture 3)
Game Development  with Unity3D (Game Development lecture 3)Game Development  with Unity3D (Game Development lecture 3)
Game Development with Unity3D (Game Development lecture 3)
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 

Featured

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Semantic Forms and Family – introductory tutorial

  • 1. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki SEMANTIC FORMS & FAMILY a story with a happy ending SMWCon Fall 2016 Tutorial Day
  • 2. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki A SEMANTIC FORM The Hero of the Story
  • 3. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki SEMANTIC FORMS • use with Semantic MediaWiki, Cargo or independently • add data via forms • style outputs with templates • documentation on mediawiki.org
  • 4. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki SEMANTIC FORMS üeasy data input and editing – no wikitext needed üidentical styling of printout üautomatic storage of properties üarraymap (& arraymaptemplate) Help: arraymap
  • 5. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki SEMANTIC FORMS Let‘s standardize display and creation of book pages!
  • 6. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A NEW FORM Get to know the classy family
  • 7. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki A FORM‘S FAMILY (= CLASS) template property form category
  • 8. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A NEW FORM • create with Special:CreateClass • create individually 1. properties & their data types 2. templates 3. forms 4. categories
  • 9. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A CLASS • create with Special:CreateClass • add field names, property names, data types, allowed values • job queue!
  • 10. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATECLASS • create with Special:CreateClass • add field names, property names, data types, allowed values • job queue!
  • 11. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki DATA STRUCTURE FIELD   NAME INPUT VALUE PROPERTY DATA  TYPE ALLOWED   VALUES Author Hermann   Hesse Has  author Page Publishing year 1974 Was   published in Year/Date YYYY
  • 12. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE INDIVIDUALLY • create individually 1. properties > Special:CreateProperty 2. templates > Special:CreateTemplate 3. forms > Special:CreateForm 4. categories > Special:CreateCategory Help: special pages
  • 13. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE INDIVIDUALLY • create individually 1. properties > Special:CreateProperty 2. templates > Special:CreateTemplate 3. forms > Special:CreateForm 4. categories > Special:CreateCategory
  • 14. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE • create individually 1. properties > Special:CreateProperty 2. templates > Special:CreateTemplate 3. forms > Special:CreateForm 4. categories > Special:CreateCategory
  • 15. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE
  • 16. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE Special:CreateTemplate
  • 17. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE • table, side infobox, plain text, sections
  • 18. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A TEMPLATE semantic storage & styling <noinclude>[[Category:Book form]]</noinclude>
  • 19. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki USE THE TEMPLATE
  • 20. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki USE THE TEMPLATE but that‘s tedious to write!
  • 21. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A FORM
  • 22. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki A SIMPLE FORM {{{for template|Book}}} {| class="formtable“ ! Author: | {{{field|Author|mandatory}}} |- ! Publisher: | {{{field|Publisher}}} |} {{{end template}}}
  • 23. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki CREATE A NEW FORM • create individually 1. properties > Special:CreateProperty 2. templates > Special:CreateTemplate 3. forms > Special:CreateForm 4. categories > Special:CreateCategory
  • 24. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki 1 form can fill 1 or more templates
  • 25. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki properties are taken from template
  • 26. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki extra parameters according to input type
  • 27. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki PARAMETERS • mandatory– * • restricted – only for admins • class • default value • preload content • size, rows/columns, maxlength, autogrow • placeholder • uploadable, default filename • values – set ofvalues: values from property, from category, from namespace, from concept, from url • list, delimiter • show on select (input type dropdown)
  • 28. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki missing the ”Edit with form” tab?
  • 29. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki Don’t forget the category: {{#default_form:Book}} • based on category, namespace or single page Help: the "edit with form" tab
  • 30. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki FORM:BOOK
  • 31. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki FORM:BOOK
  • 32. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki FORM:BOOK OK, but I want: • text area instead of text! • date instead of year! • a country dropdown field!
  • 33. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki FORM:BOOK So I make those changes: • {{{field|Title|mandatory|input type=text}}} • {{{field|Publishing year|input type=year}}} • {{{field|Publishing country|values from property=Has publishing country}}} • {{{field|Author|input type=combobox}}}
  • 34. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki THE FORM IN DETAIL
  • 35. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki A SIMPLE FORM {{{for template|Book}}} {| class="formtable“ ! Author: | {{{field|Author|mandatory}}} |- ! Publisher: | {{{field|Publisher}}} |} {{{end template}}} Help: defining forms
  • 36. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki „For TEMPLATE“ Tag {{{for template|Book}}} multiple label= for multiple instances display= table/spreadsheet add button text
  • 37. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki „Info“ Tag {{{info}}} {{{for template|Book}}} {| class="formtable“ ! Author: | {{{field|Author|mandatory}}} |- ! Publisher: | {{{field|Publisher}}} |} {{{end template}}}
  • 38. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki „Info“ Tag {{{info}}} partial form create title edit title query title page name= formula 1-step-process! onlyinclude free text
  • 39. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki „field“ Tag {{{field|Author}}} input type= hidden mandatory restricted default class property cargo table, cargo field list, delimiter holds template unique, unique for category/for namespace/for concept
  • 40. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki STANDARD INPUTS • {{{standard input|free text|rows=10}}} • {{{standard input|summary}}} • {{{standard input|minor edit}}} • {{{standard input|watch}}} • {{{standard input|save}}} • {{{standard input|preview}}} • {{{standard input|changes}}} • {{{standard input|cancel}}}
  • 41. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki INPUT TYPES
  • 42. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki INPUT TYPES text (with autocomplete) textarea (with autocomplete) combobox tokens radiobutton dropdown checkboxes listbox tree checkbox date datetime year datepicker openlayers, googlemaps regexp Help: input types
  • 43. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki TEXT & TEXTAREA with autocomplete
  • 44. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki COMBOBOX
  • 45. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki LISTBOX
  • 46. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki TOKENS
  • 47. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki DROPDOWN, CHECKBOXES, RADIOBUTTON
  • 48. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki DATEPICKER
  • 49. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki LINK TO THE NEW FORM • add links to forms (on startpage, in templates) – categories have default forms – links in sidebar and on pages – #formredlink Help: #formredlink
  • 50. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki BEST PRACTICES
  • 51. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki data structure DISPLAY TITLE FIELD INPUT   VALUE PROPERTY DATA  TYPE INPUT   TYPE Author Author Hermann   Hesse Has  author Page Text  with   autocompl ete Publishing   year Year 1974 Was   published in Year/Date Datetime/Y ear/Datepi cker
  • 52. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki name properties wisely • generic vs specific • thinking in sentences to make the direction clear • Capital vs. Is capital of / Has capital
  • 53. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki 2-step vs. 1-step process page name is created during input, related to input or not important. page name is created by user
  • 54. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki 2-step vs. 1-step process {{#formlink:form=Book |link text=Create a new book |link type=button |namespace=Books |new window}} {{{info|page name=B<unique number start=000001>}}} Special:FormEdit/Book {{#forminput:form=Book}} Help: one-step process
  • 55. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki care for your dropdowns (and users) {{{field|Country|input type=dropdown|values from property=takes place in the country}}}
  • 56. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki care for your dropdowns {{Countrylist}}
  • 57. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki care for your users • add placeholder text & tooltips • use meaningful input type • group long forms into sections Help: tooltips Help: input types
  • 58. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki keep it all together keep all corresponding pages (pages, forms, templates, properties, categories in one category for easy administraion
  • 59. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki use #if to style your tables and sideboxes Help: #if parser function
  • 60. SMWCon Fall 2016 in Frankfurt am Main | Tutorial Day |Sabine Melnicki WikiAhoi www.wikiahoi.at @WikiAhoi Volles Wissen voraus!