Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "OpenSocial2 vocabulary"
(→Person attributes Not Used) |
(→Person attributes Not Used) |
||
Line 66: | Line 66: | ||
* 0..N turnOns | * 0..N turnOns | ||
− | ==== Person attributes Not Used ==== | + | ==== OS 2.0 Person attributes Not Used ==== |
+ | |||
+ | * accounts - see [[Proxy vocabulary]] | ||
+ | * addresses - use vcard:adr | ||
+ | * appData | ||
+ | * connected | ||
+ | * displayName - use skos:prefLabel | ||
+ | * emails - use foaf:mbox | ||
+ | * hasApp | ||
+ | * id - the URI of the Person is its id | ||
+ | * ims - use foaf:aimChatID, skypeChatID, etc. TODO: add qq, xmpp and gtalk to persona.owl | ||
+ | * location | ||
+ | * name - use vcard:n | ||
+ | * organizations - use vcard:org, but max of one per p:Person | ||
+ | * phoneNumbers - use vcard:tel, but max of one per p:Person | ||
+ | * photos | ||
+ | * preferredName | ||
+ | * profileURL | ||
+ | * relationships - use h:relation, h:correlation, h:indeterminate and sub-attributes | ||
+ | * tags | ||
+ | * thumbnailUrl - use vcard:logo | ||
+ | * urls - use foaf:page | ||
+ | |||
+ | Socially-oriented: | ||
* interests - use online-behavior:interest | * interests - use online-behavior:interest | ||
* age - compute/use vcard:bday or use fp:age | * age - compute/use vcard:bday or use fp:age |
Revision as of 17:19, 17 September 2011
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}RDF/OWL representation of the OpenSocial Social Data Specification 2.0. Approximately 600 triples from Benjamin Nowak's "opensocial.rdf" were imported from the 2008-12-16 version of his file as a great jump-start to creating this updated vocabulary. Part of the Persona Data Model 2.0.
Files
SVN source: opensocial2.owl
UML Overview
Classes
Message
See http://opensocial-resources.googlecode.com/svn/spec/trunk/Social-Data.xml#Message.
- 0..1 appUrl
- 0..1 body
- 0..1 id
- 0..1 senderId
- 1..1 messageStatus
- 1..1 timeSent
- 1..1 title
MessageStatusValues
Allowed values of messageStatus attribute.
- one of {"NEW" , "READ" , "DELETED"}
Organization
BodyType
p:Person
The following attributes are used by p:Person objects:
- 0..1 aboutMe
- 0..N activities
- 0..N books
- 0..N cars
- 0..1 drinker
- 0..1 ethnicity
- 0..1 fashion - Person's thoughts on fashion, specified as a string.
- 0..N food - Person's favorite food
- 0..1 happiestWhen
- 0..N heroes
- 0..1 humor
- 0..N jobInterests
- 0..N languagesSpoken - values are ISO 639-1 codes (e.g. "en" for English)
- 0..1 livingArrangement
- 0..1 lookingFor
- 0..1 networkPresence
- 0..N pets
- 0..1 politicalViews
- 0..N quotes
- 0..1 relationshipStatus - one of {"cohabiting" , "divorced" , "married" , "<unspecified>" , "other" , "separated" , "single" , "to be married" , "widowed"}
- 0..1 religion
- 0..1 romance
- 0..1 scaredOf
- 0..1 sexualOrientation
- 0..1 smoker
- 0..N sports
- 0..1 status
- 0..N tags
- 0..1 timeZone
- 0..N turnOffs
- 0..N turnOns
OS 2.0 Person attributes Not Used
- accounts - see Proxy vocabulary
- addresses - use vcard:adr
- appData
- connected
- displayName - use skos:prefLabel
- emails - use foaf:mbox
- hasApp
- id - the URI of the Person is its id
- ims - use foaf:aimChatID, skypeChatID, etc. TODO: add qq, xmpp and gtalk to persona.owl
- location
- name - use vcard:n
- organizations - use vcard:org, but max of one per p:Person
- phoneNumbers - use vcard:tel, but max of one per p:Person
- photos
- preferredName
- profileURL
- relationships - use h:relation, h:correlation, h:indeterminate and sub-attributes
- tags
- thumbnailUrl - use vcard:logo
- urls - use foaf:page
Socially-oriented:
- interests - use online-behavior:interest
- age - compute/use vcard:bday or use fp:age
- addresses - use vcard:adr
- children (single string) - use p:child
- currentAddress - use vcard:Pref
- dateOfBirth - use vcard:bday
- gender - use foaf:gender
- hasApp - n/a
- id - n/a
- latitude - use fp:latitude
- locality - use vcard:locality
- longitude - use fp:longitude
- movies - use media:TBD
- name - use vcard:full-name
- nickname - use card:nickname
- phoneNumbers - use vcard:tel
- profileSong - use media:TBD
- profileUrl - use media:TBD
- profileVideo - use media:TBD
- relationshipStatus - use p:relationshipStatus instead
- tags - n/a
- thumbnailUrl - use foaf:thumbnail
- address - use vcard:adr
BodyType
- 0..1 build
- 0..1 eyeColor
- 0..1 hairColor
- 0..1 height
- 0..1 weight
Organization
- 0..1 name
- 0..1 title
- 0..1 description
- 0..1 field
- 0..1 subField
- 0..1 webPage
MediaItem
OpenSocial 1.0/2.0 Classes Not Used
- Person - use p:Person
- Name - use vcard:Name
- givenName, familyName, etc.
- Phone - use vcard:Tel
- number
- Address - use vcard:Address
- streetAddress, locality, country ...
Message Attributes
appUrl
Identifies the application that generated this message.
- domain: Message
- value: xsd:anyURI
senderId
Id of entity (person or organization) who sent the message. If this is an email message, then sender id is the sender's email address (e.g. foo@boo.com).
- domain: Message
- value: xsd:string
senderLabel
Human friendly name of sender. E.g. Tom Carroll vs. tcarroll@azigo.com
- domain: Message
- value: xsd:string
messageStatus
Status of the message. (NEW, READ, DELETED).
- domain: Message
- value: MessageStatusValues
timeReceived
UTC time message was received.
- domain: Message
- value: xsd:dateTime
timeSent
UTC time message was sent.
- domain: Message
- value: xsd:dateTime
title
The title of the Activity, Message or Organization. HTML attributes are allowed and are sanitized by the container.
- domain: Message
- value: xsd:string
OpenSocial 2.0 Message attributes not used
- bodyId
- collectionIds
- inReplyTo
- recipients
- replies
- titleId - The title of the message as a message template. Specifies the message ID to use in the gadget xml.
- type
- updated
- urls - List of related URLs for this message. Supported URL types include 'alternate', alternate for for this mailbox (text/html being the most common).