SlideShare une entreprise Scribd logo
1  sur  60
Télécharger pour lire hors ligne
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!

Contenu connexe

Dernier

英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 

Dernier (20)

英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 

En vedette

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 2024Neil 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 2024Albert 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 InsightsKurio // 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 2024Search 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 summarySpeakerHub
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit 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 managementMindGenius
 
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 WorkGetSmarter
 
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
 

En vedette (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!