Difference between revisions of "Template:ObjectProperty"

From DBpedia Mappings
Jump to: navigation, search
Line 11: Line 11:
 
| {{#if:{{{rdfs:range|}}}|[[OntologyClass:{{{rdfs:range}}}]]|owl:Thing}}
 
| {{#if:{{{rdfs:range|}}}|[[OntologyClass:{{{rdfs:range}}}]]|owl:Thing}}
 
|}</includeonly>
 
|}</includeonly>
<noinclude>'''<nowiki>{{ObjectProperty}}</nowiki>'''
+
<noinclude>
 +
The '''<nowiki>{{ObjectProperty}}</nowiki>''' template can be used to define ontology object properties.
  
 
=== Usage ===
 
=== Usage ===
Line 17: Line 18:
 
<pre>
 
<pre>
 
{{ObjectProperty
 
{{ObjectProperty
| rdfs:label =
+
| rdfs:label   =
| rdfs:domain =
+
| rdfs:comment =
| rdfs:range =
+
| rdfs:domain =
 +
| rdfs:range   =
 
}}
 
}}
 
</pre>
 
</pre>
Line 28: Line 30:
 
<pre>
 
<pre>
 
{{ObjectProperty
 
{{ObjectProperty
| rdfs:label = doctoral advisor
+
| rdfs:label   = doctoral advisor
| rdfs:domain = Scientist
+
| rdfs:comment =
| rdfs:range = Person
+
| rdfs:domain = Scientist
 +
| rdfs:range   = Person
 
}}
 
}}
 
</pre>
 
</pre>
  
 
{{ObjectProperty
 
{{ObjectProperty
| rdfs:label = doctoral advisor
+
| rdfs:label   = doctoral advisor
| rdfs:domain = Scientist
+
| rdfs:domain = Scientist
| rdfs:range = Person
+
| rdfs:range   = Person
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 13:27, 5 March 2010


The {{ObjectProperty}} template can be used to define ontology object properties.

Usage

{{ObjectProperty
| rdfs:label   =
| rdfs:comment =
| rdfs:domain  =
| rdfs:range   =
}}

Example

The definition of the DBpedia ontology property doctoralAdvisor:

{{ObjectProperty
| rdfs:label   = doctoral advisor
| rdfs:comment =
| rdfs:domain  = Scientist
| rdfs:range   = Person
}}

This is the definition of an ontology property.

Read more about editing the ontology schema.

You can see the result of your edit on DBpedia Live (this is BETA!).

Ontology object property (help)
please define an English label: labels = {{label|en|...}} ...
rdfs:domain Scientist
rdfs:range Person
rdf:type
rdfs:subPropertyOf
owl:equivalentProperty
owl:propertyDisjointWith