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.
Difference between revisions of "Test-person Example Context Ontology"
Line 2: | Line 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> | 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> | ||
− | [[Image:Person0.5. | + | [[Image:Person0.5.1.JPG]] |
==Instance Data== | ==Instance Data== | ||
Line 10: | Line 10: | ||
<person:eyeColor rdf:resource="urn:color1"/> | <person:eyeColor rdf:resource="urn:color1"/> | ||
</person:Person> | </person:Person> | ||
− | |||
<higgins:StringDatatypeAttribute rdf:about="urn:color1"> | <higgins:StringDatatypeAttribute rdf:about="urn:color1"> | ||
<higgins:stringDatatypeValue>blue</higgins:stringDatatypeValue> | <higgins:stringDatatypeValue>blue</higgins:stringDatatypeValue> | ||
Line 20: | Line 19: | ||
</higgins:source> | </higgins:source> | ||
</higgins:StringDatatypeAttribute> | </higgins:StringDatatypeAttribute> | ||
− | |||
<higgins:StringDatatypeAttribute rdf:about="urn:phoneNumber1"> | <higgins:StringDatatypeAttribute rdf:about="urn:phoneNumber1"> | ||
<higgins:stringDatatypeValue>555-1212</higgins:stringDatatypeValue> | <higgins:stringDatatypeValue>555-1212</higgins:stringDatatypeValue> |
Revision as of 04:49, 12 September 2006
Note: The following example conforms to higgins.owl version 0.5.5
Here Person0.5.1 is an ontology that defines a Person class with eyeColor and homePhone attributes. Graphically:
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:StringDatatypeAttribute rdf:about="urn:color1"> <higgins:stringDatatypeValue>blue</higgins:stringDatatypeValue> <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:StringDatatypeAttribute> <higgins:StringDatatypeAttribute rdf:about="urn:phoneNumber1"> <higgins:stringDatatypeValue>555-1212</higgins:stringDatatypeValue> </higgins:StringDatatypeAttribute>