Difference between revisions of "Template:Object Property Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Generic Object Property" template.
+
This is the "Object Property Definition" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Generic Object Property
+
{{Object Property Definition
|Property Name=
+
|Pattern=
 +
|Subproperty Of=
 
|Property Description=
 
|Property Description=
|Term Status=
+
|Required By Use Cases=
|Definition=
+
|Interface Specification References=
|SubObjectProperty=
+
|Sources=
 +
|Definition Status=
 +
|SubObjectProperties=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
==Property==
+
{{lowercase}}
{{{Property Name|}}}
+
{{#default_form:Object Property Definition}}
 +
 
 +
== Pattern ==
 +
This property has been associated with the following pattern:
 +
{{#arraymap:{{{Pattern|}}}|,|x|[[x]]}}
 +
 
 +
== Subproperty Of ==
 +
{{#arraymap:{{{Subproperty Of|}}}|,|x|[[Owl:SubObjectPropertyOf::x]]}}
 +
 
 +
==Definition==
 +
An English description of the definition (what distinguishes this sense of the term?).
  
==Description==
 
 
{{{Property Description|}}}
 
{{{Property Description|}}}
 +
 +
== Required by Use Case(s) ==
 +
(why is this specialized definition needed?)
 +
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
 +
{{#ask:[[RequiresObjectProperty::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]] |format=list}}
 +
 +
== CDM References ==
 +
What other classes or properties reference this term?
 +
{{Special:WhatLinksHere/{{PAGENAME}}}}
 +
 +
== Interface Specification References ==
 +
This property has been associated with the following interface specification items:
 +
{{#arraymap:{{{Interface Specification References|}}}|,|x|[[x]]}}
 +
 +
== Sources ==
 +
Sources considered when developing the property.
 +
{{{Sources|}}}
  
 
==Status==
 
==Status==
| [[Term status::{{{Term Status|}}}]]
+
[[Term status::{{{Definition Status|}}}]]
 +
 
 +
== Has SubObjectProperties ==
 +
{{#arraymap:{{{SubObjectProperties|}}}|,|x|[[-Owl:SubObjectPropertyOf::x]]}}
 +
{{#forminput:form=Object_Property_Definition|query string=Object_Property_Definition[Subproperty Of]={{PAGENAME}}|button text=submit}}
  
==Definition==
+
<!-- show option to propose subobject property if the generic property is pending approval or approved -->
{{{Definition|}}}
+
<!-- {{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }} -->
  
==SubObjectProperties==
+
<!-- {{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }} -->
{{#ask: [[Owl:SubObjectProperty::{{PAGENAME}}]]
 
|format=ul
 
|limit=50
 
|offset=0
 
|link=all
 
|sort=
 
|order=asc
 
|headers=show
 
|searchlabel=... further results
 
|propsep=,
 
|valuesep=,
 
}}
 
{{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}}
 
  
 
[[Category:ObjectProperty]]
 
[[Category:ObjectProperty]]
<comments />
+
[[Category:CDM_Term]]
 +
 
 
</includeonly>
 
</includeonly>

Latest revision as of 16:39, 15 July 2022

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

{{Object Property Definition
|Pattern=
|Subproperty Of=
|Property Description=
|Required By Use Cases=
|Interface Specification References=
|Sources=
|Definition Status=
|SubObjectProperties=
}}

Edit the page to see the template text.