Difference between revisions of "Form:Data Property Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Generic Data Property" form.
+
This is the "Data Property Definition" form.
 
To create a page with this form, enter the page name below;
 
To create a page with this form, enter the page name below;
 
if a page with that name already exists, you will be sent to a form to edit that page.
 
if a page with that name already exists, you will be sent to a form to edit that page.
  
  
{{#forminput:form=Generic Data Property}}
+
{{#forminput:form=Data Property Definition|query string=namespace=DataProperty&={{PAGENAME}}}}
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 11: Line 11:
  
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Generic Data Property}}}
+
{{{for template|Data Property Definition}}}
 
{| class="formtable"
 
{| class="formtable"
! Property Name:  
+
! Pattern:  
| {{{field|Property Name|mandatory|restricted|default={{PAGENAME}}}}}
+
| {{{field|Pattern|input type=listbox|list|values from category=Pattern}}}
 
|-
 
|-
! Property Description:  
+
! Subproperty Of:  
| {{{field|Property Description|input type=textarea|mandatory}}}
+
| {{{field|Subproperty Of|input type=listbox|list|values from category=DataProperty}}}
 
|-
 
|-
! Term Status:  
+
! Definition (textual definition in English):  
| {{{field|Term Status|input type=dropdown|mandatory|restricted|default=Proposed|values=Proposed, Pending Approval, Approved, Closed}}}
+
| {{{field|Property Description|input type=textarea|mandatory|autogrow}}}
 
|-
 
|-
! Definition:  
+
! Required By Use Cases:
| {{{field|Definition| hidden}}}
+
| {{#ask:[[RequiresDataProperty::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]]|format=list}}
 +
{{{field|Required by Use Cases|input type=listbox|values from category=UseCase|multiple}}}
 +
|-
 +
! References interface specification(s):
 +
| {{{field|Interface Specification References|input type=listbox|values from category=Specification|multiple}}}
 +
|-
 +
! Sources:
 +
| {{{field|Sources|input type=textarea}}}
 +
|-
 +
! Definition Status:  
 +
| {{{field|Definition Status|input type=dropdown|mandatory|restricted|default=Proposed|values=Proposed, Pending Approval, Approved, Closed}}}
 
|-
 
|-
 
! Has SubDataProperties:  
 
! Has SubDataProperties:  
| {{{field| SubDataProperty |hidden}}}
+
| {{{field| SubDataProperty|input type=listbox|list|values from category=DataProperty}}}
 +
|}
 +
{{{end template}}}
 +
 
 +
<!-- example of an embedded template to create a tabular listing for repeated fields -->
 +
{{{for template|Annotation Specification|label=Annotation Specification}}}
 +
{{{field|Annotation Row|holds template}}}
 +
{{{end template}}}
 +
{{{for template|Annotation Row|multiple|label=Annotations|embed in field=Annotation Specification[Annotation Row]}}}
 +
{| class="formtable"
 +
! Annotation:
 +
| {{{field|Annotation|input type=dropdown|values=rdfs:comment,rdfs:label,rdfs:seeAlso,rdfs:isDefinedBy|1}}}
 +
|-
 +
! Value:
 +
| {{{field|Value|input type=text|2}}}
 +
|}
 +
{{{end template}}}
 +
 
 +
{{{for template|Property Specification|label=Property Specification}}}
 +
{{{field|Property Row|holds template}}}
 +
{{{end template}}}
 +
{{{for template|Property Row|multiple|label=Property Assertions|embed in field=Property Specification[Property Row]}}}
 +
{| class="formtable"
 +
! Characteristic:
 +
| {{{field|Characteristic|input type=dropdown|values=owl:FunctionalProperty,owl:EquivalentProperty|mandatory}}}
 +
|-
 +
! Value:
 +
| {{{field|Value|input type=text}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}
  
 +
{{{for template|Supplementary Figures|label=Supplementary Figure(s)}}}
 +
{{{field|Figure Row|holds template}}}
 +
{{{end template}}}
 +
{{{for template|Figure Row|label=Figure|multiple|embed in field=Supplementary Figures[Figure Row]}}}
 +
{| class="formtable"
 +
! Figure:
 +
| {{{field|Figure|uploadable}}}
 +
|-
 +
! Caption:
 +
| {{{field|Caption|input type=text}}}
 +
|}
 +
{{{end template}}}
  
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
</includeonly>
 
</includeonly>

Latest revision as of 12:21, 18 July 2022

This is the "Data Property Definition" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.