Difference between revisions of "Template:Data Property Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Data Property Definition
 
{{Data Property Definition
|Property Name=
+
|Subproperty Of=
 
|Property Description=
 
|Property Description=
 
|Required By Use Cases=
 
|Required By Use Cases=
|Term Status=
+
|Interface Specification References=
|Definition=
+
|Sources=
 +
|Definition Status=
 
|SubDataProperty=
 
|SubDataProperty=
 
}}
 
}}
Line 16: Line 17:
 
{{lowercase}}
 
{{lowercase}}
 
{{#default_form:Data Property Definition}}
 
{{#default_form:Data Property Definition}}
==Name==
+
== Subproperty Of ==
{{{Property Name|}}}
+
{{#arraymap:{{{Subproperty Of|}}}|,|x|[[Owl:SubDataPropertyOf::x]]}}
  
==Description==
+
==Definition==
 +
An English description of the definition (what distinguishes this sense of the term?).
 
{{{Property Description|}}}
 
{{{Property Description|}}}
  
Line 27: Line 29:
 
{{#ask:[[RequiresDataProperty::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]]|format=list}}
 
{{#ask:[[RequiresDataProperty::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]]|format=list}}
  
==Status==
+
== CDM References ==
[[Term status::{{{Term Status|}}}]]
+
What other classes or properties reference this term?
 +
{{Special:WhatLinksHere/{{PAGENAME}}}}
  
==Definition==
+
== Interface Specification References ==
{{{Definition|}}}
+
This class has been associated with the following interface specification items:
 +
{{#arraymap:{{{Interface Specification References|}}}|,|x|[[x]]}}
  
==SubDataProperties==
+
== Sources ==
{{#ask: [[Owl:SubDataProperty::{{PAGENAME}}]]
+
Sources considered when developing the property.
|format=ul
+
{{{Sources|}}}
|limit=50
 
|offset=0
 
|link=all
 
|sort=
 
|order=asc
 
|headers=show
 
|searchlabel=... further results
 
|propsep=,
 
|valuesep=,
 
}}
 
  
<!-- show option to propose subdata property if the generic property is pending approval or approved -->
+
==Status==
{{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=SubDataProperty_Definition|query string=SubDataProperty_Definition[SubDataProperty Of]={{PAGENAME}}|button text=submit}} | }}
+
[[Term status::{{{Definition Status|}}}]]
  
{{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=SubDataProperty_Definition|query string=SubDataProperty_Definition[SubDataProperty Of]={{PAGENAME}}|button text=submit}} | }}
+
== Has SubDataProperties ==
 +
{{#arraymap:{{{SubDataProperty|}}}|,|x|[[-Owl:SubDataPropertyOf::x]]}}
 +
{{#forminput:form=Data_Property_Definition|query string=Data_Property_Definition[Subproperty Of]={{PAGENAME}}|button text=submit}}
  
 
[[Category:DataProperty]]
 
[[Category:DataProperty]]
 
[[Category:CDM_Term]]
 
[[Category:CDM_Term]]
<comments />
 
  
 
</includeonly>
 
</includeonly>

Revision as of 23:51, 20 June 2021

This is the "Data Property Definition" template. It should be called in the following format:

{{Data Property Definition
|Subproperty Of=
|Property Description=
|Required By Use Cases=
|Interface Specification References=
|Sources=
|Definition Status=
|SubDataProperty=
}}

Edit the page to see the template text.