Difference between revisions of "Form:Object Property Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Generic Object Property" form.
+
This is the "Object 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=Object Property Definition|query string=namespace=ObjectProperty&={{PAGENAME}}}}
 
 
{{#forminput:form=Generic Object Property}}
 
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 11: Line 9:
  
 
<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 Object Property|label=new object property}}}
+
 
 +
{{{for template|Object 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}}}
 +
|-
 +
! Subproperty Of:
 +
| {{{field|Subproperty Of|input type=listbox|list|values from category=ObjectProperty}}}
 +
|-
 +
! Definition (textual definition in English):  
 +
| {{{field|Property Description|input type=textarea|mandatory|autogrow}}}
 +
|-
 +
! Required By Use Cases:
 +
| {{#ask:[[RequiresObjectProperty::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]]|format=list}}
 +
{{{field|Required by Use Cases|input type=listbox|values from category=UseCase|multiple}}}
 
|-
 
|-
! Property Description:  
+
! References interface specification(s):
| {{{field|Property Description|input type=textarea|mandatory}}}
+
| {{{field|Interface Specification References|input type=listbox|values from category=Specification|multiple}}}
 
|-
 
|-
! Term Status:  
+
! Sources:  
| {{{field|Term Status|input type=dropdown|mandatory|restricted|default=Proposed|values=Proposed, Pending Approval, Approved, Closed}}}
+
| {{{field|Sources|input type=textarea}}}
 
|-
 
|-
! Definition:  
+
! Definition Status:  
| {{{field|Definition| hidden}}}
+
| {{{field|Definition Status|input type=dropdown|mandatory|restricted|default=Proposed|values=Proposed, Pending Approval, Approved, Closed}}}
 
|-
 
|-
 
! Has SubObjectProperties:  
 
! Has SubObjectProperties:  
| {{{field| SubObjectProperty |hidden}}}
+
| {{{field| SubObjectProperties|input type=listbox|list|values from category=ObjectProperty}}}
 +
|}
 +
{{{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}}}
 
{{{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:EquivalentProperty,owl:inverseOf,owl:FunctionalProperty,owl:InverseFunctionalProperty,owl:TransitiveProperty,owl:SymmetricProperty,owl:AsymmetricProperty,owl:ReflexiveProperty,range,domain,inverseProperty,disjointWith,isInvariant,invariantProperty|mandatory}}}
 +
|-
 +
! Value:
 +
| {{{field|Value|input type=text}}}
 +
|}
 +
{{{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 "Object 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.