Difference between revisions of "Template:Object Property Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Object Property Definition
 
{{Object Property Definition
|Property Name=
+
|Subproperty Of=
 
|Property Description=
 
|Property Description=
 
|Required By Use Cases=
 
|Required By Use Cases=
|Term Status=
+
|Interface Specification References=
 
|Sources=
 
|Sources=
|Definition=
+
|Definition Status=
|SubObjectProperty=
+
|SubObjectProperties=
 
}}
 
}}
 
</pre>
 
</pre>
Line 17: Line 17:
 
{{lowercase}}
 
{{lowercase}}
 
{{#default_form:Object Property Definition}}
 
{{#default_form:Object Property Definition}}
==Property==
+
== Subproperty Of ==
{{{Property Name|}}}
+
{{#arraymap:{{{Subproperty Of|}}}|,|x|[[Owl:SubObjectPropertyOf::x]]}}
  
 
==Definition==
 
==Definition==
 
An English description of the definition (what distinguishes this sense of the term?).
 
An English description of the definition (what distinguishes this sense of the term?).
 
{{{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 class has been associated with the following interface specification items:
 +
{{#arraymap:{{{Interface Specification References|}}}|,|x|[[x]]}}
  
 
== Sources ==
 
== Sources ==
Line 31: Line 44:
 
[[Term status::{{{Term Status|}}}]]
 
[[Term status::{{{Term Status|}}}]]
  
== Required by Use Case(s) ==
+
== Has SubObjectProperties ==
(why is this specialized definition needed?)
+
{{#arraymap:{{{SubObjectProperties|}}}|,|x|[[-Owl:SubObjectPropertyOf::x]]}}
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
+
{{#forminput:form=Object_Property_Definition|query string=Object_Property_Definition[Subproperty Of]={{PAGENAME}}|button text=submit}}
{{#ask:[[RequiresObjectProperty::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]] |format=list}}
 
 
 
==SubObjectProperties==
 
{{#ask: [[Owl:SubObjectProperty::{{PAGENAME}}]]
 
|format=ul
 
|limit=50
 
|offset=0
 
|link=all
 
|sort=
 
|order=asc
 
|headers=show
 
|searchlabel=... further results
 
|propsep=,
 
|valuesep=,
 
}}
 
  
 
<!-- show option to propose subobject property if the generic property is pending approval or approved -->
 
<!-- show option to propose subobject property if the generic property is pending approval or approved -->
{{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }}
+
<!-- {{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }} -->
 
 
{{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }}
 
 
 
  
 +
<!-- {{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }} -->
  
 
[[Category:ObjectProperty]]
 
[[Category:ObjectProperty]]

Revision as of 20:53, 20 June 2021

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

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

Edit the page to see the template text.