Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Test-person Example Context Ontology"

(Instance Data)
Line 1: Line 1:
 
''Note: The following example conforms to higgins.owl version 1.2''
 
''Note: The following example conforms to higgins.owl version 1.2''
  
Here [http://spwiki.editme.com/Person0-5-1 Person0.5.1] is an ontology that defines a Person class with eyeColor and homePhone attributes. Graphically:<br>
+
http://www.eclipse.org/higgins/ontologies/2006/test-person.owl is an ontology that defines a Person class with eyeColor and homePhone attributes.  
[[Image:Person0.5.1.JPG]]
+
  
 
==Instance Data==
 
==Instance Data==

Revision as of 16:51, 29 September 2006

Note: The following example conforms to higgins.owl version 1.2

http://www.eclipse.org/higgins/ontologies/2006/test-person.owl is an ontology that defines a Person class with eyeColor and homePhone attributes.

Instance Data

Here is an example of a Person named Mary whose phone number is 555-1212 and whose eye color (as sourced by the RMV in Colorado) is blue:

<person:Person rdf:about="urn:Mary">
 <person:homePhone rdf:resource="urn:phoneNumber1"/>
 <person:eyeColor rdf:resource="urn:color1"/>
</person:Person>
<higgins:NormalizedStringSimpleAttribute rdf:about="urn:color1">
 <higgins:normalizedStringSimpleValue rdf:datatype="http://www.w3.org/2001/XMLSchema#normalizedString">blue</higgins:normalizedStringSimpleValue>
 <higgins:source>
  <higgins:SubjectRelationship rdf:about="urn:subjectRelationship1">
   <higgins:contextURI>http://www.colorado.gov/rmv</higgins:contextURI>
   <higgins:subjectCUID>23-523-523-5-66</higgins:subjectCUID>
  </higgins:SubjectRelationship>
 </higgins:source>
</higgins:NormalizedStringSimpleAttribute>
<higgins:NormalizedStringSimpleAttribute rdf:about="urn:phoneNumber1">
 <higgins:normalizedStringSimpleValue rdf:datatype="http://www.w3.org/2001/XMLSchema#normalizedString">555-1212</higgins:normalizedStringSimpleValue>
</higgins:NormalizedStringSimpleAttribute>

Or graphically:
Test-person-instances-1.2.JPG

Back to the top